Commit 1ff29c6
[js] gga example app: prune dead flows + stale PR-number comments (#28473)
## What
Prune dead / reject-only flows and fix stale PR-number comments: demote the EMAIL_OTP "Add second" reject demo and OAUTH rechallenge no-op to Advanced (or remove), fold the duplicate EMAIL_OTP rechallenge into guided login, and reword the stale `"PR #28427:"` / `"PR 4 flow:"` comments to describe behavior.
## Why
P4 example app, PR 3 in `40-example-app-design.md` §2/§5. These flows existed only to exercise reject paths or duplicated a guided step, and the PR-number comments anchor readers to specific (now-irrelevant) PRs rather than describing what the code does. Small, low-risk cleanup independent of the UI restructure.
## Place in the stack
Base: #28472 (session.ts + status chip). Fourth PR of the **P4 example-app** stack.
## Notable points
- Deletions/rewrites only; no new behavior. Reject/no-op demos are demoted, not silently lost.
- Manual test tool; type gate: `build` + `lint`/`format`.
---
Part of the Turnkey login-family migration program. See `sparkcore/sparkcore/grid/docs/login-migration/00-program-plan.md`.
GitOrigin-RevId: 5158156f8af7183ce150e63815e4d2dd563b377b1 parent 42dc5e3 commit 1ff29c6
4 files changed
Lines changed: 14 additions & 64 deletions
File tree
- apps/examples/grid-global-accounts-example-app
- src
- flows
Lines changed: 10 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
| 449 | + | |
459 | 450 | | |
460 | 451 | | |
461 | | - | |
462 | | - | |
463 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
464 | 455 | | |
465 | 456 | | |
466 | 457 | | |
| |||
578 | 569 | | |
579 | 570 | | |
580 | 571 | | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 572 | | |
591 | 573 | | |
592 | 574 | | |
| |||
732 | 714 | | |
733 | 715 | | |
734 | 716 | | |
735 | | - | |
| 717 | + | |
736 | 718 | | |
737 | | - | |
| 719 | + | |
738 | 720 | | |
739 | 721 | | |
740 | 722 | | |
| |||
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 137 | | |
154 | 138 | | |
155 | 139 | | |
| |||
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 64 | | |
81 | 65 | | |
82 | 66 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments