Treat no value view group as normal & enable hide/dnd for no value #8613
+40
−71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #8591
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 forNo value
view group as well.Solution
I have removed the code that filters the
No value
group out of view groups, soNo value
is stored in the same array as other view groups. I have removed theNo value
flag check forHide
button on the hamburger menu of the Kanban header. I had to update the code inpackages/twenty-front/src/modules/views/utils/mapViewGroupsToRecordGroupDefinitions.ts
because it was ignoring the visibility flag of theNo value
view group and set it always to true. Also, it was always putting theNo value
group last ignoring the previous position.https://github.com/user-attachments/assets/e135e22e-6e3a-4f94-a898-aafc03bba060