[PR #713] [MERGED] Filter cards with shortcuts to users and labels #1077

Closed
opened 2026-02-04 21:48:43 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/713
Author: @emmguyot
Created: 4/14/2024
Status: Merged
Merged: 4/23/2024
Merged by: @meltyshev

Base: masterHead: SearchCards


📝 Commits (2)

  • d44b5a6 Filter cards with shortcuts to users, labels and creator
  • 6251b0a fix: Fix search input appearance

📊 Changes

19 files changed (+267 additions, -1 deletions)

View changed files

📝 client/src/actions/cards.js (+9 -0)
📝 client/src/components/BoardActions/BoardActions.jsx (+6 -0)
📝 client/src/components/BoardActions/Filters.jsx (+65 -1)
📝 client/src/components/BoardActions/Filters.module.scss (+28 -0)
📝 client/src/constants/ActionTypes.js (+1 -0)
📝 client/src/constants/EntryActionTypes.js (+1 -0)
📝 client/src/containers/BoardActionsContainer.js (+3 -0)
📝 client/src/entry-actions/cards.js (+8 -0)
📝 client/src/lib/custom-ui/components/Input/Input.jsx (+2 -0)
📝 client/src/locales/en/core.js (+1 -0)
📝 client/src/locales/fr/core.js (+4 -0)
📝 client/src/models/Board.js (+47 -0)
📝 client/src/models/Card.js (+5 -0)
📝 client/src/models/Label.js (+12 -0)
📝 client/src/models/List.js (+32 -0)
📝 client/src/models/User.js (+14 -0)
📝 client/src/sagas/core/services/cards.js (+7 -0)
📝 client/src/sagas/core/watchers/cards.js (+3 -0)
📝 client/src/selectors/boards.js (+19 -0)

📄 Description

Hi,

I've implemented the card search functionality #53.
This feature allows users to search for :

  • cards based on their name
  • regular expression when starting with /
  • users assigned to cards with @xxx
  • user who created the card with !xxx
  • labels with #xxx.
    It enhances the overall usability of the project and keep it simple with only a few click.

Changes made:

  • Added a search input field to the card list.
  • Updated the UI to display search results dynamically.

Testing:

  • Tested various search queries (including edge cases) to ensure accurate results.
  • Verified that the UI updates correctly when searching.

Preview :
image

Thanks for reviewing! 🙌


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/713 **Author:** [@emmguyot](https://github.com/emmguyot) **Created:** 4/14/2024 **Status:** ✅ Merged **Merged:** 4/23/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `SearchCards` --- ### 📝 Commits (2) - [`d44b5a6`](https://github.com/plankanban/planka/commit/d44b5a689ac09d0c8e03db850127889f10867a5e) Filter cards with shortcuts to users, labels and creator - [`6251b0a`](https://github.com/plankanban/planka/commit/6251b0a08abe54964464487c361a87103689ea0e) fix: Fix search input appearance ### 📊 Changes **19 files changed** (+267 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/src/actions/cards.js` (+9 -0) 📝 `client/src/components/BoardActions/BoardActions.jsx` (+6 -0) 📝 `client/src/components/BoardActions/Filters.jsx` (+65 -1) 📝 `client/src/components/BoardActions/Filters.module.scss` (+28 -0) 📝 `client/src/constants/ActionTypes.js` (+1 -0) 📝 `client/src/constants/EntryActionTypes.js` (+1 -0) 📝 `client/src/containers/BoardActionsContainer.js` (+3 -0) 📝 `client/src/entry-actions/cards.js` (+8 -0) 📝 `client/src/lib/custom-ui/components/Input/Input.jsx` (+2 -0) 📝 `client/src/locales/en/core.js` (+1 -0) 📝 `client/src/locales/fr/core.js` (+4 -0) 📝 `client/src/models/Board.js` (+47 -0) 📝 `client/src/models/Card.js` (+5 -0) 📝 `client/src/models/Label.js` (+12 -0) 📝 `client/src/models/List.js` (+32 -0) 📝 `client/src/models/User.js` (+14 -0) 📝 `client/src/sagas/core/services/cards.js` (+7 -0) 📝 `client/src/sagas/core/watchers/cards.js` (+3 -0) 📝 `client/src/selectors/boards.js` (+19 -0) </details> ### 📄 Description Hi, I've implemented the card search functionality #53. This feature allows users to search for : * cards based on their name * regular expression when starting with / * users assigned to cards with @xxx * user who created the card with !xxx * labels with #xxx. It enhances the overall usability of the project and keep it simple with only a few click. Changes made: - Added a search input field to the card list. - Updated the UI to display search results dynamically. Testing: - Tested various search queries (including edge cases) to ensure accurate results. - Verified that the UI updates correctly when searching. Preview : ![image](https://github.com/plankanban/planka/assets/2766455/35664b42-f017-4d04-8caa-5af4f0aad637) Thanks for reviewing! 🙌 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:48:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1077