quintodrome/ui/src
Deluan Quintão a30fa478ac
feat(ui): reset activity panel error icon to normal state when clicked (#4379)
* ui: reset activity icon after viewing error

* refactor: improve ActivityPanel error acknowledgment logic

Replaced boolean errorAcknowledged state with acknowledgedError string state to track which specific error was acknowledged. This prevents icon flickering when error messages change and simplifies the logic by removing the need for useEffect.

Key changes:
- Changed from errorAcknowledged boolean to acknowledgedError string state
- Added derived isErrorVisible computed value for cleaner logic
- Removed useEffect dependency on scanStatus.error changes
- Updated handleMenuOpen to store actual error string instead of boolean flag
- Fixed test mock to return proper error state matching test expectations

This change addresses code review feedback and follows React best practices by using derived state instead of imperative effects.
2025-07-23 19:43:42 -04:00
..
actions feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
album feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
artist fix(server): headless library access improvements (#4362) 2025-07-20 15:58:21 -04:00
audioplayer feat(plugins): experimental support for plugins (#3998) 2025-06-22 20:45:38 -04:00
common feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
dataProvider feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
dialogs refactor(ui): replace translation key with direct character for remove action 2025-07-12 16:55:21 -04:00
i18n fix(ui): update Portuguese translation and remove unused terms 2025-07-18 18:59:52 -04:00
icons build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
layout feat(ui): reset activity panel error icon to normal state when clicked (#4379) 2025-07-23 19:43:42 -04:00
library fix(ui): replace NumberInput with TextInput for read-only fields in LibraryEdit 2025-07-18 21:43:52 -04:00
missing feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
personal fix(ui): show last.fm api-key missing in a FormHelperText 2024-12-19 16:59:26 -05:00
player build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
playlist feat(ui): add song Love and Rating functionality to playlist view (#4134) 2025-06-04 20:38:28 -04:00
radio fix(ui): update titles for radios, shares and show pages (#4128) 2025-05-27 09:01:52 -04:00
reducers feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
share fix(ui): update titles for radios, shares and show pages (#4128) 2025-05-27 09:01:52 -04:00
song feat(ui): implement RecentlyAddedByModTime support for tracks (#4046) (#4279) 2025-06-30 09:14:35 -04:00
store feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
subsonic feat(plugins): experimental support for plugins (#3998) 2025-06-22 20:45:38 -04:00
themes fix(ui): artist buttons in spotify-ish 2025-06-09 17:56:59 -04:00
transcoding fix(ui): minor icon inconsistencies and "no missing files" translation (#3837) 2025-03-16 19:39:19 -04:00
user feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
utils feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
App.jsx feat: Multi-library support (#4181) 2025-07-18 18:41:12 -04:00
authProvider.js fix(ui): remove index.html from service worker cache after creating admin user (#3642) 2025-01-12 18:32:02 -05:00
config.js feat(ui): implement new event stream connection logic 2025-06-29 10:18:05 -04:00
consts.js feat(Insights): add anonymous usage data collection (#3543) 2024-12-17 17:10:55 -05:00
eventStream.js fix(ui): keep the NowPlayingPanel badge in sync. 2025-06-29 11:35:10 -04:00
eventStream.test.js test: suppress console.log output in eventStream test 2025-07-10 18:00:37 -03:00
hotkeys.js Change "Go to current song" hotkey. 2022-12-18 20:58:01 -05:00
index.css chore(deps): bump JS dependencies 2025-03-07 19:47:08 -05:00
index.jsx fix(ui): service worker does not load new version of ui (#3402) 2024-10-16 21:39:14 -04:00
routes.jsx build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
setupTests.js Use the default import path for jest-dom. 2024-01-17 17:07:43 -05:00
sw.js fix(ui): service worker crashing on precacheAndRoute (#3528) 2024-12-08 17:43:34 -05:00
useChangeThemeColor.jsx build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
vite-env.d.ts build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00