You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ui): migrate devtools panel to shadcn-vue (#12)
* refactor(ui): migrate devtools panel to shadcn-vue
* fix(ui): restore locale toggle and diff styling
* fix(ui): scroll diff table container to top
* fix(ui): pin locale and theme controls top right
* fix(ui): use locale selector for language control
* fix(ui): prevent page scrollbar flicker
* docs: update screenshot
* fix(ui): strengthen diff row contrast
* fix(ui): highlight second diff value
* fix(ui): open header info on click
* refactor(ui): redesign diff workspace
* fix(ui): remove filter highlight spacing
* fix(ui): mark missing diff values on both sides
* fix(ui): center empty table state
* feat(ui): remove individual selections
* fix(ui): align header control sizes
* refactor(ui): compact selected element headers
* fix(ui): clear diffs after removing synced selection
* fix(ui): unify compact control sizing
* refactor(ui): remove back to top control
* feat(ui): show logo in panel header
* fix(ui): use neutral language switch icon
* fix(lint): add node import resolver
* fix(ui): default theme to system preference
* fix(ui): keep detail labels on one line
* docs: update screenshot
* fix(i18n): localize missing css values
* fix(review): address remaining codex feedback
@@ -69,7 +69,7 @@ There is no dedicated `lint` or `format` script in `package.json`; use ESLint di
69
69
- Keep Vue component state and browser interaction logic in composables such as `useDevToolsPanel`.
70
70
- Keep pure data helpers in `entrypoints/devtools-panel/utils/`.
71
71
- Preserve the existing i18n structure by updating both `public/_locales/en/messages.json` and `public/_locales/zh_CN/messages.json` when adding user-visible strings.
72
-
- Use Element Plus components consistently with the existing DevTools panel UI.
72
+
- Use local `components/ui/*` shadcn-vue style components for controls.
73
73
- Use Tailwind utility classes for layout and small style adjustments.
74
74
- The existing code relies on WXT/browser extension globals such as `browser`; do not replace them with unrelated APIs without a compatibility reason.
75
75
@@ -84,7 +84,7 @@ There is no dedicated `lint` or `format` script in `package.json`; use ESLint di
84
84
- Computed styles are normalized by `formatStyle` before comparison.
85
85
- Selected elements are compared as `left` and `right`; a third selection is ignored until the current selection is cleared.
86
86
- Cross-window/tab synchronization is handled by broadcasting through `browser.tabs.sendMessage`.
87
-
- Table rows use color classes to distinguish changed and unchanged CSS properties, and clicking a value cell copies `property: value;`.
87
+
- Table rows use monochrome emphasis to distinguish changed and unchanged CSS properties, and clicking a value cell copies `property: value;`.
0 commit comments