feat(character): 中文化衍生属性并支持职业自选技能 - #218
Merged
Merged
Conversation
Lyltrum
approved these changes
Aug 4, 2026
LMH168
marked this pull request as ready for review
August 4, 2026 05:04
Lyltrum
added a commit
to Lyltrum/TRPG-master
that referenced
this pull request
Aug 4, 2026
1024XEngineer#218(中文化衍生属性 + 职业自选技能)与本分支都改了 RoomPage.tsx 与其测试。 - RoomPage.tsx:两侧各加了一个 import,同时保留。 - RoomPage.test.tsx:两侧在同一位置追加测试,双方全部保留(3D 降级 2 条 + 职业自选技能页签 1 条)。 前端 68 passed、lint、typecheck、build 全绿。注意需要先 `cd trpg-sdk && npm run build`:1024XEngineer#218 改了生成的 dto.ts,而 dist/ 是 gitignore 的,不重建 前端拿到的还是旧类型。
Contributor
|
支持完整实现,后续前端改造时注意UI设计与排版优化@badadal |
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.
Closes #140
改动摘要
null仍走现有加点自动匹配路径,并由预览结果回填。迁移与兼容
characters.occupation_choice_skill_ids。3f8a1c2d4e5f -> e4b6c8d0f2a1。null;降级删除新字段。upgrade -> downgrade -> upgrade。验证结果
ruff check✓,ruff format --check✓,ty check✓,pytest✓ (236 passed, 3 skipped)codegen✓,lint✓,test✓ (16 passed),build✓npm test✓ (59 passed),npm run lint✓,npm run build✓UI 截图
中文衍生属性(三列两行)
职业自选技能面板
人工 Review 待办
null自动回填的兼容体验