-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cannot hide or move No Value for custom stage field on kanban view #8591
Comments
I will take a look |
I understand the issue, Pl assign it to me, I can solve it |
@Bonapara It seems hide/dnd(drag-and-drop) has been intentionally disabled for no value groups in this PR - e8d96cf Now, do we wanna change that behavior and not differentiate them? You can check out these 2 specific lines in the PR -
|
Hi @khuddite I think we might change that behavior so the "no value" acts like other groups if it doesn't break anything. |
@Bonapara If that's the path we wanna follow, I will make the necessary changes in a way nothing breaks. |
Notion allows it, so I don't see why we wouldn't! |
…8613) Fixes #8591 1. Summary We disabled hide/dnd(drag-and-drop) options for `No value` view group intentionally in the first implementation. We want to change it to behave like normal view groups, so enable hide/dnd for `No value` view group as well. 2. Solution I have removed the code that filters the `No value` group out of view groups, so `No value` is stored in the same array as other view groups. I have removed the `No value` flag check for `Hide` button on the hamburger menu of the Kanban header. I had to update the code in `packages/twenty-front/src/modules/views/utils/mapViewGroupsToRecordGroupDefinitions.ts` because it was ignoring the visibility flag of the `No value` view group and set it always to true. Also, it was always putting the `No value` group last ignoring the previous position. >**_I am not 100% confident in the changes I made in `packages/twenty-front/src/modules/views/utils/mapViewGroupsToRecordGroupDefinitions.ts`. I'd like to have a review from someone more familiar with that part._** 3. Recording https://github.com/user-attachments/assets/e135e22e-6e3a-4f94-a898-aafc03bba060
Bug: cannot hide No Value; cannot move No Value to the top
The text was updated successfully, but these errors were encountered: