Commit f4b70b0
committed
feat(settings+vercel): route & UX fixes
Redirect project settings to the general settings route
- Replace v3ProjectSettingsPath with v3ProjectSettingsGeneralPath in
org project settings loader so users land on the correct general
settings page after selecting an environment.
Add integrations settings route for Vercel onboarding flows
- Swap v3ProjectSettingsPath for v3ProjectSettingsIntegrationsPath in
VercelOnboardingModal imports to point onboarding actions at the
integrations-specific settings route.
Improve VercelOnboardingModal behavior and telemetry
- Introduce origin variable and use it to derive fromMarketplaceContext
for clearer intent.
- Add optional vercelManageAccessUrl prop to allow rendering a manage
access link when present.
- Track a "vercel onboarding github step viewed" event with extra
context (origin, step, org/project slugs, GH app installation state)
and include capture and identifiers in the effect dependencies.
- Prevent dialog from closing when interacting outside by handling
onInteractOutside to stop accidental dismissals.
- Start introducing rendering for a "Manage access" link next to the
Connect Project button when vercelManageAccessUrl exists and no
origin query param is present.
Misc
- Update effect dependency array to include newly referenced values
(capture, organizationSlug, projectSlug, gitHubAppInstallations.length)
to satisfy hooks correctness.1 parent 6765252 commit f4b70b0
File tree
20 files changed
+1081
-781
lines changed- apps/webapp/app
- components
- integrations
- models
- presenters/v3
- routes
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments.$deploymentParam
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings.general
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings.integrations
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings
- utils
- v3/vercel
20 files changed
+1081
-781
lines changed| 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 | + | |
Lines changed: 39 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
125 | | - | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
543 | 546 | | |
544 | 547 | | |
545 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
546 | 556 | | |
547 | | - | |
| 557 | + | |
548 | 558 | | |
549 | 559 | | |
550 | 560 | | |
| |||
639 | 649 | | |
640 | 650 | | |
641 | 651 | | |
642 | | - | |
| 652 | + | |
643 | 653 | | |
644 | 654 | | |
645 | 655 | | |
| |||
727 | 737 | | |
728 | 738 | | |
729 | 739 | | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
738 | 759 | | |
739 | 760 | | |
740 | 761 | | |
| |||
813 | 834 | | |
814 | 835 | | |
815 | 836 | | |
| 837 | + | |
816 | 838 | | |
817 | 839 | | |
818 | 840 | | |
| |||
1057 | 1079 | | |
1058 | 1080 | | |
1059 | 1081 | | |
1060 | | - | |
| 1082 | + | |
1061 | 1083 | | |
1062 | 1084 | | |
1063 | 1085 | | |
| |||
1081 | 1103 | | |
1082 | 1104 | | |
1083 | 1105 | | |
| 1106 | + | |
1084 | 1107 | | |
1085 | 1108 | | |
1086 | 1109 | | |
| |||
1110 | 1133 | | |
1111 | 1134 | | |
1112 | 1135 | | |
| 1136 | + | |
1113 | 1137 | | |
1114 | 1138 | | |
1115 | 1139 | | |
| |||
1123 | 1147 | | |
1124 | 1148 | | |
1125 | 1149 | | |
| 1150 | + | |
1126 | 1151 | | |
1127 | 1152 | | |
1128 | 1153 | | |
| |||
1141 | 1166 | | |
1142 | 1167 | | |
1143 | 1168 | | |
| 1169 | + | |
1144 | 1170 | | |
1145 | 1171 | | |
1146 | 1172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
592 | 606 | | |
593 | | - | |
| 607 | + | |
594 | 608 | | |
595 | 609 | | |
596 | 610 | | |
597 | | - | |
598 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
599 | 622 | | |
600 | 623 | | |
601 | 624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
978 | 985 | | |
979 | 986 | | |
980 | 987 | | |
| |||
1526 | 1533 | | |
1527 | 1534 | | |
1528 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1529 | 1565 | | |
1530 | 1566 | | |
1531 | 1567 | | |
| |||
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
235 | | - | |
236 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
237 | 243 | | |
238 | 244 | | |
239 | 245 | | |
| |||
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
164 | 210 | | |
165 | 211 | | |
166 | 212 | | |
| |||
227 | 273 | | |
228 | 274 | | |
229 | 275 | | |
| 276 | + | |
230 | 277 | | |
231 | 278 | | |
232 | 279 | | |
| |||
0 commit comments