feat: optimize dashboard/search UX and simplify extension architecture

Redesign Dashboard with compact tool grid and recently used tools
Improve TopBar search UX with Cmd/Ctrl+K shortcut and better history navigation
Reorganize project structure into src/
Migrate i18n from react-i18next to chrome.i18n
Remove runtime language switch and settings page
Remove HTML/Markdown conversion tools
Clean up unused code, dead animations, redundant comments, and imports
Improve component consistency with shadcn/ui patterns
Replace hardcoded strings/colors with i18n tokens and theme tokens
Add comprehensive project documentation and coding standards
Fix CI artifact upload workflow and multiple TypeScript/test issues

Includes various refactors, UI polish, i18n cleanup, CI improvements,
and maintenance updates across the codebase.
This commit is contained in:
LingandRX
2026-05-28 22:39:25 +08:00
committed by GitHub
parent d4c29a1bf4
commit 945780def8
200 changed files with 1557 additions and 4380 deletions
+3 -16
View File
@@ -22,13 +22,6 @@ function manualChunksForHtmlOnly(): Plugin {
) {
return 'vendor-react';
}
if (
id.includes('i18next') ||
id.includes('react-i18next') ||
id.includes('intl-messageformat')
) {
return 'vendor-i18n';
}
// 二维码活态感知依赖分流
if (id.includes('qr-scanner') || id.includes('qrious')) {
return 'vendor-qr';
@@ -37,10 +30,6 @@ function manualChunksForHtmlOnly(): Plugin {
if (id.includes('@dnd-kit')) {
return 'vendor-dnd';
}
// Markdown 高性能转换引擎分流
if (id.includes('marked')) {
return 'vendor-markdown';
}
return undefined;
},
@@ -51,10 +40,12 @@ function manualChunksForHtmlOnly(): Plugin {
export default defineConfig({
modules: ['@wxt-dev/module-react'],
srcDir: 'src',
manifest: {
name: 'Testing Tool',
description: 'A tool for testing web applications.',
version_name: undefined,
default_locale: 'zh',
permissions: [
'storage',
'unlimitedStorage',
@@ -69,15 +60,11 @@ export default defineConfig({
],
host_permissions: ['<all_urls>'],
action: {
default_title: '__MSG_extName__',
default_title: '__MSG_appName__',
},
side_panel: {
default_path: 'entrypoints/sidepanel/index.html',
},
options_ui: {
page: 'entrypoints/options/index.html',
open_in_tab: true,
},
},
vite: () => ({
plugins: [manualChunksForHtmlOnly()],