Repository navigation
refactor(ui): 批量将共享表单分区组件迁移至 SectionCard - #2125
Merged
Merged
Conversation
Contributor
总体结论:可以合并
有个不拦合并的验收点:窗口拉窄时看一眼 MaaFW 队列的导入和恢复按钮。它原来由整行标题带着换行,现在跟着卡片的动作栏走,确认长文案下两个按钮都够得着就好,喵。 把空分隔线收走的 dot酱 |
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.
摘要
SectionCard补齐无标题/无动作区时隐藏.section-header的条件判断,使ExtraScriptSection与UserNotifyConfig在hideSectionHeader卡片承载态下无需渲染空分隔线,并顺带消除外层卡片底部多余的 40px 留白。ExtraScriptSection、UserNotifyConfig、PluginDeclarativeForm)及 10 个<= 500行专项配置分区(MaaEndRunConfigSection、DirectControlSection、OkwwAccountPlan、OkNteTaskConfigSection、MaaFWQueueHeaderSection,以及 5 个专项的BasicInfoSection)迁移至SectionCard variant="plain"。改动前后对比(Playwright 真实组件渲染)
984b404b9)BasicInfoSection+ExtraScriptSection+UserNotifyConfig全部接入SectionCard(0 -> 3),分段间距更均匀hideSectionHeader卡片承载态(暗色).section-header(0 -> 0),并去掉额外脚本卡片底部多余的 40px 留白MaaEndRunConfigSection复用SectionCard容器查询能力,DirectControlSection切换density="compact",自定义背景透出一致PluginDeclarativeForm统一至SectionCard variant="plain",24 栅格布局与分组间距无回归验证
vp fmt . --check、vp lint .(0 warnings / 0 errors)、vue-tsc -p tsconfig.app.json --noEmit全部通过。vp test run src/31 个测试文件、105 个用例全部通过。.vue文件全部保持在 340 行以内。python scripts/changelog.py check --pr-base origin/dev --pr-kind normal --skip-changelog通过(无用户可见行为变更,已打skip-changelog)。