Commit efcf9ba
authored
Publish Dialog - Generate Script and Publish project to the database functionality (#20436)
* intial changes to load empty dialog
* UI intial changes
* advanced options added
* basic UI final changes
* UI changes with formwebviewcontroller
* Basic UI final changes
* removed Advanced related changes from the current set
* converting const to static class
* localized files
* copilot comments adjusted
* using new webview provider
* updating the code
* Adding publish dialog basic test file
* adding target field changes
* revert service instnace update and add loc fiels
* addressing code review comments
* adding tests that covers the target field
* copilot review updates
* little refactoring
* updating the variable name
* addressing code review comments
* updating LOC and fixing test
* merging the base pr changes and little bit of refactoring
* confirm password validation with both pwd fields
* addressing code review comments
* undo double wrapping
* rebase on intial setup PR with modification
* loc updates
* adding tests
* checkbox alignment
* adding main controller test to validate publish proj call
* LOC update
* fixing the issues caused due to resolve conflicts
* fixing tests
* refactoring
* fixing build errors
* moving to utils and constants
* removing multi tests and adding clear comments for the methods
* renaming profileName to publishprofileName for clear understanding
* refactoring for options
* intial commit to add select publish profile reducer that opens and selects the profile and updates the state
* moving parseHtmlLabel method to react view utils file
* save profile onclick and saving the xml, without connectionstring
* format updates and save button logic update
* adding tests for select and save profile
* Using required constants throught the shared interfaces.
* adding telemetry
* exclude options are default to empty, add upon selection
* reading publish.xml on selct profile
* removing unsed method
* Final changes for the profile section
* LOC missing changes addding back
* adding icon and disabling server input
* connection work
* LOC
* adding conneciton string to the state and saving in profile
* copilot review updates
* reverting sqlprojservice to optional
* combobox style fixes
* saving selected DB
* adding tests
* preserving database options and value on target switch
* fixing the stabilize conneciton switching issue
* adding placeholder
* LOC
* making conn string empty for container
* addressing copilot code suggestions
* advanced drawer initial implementation
* Loc
* using onsuccessfulconneciton responce
* Loc
* removing dockerUtils file
* update read sqlcmd variabled from profile using the xmlDom parser
* typo updates and guard check added
* connection null check
* optimizing the validation logic
* fixing the duplicate afterSetFormProperty methods
* ignore option group added
* LOC
* moving method to Utils
* logging when database connection fails
* handle new connection details updates
* test fixes
* all are done except update profile and save profile changes with options and few tests
* removed unnecessary advancedgroup options state
* test updates
* fixing the reset button and refactoring the comments
* final changes
* removing additional div element that disturbs the alignment
* cleanup
* final refactoring
* test fix and redundant state update removed
* updates and loc
* genScript and pub initial changes
* loc
* genscript done, publish and refactor to test
* publish works and test
* final changes
* validating and fixing tests
* comment updates
* fixing the api tests failing due to misusing of import
* fixing the legacy project build scenario with buildDirectorypath
* addressing review comments1 parent 8846f47 commit efcf9ba
File tree
11 files changed
+853
-21
lines changed- localization
- l10n
- xliff
- src
- constants
- controllers
- publishProject
- test/unit
11 files changed
+853
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1518 | 1521 | | |
1519 | 1522 | | |
1520 | 1523 | | |
| |||
1532 | 1535 | | |
1533 | 1536 | | |
1534 | 1537 | | |
| 1538 | + | |
1535 | 1539 | | |
1536 | 1540 | | |
1537 | 1541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
370 | 379 | | |
371 | 380 | | |
372 | 381 | | |
| |||
2667 | 2676 | | |
2668 | 2677 | | |
2669 | 2678 | | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
2670 | 2682 | | |
2671 | 2683 | | |
2672 | 2684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1355 | 1364 | | |
1356 | 1365 | | |
1357 | 1366 | | |
| |||
1383 | 1392 | | |
1384 | 1393 | | |
1385 | 1394 | | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
1386 | 1398 | | |
1387 | 1399 | | |
1388 | 1400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
117 | 131 | | |
118 | 132 | | |
119 | 133 | | |
| 134 | + | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
| |||
0 commit comments