Skip to content

feat: v1.6.0 full-stack UI polish and EN/zh-CN i18n support - #73

Merged
WangEn merged 7 commits into
mainfrom
feat/ui-i18n-overhaul
Nov 23, 2026
Merged

WangEn merged 7 commits into
mainfrom
feat/ui-i18n-overhaul

Conversation

@WangEn

@WangEn WangEn commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Full-stack UI/UX polish and bilingual (English & 简体中文) localization across Dockmark Web, Cloudflare Worker, Browser Extension (Popup, New Tab & Local Health), and @dockmark/core, aligned to extension release v1.6.0.

Key Highlights

  1. Shared Bilingual (en / zh-CN) & Settings Foundation (@dockmark/core + Worker + Web)

    • Added LocalePreference ("system" | "en" | "zh-CN"), ResolvedLocale ("en" | "zh-CN"), canonical domain dictionaries (SOURCE_LABELS, HEALTH_STATUS_LABELS, HEALTH_POLICY_LABELS), and formatRelativeTime in @dockmark/core.
    • Extended /api/settings/appearance (GET/PATCH) to synchronize locale alongside preference (system / light / dark) in D1 app_settings with zero schema migration and zero first-paint FOUC.
    • Public page (/) uses visitor-local language resolution (usePublicI18n) defaulting to the visitor's browser language with topbar EN / 中文 & Theme toggles, never mutating owner D1 settings.
    • /api/ai/organize now accepts active locale so AI-assisted bookmark & Inbox triage generates concise 简体中文 summaries and tags when Chinese is active while keeping brand/product names recognizable.
  2. High-Efficiency Tool UI Overhaul (Linear / Raycast-Grade Density)

    • Preserved Dockmark's forest-sage brand identity (#0a0f0c / #f4f7f5 + #91bc9f + D·), replacing oversized landing-page slogans and static 01 / 02 / 03 marketing pitch cards with compact, high-density tool surfaces.
    • Extension Popup (384px): Refactored into a state-aware workbench — guided 2-step setup wizard when unpaired; compact header status pill + collapsible ⚙ Settings drawer (Server URL, Pairing, Native Bookmarks, Theme & Language) + 3-tab segmented workbench (Capture & Searchable Open Tabs, Multi-Tab, Sessions) when paired.
    • New Tab & Web Launcher: Immediate top command bar with interactive !g / @Collection / #tag syntax pills, Category & @Collection quick-filter pills, favicon/monogram Bookmark cards, and launchable Workspace cards, plus 1-click topbar Theme & EN / 中文 toggles.
    • Web Management Views: Compact 1-line tool headers, real HTTP/HTTPS favicons with monogram fallback, modular subcomponent extraction (all files strictly ≤ 800 lines), and 100% EN / zh-CN localization across Bookmarks, Organize, Health, History, Inbox, Smart Collections, Duplicate Review, Workspaces, Sessions, Search Engines, Transfer, Extension Hub, and Settings.
    • Native WebExtension _locales/en/messages.json and _locales/zh_CN/messages.json added, and extension version bumped to 1.6.0 across package.json, wxt.config.ts, and extension-distribution.ts.
  3. GEB Documentation & Verification

    • Added L1 (GEMINI.md), L2 (packages/core/GEMINI.md, apps/extension/GEMINI.md, apps/web/GEMINI.md, apps/web/worker/GEMINI.md), and L3 header contracts across touched modules.
    • Upgraded Playwright Chromium smoke suites (smoke:chromium, smoke:chromium:newtab, smoke:chromium:web-shell) with bilingual (en & zh-CN) and responsive UI assertions.

Verification

  • npm run check:extension-version (1.6.0 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
  • 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

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
dockmark fd720a6 Commit Preview URL

Branch Preview URL
Nov 23 2026, 08:59 AM

@WangEn
WangEn merged commit 2d043ef into main Nov 23, 2026
4 checks passed
@WangEn
WangEn deleted the feat/ui-i18n-overhaul branch November 23, 2026 09:07
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