monkeytype/frontend
Seif Soliman 0600b25cda
fix(settings page): ui not updating on favorite themes change via commandline (@byseif21) (#6567)
### Description
When using the command line to add or remove a theme from favorites
while on the settings page, the favorites UI would not reflect the
changes until the user manually refreshed the page or changed the theme.
This caused confusion, despite the changes being correctly saved in the
config.

**Solution**
Added a ConfigEvent subscription in theme-picker.ts to listen for
"favThemes" updates. If the active page is "settings", the UI is now
refreshed immediately by calling refreshPresetButtons().
2025-05-29 13:35:21 +02:00
..
__tests__ perf: use cache in local-storage-with-schema (@fehmer) (#6596) 2025-05-27 17:12:05 +02:00
docker fix: local development using docker not working with pnpm (@fehmer) (#6401) 2025-03-26 13:11:02 +01:00
scripts refactor: move languages to contracts (@fehmer) (#6497) 2025-05-07 14:02:27 +02:00
src fix(settings page): ui not updating on favorite themes change via commandline (@byseif21) (#6567) 2025-05-29 13:35:21 +02:00
static feat(layout): add Tarmak layouts (@siily-g) (#6574) 2025-05-26 16:03:25 +02:00
.eslintrc.cjs chore: add eslint compat plugin (@fehmer) (#6542) 2025-05-12 16:52:01 +02:00
.firebaserc_example
.oxlintrc.json refactor: enable ban-ts-comment rule 2025-04-16 19:15:30 +02:00
firebase.json
gulpfile.js chore: add oxlint (@miodec) (#6455) 2025-04-16 17:18:50 +02:00
knip.json
package.json chore: bump oxlint version 2025-05-29 13:23:13 +02:00
tsconfig.json
vite.config.dev.js chore: add oxlint (@miodec) (#6455) 2025-04-16 17:18:50 +02:00
vite.config.js chore: add sentry 2025-04-29 17:36:23 +02:00
vite.config.prod.js chore: try to use auto commit detection again 2025-05-03 12:02:51 +02:00
vitest.config.js