Skip to content

fix(admin-ui): port folder drop confirmation and sidebar truncation fixes to 6.5.0 - #5565

Merged
Pavel910 merged 5 commits into
release/6.5.0from
fm/port-fixes-650
Aug 7, 2026
Merged

fix(admin-ui): port folder drop confirmation and sidebar truncation fixes to 6.5.0#5565
Pavel910 merged 5 commits into
release/6.5.0from
fm/port-fixes-650

Conversation

@Pavel910

@Pavel910 Pavel910 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Port two fixes from release/6.4.7 to release/6.5.0
  • Wire dropConfirmation config prop to FolderTree in the 6.5.0 presentation-layer ContentEntriesListLayout.tsx
  • Block the visual tree update until the drop confirmation dialog resolves (shared useTree.ts, List.tsx, useConfirmMoveFolderDialog.tsx)
  • Truncate long sidebar menu item names to prevent layout overflow (shared SidebarContent.tsx, SidebarRoot.tsx, SidebarMenuSubButton.tsx, SidebarMenuSubItem.tsx)
  • Fix drop confirmation blocking in the presentation-layer FolderTree.tsx (caught by no-mistakes review)

Test plan

  • CMS folder drop confirmation dialog appears when Browser.Folder.DropConfirmation is enabled
  • Cancelling the dialog leaves the folder in its original position
  • Long content model names in the sidebar truncate with ellipsis
  • Sidebar expand/collapse chevrons remain visible with long names
  • Pin icon does not overlap truncated text

…visual update until confirmed

- Pass dropConfirmation prop from ContentEntryListConfig to FolderTree in SidebarContent
- Move presenter.handleDrop after onDrop callback in Tree's useTree so the visual
  tree update only applies after the consumer's callback resolves
- Wrap confirmation dialog in a promise so onDrop blocks until user confirms or cancels
- Pass onClose callback through useConfirmMoveFolderDialog to detect cancellation
- Add test extension for Browser.Folder.DropConfirmation
…t overflow

- Override Radix ScrollArea's display:table inner div to display:block in
  SidebarContent to prevent content-driven width expansion
- Add overflow-hidden to the sidebar's inner container
- Add truncate to sub-menu item text in SidebarMenuSubButton
- Add min-w-0 to sub-menu flex containers so children can shrink
- Add right padding on sub-menu items with pin actions to prevent
  ellipsis from rendering behind the pin icon
- Add stdlib and codegraph MCP servers to .mcp.json
@Pavel910
Pavel910 merged commit 3f3bccd into release/6.5.0 Aug 7, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant