fix(web): keep the settings dialog one size and move billing into it (BUG-554)
The four account panes now share a fixed frame, chart profiles open as list then detail, and membership lives in the homepage dialog instead of a separate page. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8565,6 +8565,22 @@
|
||||
- 复发自:无
|
||||
- 修复版本:`a1956deb`
|
||||
|
||||
## BUG-554 | 设置弹窗随分区跳变,星盘资料铺开整张表单,账户与点数离开首页
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-09-06
|
||||
- 最近更新:2026-09-06
|
||||
- 影响面:设置弹窗、`chart-library-panel`、`billing-panel`、首页 `page.tsx`、`/membership` 路由
|
||||
- 用户现象:三个设置分区弹窗尺寸不同;星盘资料列表下面无条件铺开添加表单;点「账户与点数」会离开首页打开整页会员。
|
||||
- 触发条件:登录后打开设置弹窗,切换个人资料 / 星盘资料 / 通用设置,或从余额、头像菜单、余额不足进入充值。
|
||||
- 根因:`accountDialogClasses` 给每个分区不同宽度,高度随内容撑开。星盘资料没有列表/详情视图,添加表单始终渲染。第四个导航项直接 `router.push` 到 `/membership`。
|
||||
- 修复:四个分区共用 `.settings-modal` 固定尺寸。星盘资料改为列表→详情。账户与点数成为弹窗第四分区;删除 `/membership` 与 `/membership/orders`,旧链接重定向到 `/?settings=billing`。七处入口改为 `openAccountDialog("billing")`。
|
||||
- 验证:`frontend/tests/account-dialog-overlay.test.ts`、`billing-panel.test.ts`、`membership-page.test.ts`、`membership-navigation-contract.test.ts`、`chart-library-other-profile.test.ts`、`settings-url.test.ts`、`beam-avatar.test.ts`、`class-name-definition-contract.test.ts`、`tests/test_api_server_security.py -k capability_audit`。`next build --webpack` 中 `/` 为 Static,无 `/membership` 页面。
|
||||
- 防复发:设置弹窗必须同时声明 width 与 height;星盘资料默认视图不得无条件渲染 `<form`;`/` 保持 Static,不得 `useSearchParams`;收银台仍 `window.open`;硬跳转清单不得因本单变长。
|
||||
- 相关记录:BUG-434、BUG-251、BUG-143
|
||||
- 复发自:无
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-555 | 普通咨询历史只留每条开头 4000 字,下一轮看不到应期和审计表
|
||||
|
||||
- 状态:resolved
|
||||
|
||||
Reference in New Issue
Block a user