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
feat: kanban filters #17424
feat: kanban filters #17424
Conversation
hrwX
commented
Jul 6, 2022
•
edited
edited
- Shows list filters for kanban board.
|
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.
@shariquerik in your proposal the cards no longer pop out from the background, and we cannot easily see the columns. I agree that it looks cleaner, but maybe the UX is still worse. Shall we go ahead with the proposed change anyway? |
@hrwX, I found a couple more issues (mostly not introduced by this PR, but maybe we can fix them anyway):
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #17424 +/- ##
===========================================
+ Coverage 62.39% 62.66% +0.26%
===========================================
Files 744 744
Lines 68396 67283 -1113
Branches 5962 5965 +3
===========================================
- Hits 42679 42161 -518
+ Misses 22138 21640 -498
+ Partials 3579 3482 -97
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
@hrwX @barredterra
I think while any filter or sorting logic is applied we should not allow the user to move items in the same section. Some UI fixes/feat - Unrelated to this PR, still mentioning them maybe fix them in this PR or open a new one.
|
(1) “Not Saved” indicator should come, but only if you have permissions to save.
This was the idea in the past, but it conflicts with the data model somehow, I think. For example, Task already has a priority field. If we allow drag and drop sorting in kanban, we would have a second field for tracking "Kanban priority", that's different from Task priority, and we allow sorting only by this one. IMO, It makes more sense to just sort by the original priority field (or any other one). |
But why? either we have permission or not we are not updating records by setting filters
👍🏻
What about moving items to a different section? |
UX issues
|
Default filters are saved in the Kanban Board. If I'm defining a new board, I can set and save the standard filters for this board. |
CSS and JS for dragging columns didn't match. CSS showed the header as draggable, but it worked only on the title.
Bildschirmaufnahme.2022-08-17.um.00.02.31.mov@hrwX seems to me like the card order doesn't get persisted yet. |
when updating card order / column membership
This reverts commit f458180.
So child classes can use it
@hrwX the order is persisted now, but the filters no longer work 😄 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
@hrwX & @barredterra anyone working on this? |
@shariquerik not really. Himanshu is not working with us anymore, so he's only able to contribute in his spare time. I'm very uncomfortable with the implementation of the sorting logic that we're supposed to keep. Storing the sorted names of the documents in the Kanban Board doesn't make sense to me. What happens when there's a new record or an old one gets deleted? How can we reconcile the stored names with the real state in the database? Any help would be much appreciated! |
I think for the new record it's working but if any record is deleted we get an error (we can just ignore it while rendering and can remove it from the stored list). Closing, for now, feel free to open it if anyone is working on it. |