fix(web): 侧栏星盘/星历/报告无法离开对话页 #50

Open
jesse wants to merge 0 commits from fix/sidebar-hard-nav into staging
Owner

对话页用 history.pushState 写 ?c=,Next App Router 的 router.push 无法离开首页,所以侧栏点星盘、星历、我的报告都不跳转。\n\n改为 document load(location.assign),并在离开前把当前对话 id 写入 login-return storage,返回 / 时还能回到刚才的会话。\n\n无数据库变更。

对话页用 history.pushState 写 ?c=,Next App Router 的 router.push 无法离开首页,所以侧栏点星盘、星历、我的报告都不跳转。\n\n改为 document load(location.assign),并在离开前把当前对话 id 写入 login-return storage,返回 / 时还能回到刚才的会话。\n\n无数据库变更。
jesse added 1 commit 2026-09-15 19:31:17 +08:00
fix(web): leave chat with a document load for chart, ephemeris, and reports
Independent Staging Quality Gate / validate (pull_request) Failing after 9m45s
Independent Staging Quality Gate / publish (pull_request) Skipped
Independent Staging Quality Gate / validate (push) Failing after 9m14s
Independent Staging Quality Gate / publish (push) Skipped
c6ecb86fb4
Session URLs are written with history.pushState, so App Router
router.push cannot leave the home page. Sidebar destinations now
assign the document and stash the current conversation for return.
jesse added 1 commit 2026-09-15 19:48:18 +08:00
fix(web): update chart-page sidebar contract to document-load navigation
Independent Staging Quality Gate / validate (push) Successful in 12m25s
Independent Staging Quality Gate / publish (push) Successful in 2m6s
Independent Staging Quality Gate / validate (pull_request) Successful in 14m58s
Independent Staging Quality Gate / publish (pull_request) Skipped
2533d5a328
All checks were successful
Independent Staging Quality Gate / validate (push) Successful in 12m25s
Independent Staging Quality Gate / publish (push) Successful in 2m6s
Independent Staging Quality Gate / validate (pull_request) Successful in 14m58s
Independent Staging Quality Gate / publish (pull_request) Skipped
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/sidebar-hard-nav:fix/sidebar-hard-nav
git checkout fix/sidebar-hard-nav
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/Jyotisha#50