This commit is contained in:
23
openspec/changes/update-index-phone-bind-gate/tasks.md
Normal file
23
openspec/changes/update-index-phone-bind-gate/tasks.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## 1. Login Redirect Responsibility
|
||||
|
||||
- [x] 1.1 Remove the bind-phone branching decision from the login success handler
|
||||
- [x] 1.2 Make login success enter `pages/index/index` consistently
|
||||
|
||||
## 2. Index Entry Binding Gate
|
||||
|
||||
- [x] 2.1 Add a homepage-entry binding check in `pages/index/index.vue`
|
||||
- [x] 2.2 Re-evaluate whether binding is required every time `index` is entered, not only after login
|
||||
- [x] 2.3 Redirect from `index` to the bind-phone page when binding is still required
|
||||
|
||||
## 3. Bind Flow Compatibility
|
||||
|
||||
- [x] 3.1 Keep the bind-phone completion flow returning to `index`
|
||||
- [x] 3.2 Ensure users who are already bound are not redirected away from `index`
|
||||
- [x] 3.3 Ensure users who return to `index` without binding are checked again and redirected again if binding is still required
|
||||
|
||||
## 4. Regression Verification
|
||||
|
||||
- [x] 4.1 Verify login success always routes into `index`
|
||||
- [x] 4.2 Verify entering `index` without a bound phone redirects to the bind page
|
||||
- [x] 4.3 Verify entering `index` with a bound phone stays on the homepage
|
||||
- [x] 4.4 Verify re-entering `index` through later navigation still rechecks binding state
|
||||
Reference in New Issue
Block a user