Skip to content

feat: ui ux pass 1 for auth and timeline#7

Open
jasper0507 wants to merge 1 commit into
mainfrom
fix/ui-ux-pass-1
Open

feat: ui ux pass 1 for auth and timeline#7
jasper0507 wants to merge 1 commit into
mainfrom
fix/ui-ux-pass-1

Conversation

@jasper0507
Copy link
Copy Markdown
Owner

这轮迭代做了什么

  • 修复编辑页快速返回或切换时,未触发自动保存的草稿丢失问题
  • 统一前端登录态失效处理,回收站相关动作遇到 invalid_token 等错误时直接回到登录页
  • 登录页补上副标题、输入提示、成功/错误反馈样式、提交按钮 loading 状态
  • 时间线首页增加正文摘要、强化提示文案、优化设置菜单层级
  • 小屏下把交错时间线压成单侧卡片流,降低移动端阅读负担
  • 增加对应前端回归测试,并补一份实施计划文档

本机验证

  • cd /opt/brev-diary-iter1/frontend && npm test
  • cd /opt/brev-diary-iter1/frontend && npm run build
  • docker run --rm -v /opt/brev-diary-iter1/backend:/app -w /app golang:1.26 /usr/local/go/bin/go test ./...
  • 已用 docker compose --env-file /opt/brev-diary/.env --project-name brev-diary -f /opt/brev-diary-iter1/docker-compose.yml up --build -d --remove-orphans 部署到当前公网实例验证
  • 已确认 https://brevdiary.cloud/ 返回新资源:index-DP0hWHcn.js / index-Zs_bXDGN.css

备注

这只是 UI / UX pass 1。后续还值得继续推进:

  • 收藏切换与条目状态的一致性细化
  • 设置菜单和浮动按钮的进一步交互收口
  • 时间线内容密度与桌面端节奏微调

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant