mirror of
https://github.com/plankanban/planka.git
synced 2026-05-04 18:00:55 +03:00
[PR #1325] feat: Persist board filters in localStorage #1272
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/1325
Author: @symonbaikov
Created: 9/3/2025
Status: 🔄 Open
Base:
master← Head:feature/persist-board-filters📝 Commits (3)
d7d0bc3feat: persist board filters in localStoragecbb6810fix Board.js60d351bfix Board.js & users.js📊 Changes
4 files changed (+106 additions, -8 deletions)
View changed files
📝
client/src/models/Board.js(+17 -8)📝
client/src/sagas/core/services/labels.js(+5 -0)📝
client/src/sagas/core/services/users.js(+5 -0)➕
client/src/utils/localStorage.js(+79 -0)📄 Description
New Files
client/src/utils/localStorage.js- Utility functions for managing board filters in localStorageModified Files
client/src/sagas/core/services/labels.js- Updated label filter functions to save/restore from localStorageclient/src/sagas/core/services/users.js- Updated user filter functions to save/restore from localStorageclient/src/models/Board.js- Modified to restore filters on board load and handle clearingKey Functions
addLabelToBoardFilters()/removeLabelFromBoardFilters()- Manage label persistenceaddUserToBoardFilters()/removeUserFromBoardFilters()- Manage user persistencegetBoardFiltersFromStorage()- Restore filters when loading boardsclearBoardFilters()- Handle filter clearing scenariosHow It Works
Closes: #1311
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.