Skip to content

Api v3 - #214

Open
HereIsYui wants to merge 374 commits into
masterfrom
api_v3
Open

Api v3#214
HereIsYui wants to merge 374 commits into
masterfrom
api_v3

Conversation

@HereIsYui

Copy link
Copy Markdown
Member

查收

HereIsYui and others added 30 commits November 9, 2026 17:13
Keep the selected Java changes formatting-only. Make route access scope extraction support multiline wrappers and add regression coverage. Update only the user-approved whitespace-equivalent realtime source fingerprint.
- 复读机样式整体重写:与首页 .module 卡片风格一致(白底 + 轻阴影),
  移除独立 border,标题行加 border-bottom,tab/meta/操作按钮轻量化,
  textarea 和提交按钮添加间距,排行榜弹窗样式优化
- 单条榜:每条显示作者名链接、正文保留换行、独立复制按钮;
  点击内容区域不再关闭弹窗
- 阅读区作者名链接到 /member/{userName},无作者时显示转录站斜体
- 举报提示拆分:自己举报 → '不能举报自己的内容';
  内容不存在/已删除 → '内容不存在或已删除'
- PC/mobile 两端模板同步(data-current-user-id、按钮结构)
- API.md / UPDATE_LOG.md 同步更新举报 msg 说明

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…port dialog UI

- 统一按钮系统:所有按钮(排行榜/换一个/复制/举报/删除/关闭)
  共用同一高度(28px)/圆角(5px)/边框(1px solid),不再有尺寸差异
- 举报/删除移到底部操作行,作者行独立显示在阅读区下方
- 排行榜弹窗:grid 布局排名条目(序号/作者/赞数/正文/复制),
  TOP3 金银铜颜色,弹窗固定居中于屏幕
- 举报弹窗:表单 label uppercase 小标签,select/textarea 有边框
  和 focus 高亮,提交按钮与操作行一致
- 夜间模式 CSS 变量同步更新

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- chatroomLog 改为把 oId 存到 key3 字段(之前存的是 userName)
- getReports 的 chat 分支:先用 type+key3 精确查(新数据),
  历史数据回落到 LIKE 但加 type='cr-revoke' 过滤,避免全表扫描

需手动执行以下 SQL 创建索引:
CREATE INDEX idx_logs_type_key3 ON symphony_logs (type, key3);

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
adlered and others added 30 commits November 20, 2026 17:59
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.

2 participants