Commit d487f32
authored
Simplify URL params for launching VS Code Web (#1490)
* Refactor schema and URL handling in tests
- 🔧 Updated test cases in `schemaHelperUtil.test.ts` to use `ORG_ID` instead of schema version.
- 🔄 Modified `urlBuilderUtil.test.ts` to correct the mapping of fetch query parameters.
- 🧹 Cleaned up `webExtensionTelemetry.test.ts` by removing unused query parameters.
- 🚀 Removed the `isMultifileEnabled` function from `commonUtil.ts`.
- 🔄 Refactored `folderHelperUtility.ts` to use `orgUrl` directly from `WebExtensionContext`.
- 🔄 Adjusted `schemaHelperUtil.ts` to simplify fetch query retrieval logic.
- 🔄 Updated `urlBuilderUtil.ts` to use `websiteId` directly from `WebExtensionContext`.
- 🔄 Changed `NPSWebView.ts` to retrieve `tenantId` directly from `WebExtensionContext`.
-Priyanshu
* Refactor remoteFetchProvider tests for clarity
- 🔧 Updated comments for clarity on function calls
- 🐛 Changed fetchDataFromDataverseAndUpdateVFS to include entity parameters
- 🔄 Replaced fetch stubs with concurrencyHandler stubs for consistency
- ✨ Initialized WebExtensionContext properties in tests
-Priyanshu
* Add WEBSITE_ID parameter and update related logic
- ✨ Introduced WEBSITE_ID to queryParameters enum.
- 🔄 Updated errorHandler to check for WEBSITE_ID instead of PORTAL_ID.
- 🧪 Added tests to validate behavior when WEBSITE_ID is present or missing.
-Priyanshu
* Add message for multiple websites selection
- ✨ Added a new message for when multiple websites are found, prompting the user to select one.
-Priyanshu1 parent 3f20d10 commit d487f32
27 files changed
Lines changed: 809 additions & 882 deletions
File tree
- l10n
- loc/translations-export
- src
- common
- OneDSLoggerTelemetry/web/client
- ecs-features
- services
- web/client
- common
- dal
- schema
- services
- telemetry
- test/integration
- utilities
- webViews
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
602 | 608 | | |
603 | 609 | | |
604 | 610 | | |
| |||
796 | 802 | | |
797 | 803 | | |
798 | 804 | | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
799 | 808 | | |
800 | 809 | | |
801 | 810 | | |
| |||
1297 | 1306 | | |
1298 | 1307 | | |
1299 | 1308 | | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
1300 | 1315 | | |
1301 | 1316 | | |
1302 | 1317 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
80 | | - | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
85 | | - | |
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 9 | | |
20 | 10 | | |
21 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
0 commit comments