Repository navigation
Commit efa13e1
committed
Drop ?mode= URL override; add 'hybrid' as reserved mode value (W-24604411)
The ?mode= URL hack was a demo-only aid; .env + local restart cover the
same demo flow without shipping an escape hatch into production. Keep the
mode router but drive it off config.mode alone.
Expand VALID_MODES to accept 'hybrid' so merchants can be onboarded
against the final enum today. Shilpi lands the shim-side hybrid routing
(PDP questions inline, discovery/comparison to main drawer) in a follow-up;
'hybrid' falls back to the inline UMD renderer until then.1 parent 3dc80c6 commit efa13e1
3 files changed
Lines changed: 20 additions & 59 deletions
File tree
- packages/template-retail-react-app
- app/components/inline-agent-widget
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 16 | + | |
26 | 17 | | |
27 | 18 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 19 | + | |
31 | 20 | | |
32 | 21 | | |
33 | 22 | | |
| |||
37 | 26 | | |
38 | 27 | | |
39 | 28 | | |
40 | | - | |
| 29 | + | |
41 | 30 | | |
42 | | - | |
| 31 | + | |
43 | 32 | | |
44 | | - | |
| 33 | + | |
45 | 34 | | |
46 | 35 | | |
47 | 36 | | |
| |||
51 | 40 | | |
52 | 41 | | |
53 | 42 | | |
| 43 | + | |
| 44 | + | |
54 | 45 | | |
55 | 46 | | |
56 | 47 | | |
| |||
72 | 63 | | |
73 | 64 | | |
74 | 65 | | |
| 66 | + | |
| 67 | + | |
75 | 68 | | |
76 | | - | |
| 69 | + | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
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 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
93 | 59 | | |
94 | 60 | | |
95 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | | - | |
261 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
| |||
0 commit comments