Repository navigation
fix(web): polish personal knowledge connectors UI layout and Harness styling - #1753
Open
crispinhu27 wants to merge 1 commit into
Open
crispinhu27 wants to merge 1 commit into
crispinhu27 wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Summary
UI-only polish for 我的知识库 (
#knowledgeView) and its connector drawer (#kbConnDrawer), aligning with LoopForge Harness UI conventions while keeping all business logic, API payloads, and test selectors intact:#knowledgeView { padding: 0 2px 32px; }override so.page-view.activetop/horizontal spacing matches other settings views, add Harnessrefresh/plusicons to header buttons, and align button heights to Harness sizing (32px page-level, 28px inline)..sh-cardlegacy gradient boxes with clean Harness.kb-paneland flat card surfaces (--hui-surface,--hui-border,--hui-panel-shadow).grayscale(1)/opacity: .56dimming on unconfigured vendor cards and switch WeKnora SVG dark fills from hardcoded#112233tocurrentColorfor dark mode legibility.添加连接器), changing quick-setup card CTAs to soft accent (.kb-btn.xs.soft) and connector type list CTAs to neutral outline (.kb-btn.xs).--hui-surface-subtle/ slate rgba fallbacks with--hui-canvas/--hui-softacross notice strip, sub-sources, usage tabs/filters, and drawer controls, and align#kbConnDrawerinput heights and checkbox row alignment.web/i18n-en.jsfor newly introduced section labels.Verification
node --check web/app/knowledge.jsnode --test webtest/tests/knowledge-management.test.mjs webtest/tests/i18n-knowledge.test.mjs webtest/tests/i18n-page-copy.test.mjs webtest/tests/i18n-pages.test.mjs webtest/tests/views.test.mjs(28/28 passed)python3 scripts/check-public.py