Repository navigation
feat: public nav pinned/collapse, duplicate tag/desc merge & AI secret card overflow fix - #75
Merged
Merged
Conversation
…pi/settings/public-page validation
…s + collapsible groups
…ocument public pins & duplicate merge
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
Delivers Public Navigation Station Pinned Favorites (
★ 置顶常用) & Collapsible Category Memory, Duplicate Review One-Click Unique Tag / Missing Description Merge on Archive (with full atomic-style Undo), and fixes theSettings → AI Service(Worker 密钥状态) right-column card overflow and initial sync badge copy.Key Highlights
Settings → AI Service(/app/settings/ai) Layout & Sync Badge Fixminmax(0, ...)grid tracks andmin-width: 0bounds across.ai-service-grid,.ai-secret-card,.ai-status-row,.ai-secret-cmd, and.ai-quick-link, plus@media (max-width: 960px)single-column collapse so the Worker Secret card never overflows at any breakpoint.已配置 Ready) with concise pure-language labels (已就绪/Ready) and fixedupdatedAt === nullheader state (默认配置/Default / Local).Public Navigation Station Pinned Favorites & Collapsible Category Memory (
/&/app/settings/public)pinnedBookmarkIds(capped atMAX_PUBLIC_PINNED_BOOKMARKS = 24, deduplicated and order-preserving) toPublicPageSettingsand/api/settings/public-page.PublicSiteConfigCard.tsxand added a★ 置顶常用区(Pinned Favorites) reorder/unpin panel + per-row★ 置顶toggles inPublicPageSettings.tsx.★ 置顶常用(Pinned) section, clickable collapsible category headers persisted locally per visitor (dockmarkPublicCollapsedV1, with automatic temporary expand during active search/category filter), and全部收起 / 全部展开toolbar control inPublicPage.tsx.Duplicate Review One-Click Tag & Description Merge (
DuplicateReviewPage.tsx&DuplicateCandidateCard.tsx)/api/library/duplicatesnow returns active#tagson candidate members, highlighting unique tags on each side.DuplicateCandidateCard.tsxwithcomputeDuplicateMerge(case-insensitive tag deduplication, 12-tag cap, missing description adoption) and a per-card merge checkbox before archiving, backed by full Undo restoring both the archived bookmark and the keeper's pre-merge tags/description.Verification
npm run check:extension-versionnpm run typecheck&npm run buildnpm run package:extension/package:extension:newtab/package:extension:firefoxnpm run deploy:source-dry-run&npm run deploy:dry-runnpm run smoke:chromium/smoke:chromium:newtab/smoke:chromium:web-shell(including headless Chromium zero-overflow assertions on.ai-secret-cardacross1280/900/720/390px)