Files
Jyotisha/docs/testing/home-landing-blank-20260927.md
T
Jesse_ChenandClaude Opus 5.5 d2551437c4 fix(home): land on the blank starter home after login and on bare / (BUG-1052)
Product decision 2026-09-27 (D1-D4), overriding the BUG-1038 login-return
stash and the "latest session" default landing:

- A full load of / without ?c= (login, typed address, bookmark, refresh of
  bare /) lands on the current person's blank starter home; an existing
  empty draft of that person is reused, otherwise one is created locally.
- ?c= and ?new=1 are unchanged; a refresh inside a conversation keeps its ?c=.
- The login-return stash is removed: redirectToLogin and sidebar links no
  longer write it, bootstrap no longer reads it and clears a leftover value
  once. replace-selected, the lookup origin/other-subject branch and the warm
  resumeRectification dependency go with it.
- A background answer being recovered no longer takes over the blank home
  (same rule BUG-1015 set for ?new=1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
2026-09-27 00:51:51 +08:00

63 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 真机清单 · 登录后与打开网址都进空白首页(BUG-1052)· 2026-09-27
部署含 `codex/home-landing-blank-20260927` 的 staging 后照做。先确认 `https://staging.jyotisha.chat/api/health` 的 `deployment.gitCommit` 是这次部署的提交。
## 这次改了什么(给自己看的一句话)
以前登录后、或直接打开网址,会回到上一次的对话(甚至是上一次的生时校正),看起来像首页其实不是。现在:不带对话链接打开网站,永远是空白首页;带对话链接(地址里有 `?c=`)才进那条对话。
准备:用一个已经有至少一条普通对话、一条生时校正记录的账号(本机用 iPhone Safari 或电脑 Chrome 都可以)。
## 1. 退出再登录,落在空白首页
1. 先点开侧栏里那条**生时校正**,确认进到校正界面(地址栏里有 `?c=`)。
2. 左下角账户菜单 →「退出登录」。
3. 用邮箱验证码重新登录。
预期:
- 登录后看到的是**空白首页**:标题「新对话」,中间是「最近还好吗,…?」问候、输入框占位「想聊什么都可以」、下面两个入口按钮。
- 地址栏是 `https://staging.jyotisha.chat/`,**没有** `?c=`。
- 侧栏里那条生时校正仍在,只是没有被选中。
- 在输入框问一句普通问题(例如「我和父母关系如何」),回答是普通对话,**不会**提到高考、生时校正或「不能用这件事核对」。
## 2. 登录过期后重新登录,也不回旧对话(能做就做)
1. 打开那条生时校正(地址栏有 `?c=`),停在这里。
2. 在另一个标签页退出登录(或等登录过期),回到第一个标签页随便点一下,让它跳到登录页。
3. 重新登录。
预期:落在空白首页,地址栏没有 `?c=`,不是刚才那条生时校正。
## 3. 地址栏直接打开网址 / 书签,都是空白首页
1. 在任意一条旧对话里,把地址栏改成 `https://staging.jyotisha.chat/`(去掉后面的 `?c=…`)回车。
2. 从书签或浏览器历史里打开 `https://staging.jyotisha.chat/`。
3. 在空白首页上直接按刷新。
预期:三次都是空白首页「新对话」,不是最近那条对话;刷新后也没有多出空对话(侧栏里不会冒出一排「新对话」)。
## 4. 对话链接照常打开
1. 在侧栏点一条旧的普通对话,地址栏出现 `?c=…`。复制这个地址。
2. 新开一个标签页,粘贴打开。
预期:直接进这条对话,能看到原来的问答,标题是这条对话的标题。
## 5. 在对话里刷新,留在这条对话
1. 在一条普通对话里按刷新:仍在这条对话,问答都在。
2. 在那条生时校正里按刷新:仍在生时校正界面,标题、时间轴都在。
## 6. 从其他页面回首页(不应退步)
1. 点侧栏「星盘」,再点「新建对话」:马上是空白首页,没有加载转圈。
2. 点侧栏「星盘档案」,再点左下角账户头像那一块(回首页):马上是空白首页,没有加载转圈,也不是刚才那条对话。
3. 在「星盘」页点侧栏里的某条历史对话:直接进那条对话。
## 发现问题时请记
- 截图(整屏,带地址栏)。
- 做到第几步、点了什么。
- 地址栏里有没有 `?c=`。