1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/frontend/src
Thomas Heartman 2b668bc5c8
fix: open/close animation on personal dashboard is choppy (#9253)
Extracts each panel into its own component for the personal dashboard.
This lets us use separate states for each panel, which in turn lets each
panel change its open / close state without causing the other panels to
re-render.

When you have a lot of flags and/or projects, the list to render becomes
very long, which causes performance problems, especially when you need
to rerender both flags and projects and the timeline whenever one of
them changes.

The problems were especially noticeable in Firefox for me. Even with
this, the event timeline is a little choppy. I suspect that's because of
it might take a long time to paint? But we can look into that later.

Also updates the dashboard state hook to let you only pass in the
flags/projects you want. We could extract this into three different
hooks that all use the same localhost key, but I'm not sure whether
that's better or worse 🤷🏼
2025-02-10 10:40:26 +01:00
..
__mocks__
assets chore: add release management to new in unleash (#9257) 2025-02-07 14:33:25 +00:00
component fix: open/close animation on personal dashboard is choppy (#9253) 2025-02-10 10:40:26 +01:00
constants
contexts chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
hooks chore: release management plausible events (#9230) 2025-02-06 16:09:15 +00:00
interfaces chore: remove sortProjectRoles flag (#9226) 2025-02-06 19:40:10 +01:00
openapi chore(1-3267): add orval schemas for the new API endpoint (#9164) 2025-01-29 09:11:29 +01:00
themes chore: upgrade to biome 1.9.4 (#8616) 2024-10-31 15:24:22 +01:00
types
utils chore: use union type for traffic search data (#9221) 2025-02-05 10:50:39 +00:00
index.tsx fix: send UI error tracking (#8725) 2024-11-13 16:13:05 +01:00
setupTests.ts chore: scroll-related UX adjustments in the Unleash AI chat (#8478) 2024-10-18 14:38:46 +01:00
vite-env.d.ts