-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
introduce done and open filters #5488
introduce done and open filters #5488
Conversation
Would you mind adding a screenshot for easier review? 🙂 |
Thank you very much, that's pretty much what I expected it from a look into the source code. But the approach with the radio buttons has one issue: Once set, only all filter can be cleared. Therefore two UX questions:
Personally I also would merge it with the due date section as these information play together, also in the cards themself. Last not least; Wording. In the cards itself the action is called Completed, it should be the same everywhere. Mixing up the terms Completed and Done is confusing. |
Thanks for the contribution. The wording is indeed not 100% consistent also in the existing code base, I'd settle on "Completed" and "Not completed".
I'd say showing all, completed, uncompleted is still usful, so a threeway option sounds good 👍 @grnd-alt Could you adapt that and also check the failing eslint job and DCO Then this seems good to get merged |
4446abb
to
c4b38a8
Compare
@juliushaertl |
I think for the matter of this PR this is the most sensible option.
This sounds like generally a nicer idea but the best way to implement this might be to migrate the full menu to the NcActions component and then use NcActionButtonGroup/NcActionCheckbox/NcActionRadio for the list entries. So if you're eager feel free to dive into that but I would not consider that required for the scope of this issue for now. |
Ok, great! I'll finish this PR up, and possibly start a refactoring in another PR/issue. |
This comment has been minimized.
This comment has been minimized.
d73bbbc
to
39ed175
Compare
Sorry for the delay on reviewing, will check again today or tomorrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for taking so long, I left some working suggestions and a small comment to simplify the code a bit
Signed-off-by: grnd-alt <[email protected]>
Signed-off-by: grnd-alt <[email protected]>
Signed-off-by: grnd-alt <[email protected]>
Signed-off-by: grnd-alt <[email protected]>
refactor element-ids to filter-option- Signed-off-by: grnd-alt <[email protected]>
Signed-off-by: grnd-alt <[email protected]>
39ed175
to
c6728d3
Compare
Summary
introduces two new filters.
done filter: shows only cards that are done on the board
open filter: shows only cards that are open on the board
Screenshot:
Checklist