Skip to content

feat: v1.6.1 personal nav station, AI settings, duplicate actions & TS/Pinyin upgrade - #74

Merged
WangEn merged 10 commits into
mainfrom
feat/v1.6.1-ux-and-nav-station
Nov 23, 2026
Merged

WangEn merged 10 commits into
mainfrom
feat/v1.6.1-ux-and-nav-station

Conversation

@WangEn

@WangEn WangEn commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Delivers v1.6.1 UX refinements, Personal Navigation Station customization (/), first-class Settings → AI Service (/app/settings/ai), actionable Duplicate Review (/app/duplicates) with SPA hash-route safety, unified composite search/select form controls, Pinyin initial-letter search, and modular WXT TypeScript New Tab bundling.

Key Highlights

  1. Public Page / Personal Navigation Station & Customization (/app/settings/public)

    • Added PublicPageSettings (siteTitle, siteSubtitle, defaultLayout: "grid" | "compact" | "list", showSearchBar, showWebSearch, showCategoryNav, openInNewTab) persisted in D1 app_settings via /api/settings/public-page (public GET, session-authenticated PATCH).
    • Added startpage external search engine pills (Google, Bing, GitHub, DuckDuckGo, 百度) alongside instant Pinyin-enabled bookmark filtering, category quick-filter pills, and a 3-mode visitor layout switcher (网格 Grid / 紧凑 Compact / 列表 List).
  2. First-Class Settings → AI Service (/app/settings/ai)

    • Promoted AI provider configuration to a dedicated top-level Settings tab with D1 sync (/api/settings/ai for non-secret endpoint, model, timeoutSeconds; DOCKMARK_AI_API_KEY remains strictly in Cloudflare Worker secrets), 1-click provider presets (OpenAI, DeepSeek, OpenRouter, SiliconFlow, Gemini, Groq), and live secret status check.
    • Linked Inbox AI triage and Bookmarks → Organize directly to /app/settings/ai.
  3. Duplicate Review (/app/duplicates) Overhaul & SPA Hash-Route Fix

    • Preserves SPA hash routes (#/... and #!/..., e.g., #/login vs #/monitoring) in reviewFingerprint while continuing to ignore plain document anchors (#section-1).
    • Returns icon_url and updated_at in /api/library/duplicates, aligns candidate cards flush at full .shell width, highlights URL diffs (<mark>), and adds direct Keep A · Archive B / Keep B · Archive A actions (backed by reversible archive + inline Change Journal Undo) and Locate in Library (/app/bookmarks?q=...).
  4. Global Search & Form Control System Polish

    • Removed the inner <input> focus-visible outline inside composite search wrappers (.command, .public-search, .public-publish-search, .bang-input, .dm-search-box) and fixed light-theme :focus-within border specificity so outer pills highlight cleanly in both dark and light modes.
    • Added inline × clear buttons across search inputs and unified custom SVG chevron styling across <select> controls.
  5. Pinyin Initial Search, Custom Shortcuts & Modular TypeScript New Tab (v1.6.1)

    • Added zero-dependency pinyinInitials / textContainsTokenOrPinyin in @dockmark/core (e.g., zhzl → 知乎专栏), wired across Web Launcher, Library, Public Page, Popup Open Tabs, and New Tab.
    • Added customizable Web Launcher focus shortcuts (⌘K / Ctrl+K, ⌘J / Ctrl+J, Alt+K, and / toggle) in Settings → Browser.
    • Replaced the 7 legacy public/newtab*.js global monkey-patch scripts with a modular WXT unlisted TypeScript entrypoint (entrypoints/newtab-app.ts + lib/newtab/*) sharing @dockmark/core while keeping Standard extension builds free of chrome_url_overrides.

Verification

  • npm run check:extension-version (1.6.1 aligned)
  • npm run typecheck (0 errors across @dockmark/core, @dockmark/web, @dockmark/extension)
  • npm run build
  • npm run package:extension / npm run package:extension:newtab / npm run package:extension:firefox + CI release zip invariant checks
  • npm run deploy:source-dry-run & npm run deploy:dry-run
  • npm run smoke:chromium / npm run smoke:chromium:newtab / npm run smoke:chromium:web-shell

@WangEn
WangEn merged commit f2fd443 into main Nov 23, 2026
4 checks passed
@WangEn
WangEn deleted the feat/v1.6.1-ux-and-nav-station branch November 23, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant