Open code1704 opened 6 days ago
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 - https://github.com/twentyhq/twenty/commit/e8d96cfd10fc4d6fd1bb9bf14dd6761e2f372120
Now, do we wanna change that behavior and not differentiate them?
You can check out these 2 specific lines in the PR -
const noValueViewGroups =
viewGroups.filter(
(viewGroup) => viewGroup.type === RecordGroupDefinitionType.NoValue,
) ?? [];
const viewGroupsWithoutNoValueGroups = viewGroups.filter(
(viewGroup) => viewGroup.type !== RecordGroupDefinitionType.NoValue,
);
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!
Bug: cannot hide No Value; cannot move No Value to the top