Repository navigation
开放平台:新增用户反馈查看与处理状态修改 - #117
Merged
lengxi-root merged 2 commits intoNov 21, 2026
Merged
Conversation
开放平台页新增「用户反馈」页签: - 列表:时间范围 / 类型 / 状态筛选,批量选择与分页,列与 q.qq.com 后台一致 - 详情弹窗:用户 OpenID、反馈类型、反馈时间、处理状态、反馈内容、对话信息截图 - 处理状态:支持单条与批量标记「未处理 / 已处理 / 暂不处理」, 复用现有 v2 代理通道 /cgi-bin/v2/feedback/list 与 /cgi-bin/v2/feedback/modify,后端无需改动 - 沿用面板设计变量,适配明暗主题与移动端布局 说明:仓库只随版本发布 web/dist 产物,故该页以独立 ES 模块 FeedbackPanel.js/.css 挂载到已编译的 OpenAPI 分块,3 个挂载锚点写在 FeedbackPanel.js 头部注释中, 前端源码重新构建后需按同样锚点重新挂载。
Philia093-root
force-pushed
the
feat/openapi-user-feedback
branch
from
November 21, 2026 16:47
d0c6fba to
250aa39
Compare
lengxi-root
added a commit
that referenced
this pull request
Nov 21, 2026
Port the user feedback feature from PR #117 into the web source branch. Reload authoritative statuses after mutations, handle partial and zero-success results, and recover pagination when filtered records move off the last page. Co-authored-by: Philia093-root <Philia093-root@users.noreply.github.com>
Build from ElainaCore/ElainaBot_v2 web commit 1d2bb3a. Replace the standalone compiled-module injection with the normal Vue/Vite build, including fixes for zero-success and partial-success mutations and filtered pagination. Validation: production build and eight mocked-API browser scenarios passed in both development and production.
Contributor
Author
|
已按评审意见改为从
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
开放平台页新增「用户反馈」页签,支持查看用户反馈并修改处理状态。
列表
反馈内容 / 反馈类型 / 处理状态 / 反馈时间,与 q.qq.com 后台一致详情弹窗
点击单行弹出「反馈详情」:用户 OpenID、反馈类型、反馈时间(含秒)、处理状态、反馈内容、
对话信息截图(可点击在新窗口查看原图);底部可在「已处理 / 暂不处理」间切换。
处理状态
POST /cgi-bin/v2/feedback/list、POST /cgi-bin/v2/feedback/modify(
/cgi-bin/v2/已在_V2_ALLOWED_PREFIXES白名单内,后端零改动)success_count=0时以刷新后的列表为准,避免界面与平台不一致实现说明
web分支(src/views/openapi/FeedbackPanel.vue、feedback-panel.css)1d2bb3a的构建产物验证
success_count=0、筛选参数、分页、空态/错误态、414px 移动端、暗色主题,无 pageerror
feedback_type 1=问题反馈 2=功能建议,status 0=未处理 1=已处理 2=暂不处理(映射取自 q.qq.com 官方前端产物)