Make chosen labels filter on a board persistent between sessions #793

Open
opened 2026-02-04 21:21:54 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @zukonake on GitHub (Aug 25, 2025).

Is this a feature for the backend or frontend?

Frontend

What would you like?

Currently when filtering tasks on the board using the labels, the chosen labels get reset when closing the tab, or restarting browser etc.

Why is this needed?

When working on a large board with multiple people doing different stuff, I'd like to be able to see tasks that are interesting to me, through labels. Right now everytime I open up the tab or browser, I have to reselect the labels that I'm interested in. With growing label number this becomes more and more cumbersome.

Other information

I can see a couple of ways this could be implemented:

  • simply store the chosen labels on client's cookies
  • potentially make this a setting that can be toggled if anyone likes the old behavior
  • store the chosen labels on server-side
  • store the chosen labels in the board link, which works well with browser bookmarks

If anyone can point me to the place in code where this could be implemented, I could take a look and maybe make a PR.

Also - this applies to members filter as well, it would be good to implement both IMO, but members filtering is lower priority for me.

Originally created by @zukonake on GitHub (Aug 25, 2025). ### Is this a feature for the backend or frontend? Frontend ### What would you like? Currently when filtering tasks on the board using the labels, the chosen labels get reset when closing the tab, or restarting browser etc. ### Why is this needed? When working on a large board with multiple people doing different stuff, I'd like to be able to see tasks that are interesting to me, through labels. Right now everytime I open up the tab or browser, I have to reselect the labels that I'm interested in. With growing label number this becomes more and more cumbersome. ### Other information I can see a couple of ways this could be implemented: - simply store the chosen labels on client's cookies - potentially make this a setting that can be toggled if anyone likes the old behavior - store the chosen labels on server-side - store the chosen labels in the board link, which works well with browser bookmarks If anyone can point me to the place in code where this could be implemented, I could take a look and maybe make a PR. Also - this applies to members filter as well, it would be good to implement both IMO, but members filtering is lower priority for me.
OVERLORD added the enhancement label 2026-02-04 21:21:54 +03:00
Author
Owner

@meltyshev commented on GitHub (Aug 26, 2025):

Hey! I think that sounds like a great addition. The easiest way would probably be to store it in localStorage and add a per-user setting to enable it first. Hard to point to the exact code location, but you'd mainly need to update the addLabelToBoardFilter and removeLabelFromBoardFilter functions in client/src/sagas/core/services/labels.js, and then restore from localStorage in the prepareFetchedBoard function in client/src/models/Board.js.

@meltyshev commented on GitHub (Aug 26, 2025): Hey! I think that sounds like a great addition. The easiest way would probably be to store it in localStorage and add a per-user setting to enable it first. Hard to point to the exact code location, but you'd mainly need to update the `addLabelToBoardFilter` and `removeLabelFromBoardFilter` functions in `client/src/sagas/core/services/labels.js`, and then restore from localStorage in the `prepareFetchedBoard` function in `client/src/models/Board.js`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#793