Commit 5010686
committed
refactor(ui): switch ConfigureSSO to layered wizard architecture
Wires the new ConfigureSSO surface into the layered components shipped
in the previous commits:
- ConfigureSSO.tsx adopts the new shape — Flow.Part wrap inside
Flow.Root for convention parity with OrganizationProfile, an initial
load gate at the root that returns a centered spinner inside
ConfigureSSOLayout, and a FooterActionsProvider wrap around the
layout. The inline ProfileCard / NavBar / Col chrome moves out;
ConfigureSSOLayout owns it now.
- ConfigureSSOSteps switches its wizard imports from the old wizard/
folder to the new elements/Wizard/ primitive. The declarative step
tree shape is preserved.
- isLoading is lifted out of ConfigureSSOFlowContext and out of the
wizard's context value. The root-level gate handles initial loading;
subsequent re-fetches no longer flip the wizard into a loading state
in context. ConfigureSSOFooter drops the isLoading-driven disable.
- The Wizard primitive no longer imports useConfigureSSOFlow — it's a
fully generic primitive at the navigation layer now.
- The unused legacy wizard folder also drops its isLoading reads
(spinner branch in Body, skeleton in Header, force-disable in
Footer) so the typechecker stays clean while it sits on disk.
The old wizard/ folder is unused after this commit but stays on disk
for a final cleanup commit.1 parent 8172b22 commit 5010686
7 files changed
Lines changed: 130 additions & 290 deletions
File tree
- packages/ui/src/components/ConfigureSSO
- elements/Wizard
- wizard
Lines changed: 63 additions & 141 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 32 | + | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
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 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
115 | 44 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
125 | 65 | | |
126 | 66 | | |
127 | 67 | | |
| |||
131 | 71 | | |
132 | 72 | | |
133 | 73 | | |
134 | | - | |
135 | | - | |
| 74 | + | |
| 75 | + | |
136 | 76 | | |
137 | 77 | | |
138 | 78 | | |
139 | 79 | | |
140 | | - | |
| 80 | + | |
141 | 81 | | |
142 | | - | |
| 82 | + | |
143 | 83 | | |
144 | 84 | | |
145 | 85 | | |
146 | 86 | | |
147 | | - | |
| 87 | + | |
148 | 88 | | |
149 | | - | |
| 89 | + | |
150 | 90 | | |
151 | 91 | | |
152 | 92 | | |
153 | 93 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
158 | 98 | | |
159 | 99 | | |
160 | 100 | | |
161 | 101 | | |
162 | | - | |
| 102 | + | |
163 | 103 | | |
164 | | - | |
| 104 | + | |
165 | 105 | | |
166 | 106 | | |
167 | 107 | | |
168 | 108 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
173 | 113 | | |
174 | 114 | | |
175 | 115 | | |
176 | 116 | | |
177 | 117 | | |
178 | | - | |
179 | | - | |
| 118 | + | |
| 119 | + | |
180 | 120 | | |
181 | 121 | | |
182 | 122 | | |
183 | 123 | | |
184 | 124 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 125 | + | |
| 126 | + | |
205 | 127 | | |
206 | 128 | | |
207 | 129 | | |
| |||
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 14 | | |
23 | 15 | | |
24 | | - | |
25 | 16 | | |
26 | 17 | | |
27 | | - | |
| 18 | + | |
28 | 19 | | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
32 | | - | |
33 | 23 | | |
34 | 24 | | |
35 | | - | |
| 25 | + | |
36 | 26 | | |
37 | 27 | | |
38 | | - | |
39 | 28 | | |
40 | | - | |
| 29 | + | |
41 | 30 | | |
42 | 31 | | |
43 | 32 | | |
44 | 33 | | |
45 | 34 | | |
46 | | - | |
| 35 | + | |
47 | 36 | | |
48 | 37 | | |
49 | 38 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
93 | | - | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
166 | | - | |
167 | 163 | | |
168 | 164 | | |
169 | 165 | | |
170 | 166 | | |
171 | 167 | | |
172 | 168 | | |
173 | 169 | | |
174 | | - | |
| 170 | + | |
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 108 | | |
115 | 109 | | |
116 | 110 | | |
| |||
0 commit comments