-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove "Compact View" Toggle from L2 Kanban Option Menu #6116
Comments
To remove the 'Compact view' toggle from L2 Kanban Option Menu, update the conditional rendering logic in
{!currentMenu && viewType === ViewType.Kanban && (
<>
<DropdownMenuSeparator />
<DropdownMenuItemsContainer>
<MenuItemToggle
LeftIcon={IconBaselineDensitySmall}
onToggleChange={() =>
setAndPersistIsCompactModeActive(
!isCompactModeActive,
currentViewWithCombinedFiltersAndSorts,
)
}
toggled={isCompactModeActive}
text="Compact view"
toggleSize="small"
/>
</DropdownMenuItemsContainer>
</>
)} References
|
Hi @Bonapara , I want to work on this. |
Sure @saurabhsubham113, thanks for contributing! |
Hi @Bonapara one small help required. do you have any documentation on how to setup this monorepo project in local and run the twenty-front project. It would be really helpful |
Hi @saurabhsubham113, we have docs.twenty.com. If you have further questions, feel free to ask on Discord! |
@Bonapara I would like to work. |
Current Behavior
The "Compact view" toggle is visible on every Kanban sub-option menu (like the
Fields
menu andFields > Hidden Fields
).CleanShot.2024-07-03.at.17.47.27.mp4
Desired Behavior
It should only be visible in the level 1
Options
menu.The text was updated successfully, but these errors were encountered: