NapCatQQ/packages/napcat-webui-frontend/src
手瓜一十雪 c4aa793bd0 Fix font reset on unmount with unsaved changes
Added a ref to track unsaved changes and updated the cleanup logic to only restore the saved font settings if there are unsaved changes. This prevents the font from being unintentionally reset when the page is refreshed or the component is unmounted without changes.
2026-01-03 15:36:42 +08:00
..
assets Remove unused dependencies and optimize Monaco workers 2025-12-24 15:32:21 +08:00
components Enhance artifact handling and display for action builds 2026-01-03 15:28:18 +08:00
config Remove music player and related context/hooks 2025-12-20 18:07:16 +08:00
const Refactor and standardize share and message history APIs 2025-11-22 13:14:46 +08:00
contexts Remove music player and related context/hooks 2025-12-20 18:07:16 +08:00
controllers Enhance artifact handling and display for action builds 2026-01-03 15:28:18 +08:00
hooks Refactor UI styles for improved consistency and clarity 2025-12-22 10:38:23 +08:00
layouts Revert "Refactor UI components for consistent styling" 2025-12-22 14:04:26 +08:00
pages Fix font reset on unmount with unsaved changes 2026-01-03 15:36:42 +08:00
store refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
styles Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
types Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
utils Refactor GitHub tag fetching and mirror management 2026-01-03 14:42:24 +08:00
App.tsx Remove music player and related context/hooks 2025-12-20 18:07:16 +08:00
main.tsx Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
provider.tsx refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
vite-env.d.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00