Skip to content

fix: Put the collection filter into localStorage - #8961

Merged
xiaodemen merged 1 commit into
developfrom
fix/collection-filter
Sep 1, 2025
Merged

xiaodemen merged 1 commit into
developfrom
fix/collection-filter

Conversation

@xiaodemen

@xiaodemen xiaodemen commented Aug 11, 2025 •

Copy link
Copy Markdown
Contributor

Closes INS-1056

Fixes #8591

@jackkav jackkav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better. Also be aware we are planning an upgrade soon which will mean removing all the memos. https://react.dev/blog/2024/04/25/react-19-upgrade-guide#strict-mode-improvements

@CurryYangxx

Copy link
Copy Markdown
Member

I don't think using localStorage to store filter state is a good solution. We need to use in-memory state to manage state like this.

@xiaodemen
xiaodemen merged commit a2b1060 into develop Sep 1, 2025
@xiaodemen
xiaodemen deleted the fix/collection-filter branch September 1, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collection filter is reset when switching recent requests (top menu)

4 participants