Dream 68595e90eb
Persist asset search query when switching sidebar tabs (#8985)
When users switch between the Layers and Assets sidebar tabs, the
`assets-toolbox*` component unmounts and its local `use-state` is
discarded, so the search query and section filter are lost.

Lift the search term and section filter into a per-file, in-memory
session atom that survives tab switches but doesn't leak across files
or persist across reloads. Ordering and list-style continue to use
localStorage as before.

Closes #2913

Signed-off-by: eureka0928 <meobius123@gmail.com>
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
2026-04-14 12:31:25 +02:00
..
2026-04-08 15:44:09 +02:00
2026-04-10 10:42:35 +02:00
2025-09-08 10:02:33 +02:00
2026-04-08 15:44:09 +02:00
2026-03-26 10:09:54 +01:00
2026-03-09 13:02:14 +01:00
2026-03-18 12:52:58 +01:00
2026-03-26 10:09:54 +01:00
2026-03-26 10:09:54 +01:00
2025-09-08 10:02:33 +02:00
2026-03-26 10:09:54 +01:00
2026-03-26 10:09:54 +01:00
2026-03-26 10:09:54 +01:00
2026-03-26 10:09:54 +01:00
2026-03-26 10:09:54 +01:00
2025-09-08 10:02:33 +02:00
2026-04-13 14:42:03 +02:00
2026-03-26 10:09:54 +01:00