Closed dieknolle3333 closed 2 days ago
The changes in this pull request primarily involve modifications to the SegmentListItem
component and related functionality within the segments and trees tab of the frontend application. Enhancements include updates to the user interface elements, such as the ColoredDotIcon
, as well as the addition of new context menu items for segment management. The introduction of the ScrollableVirtualizedTree
component improves tree rendering performance. Additionally, several import paths have been adjusted to reflect a new directory structure, and CSS styles have been added to enhance button layouts.
File | Change Summary |
---|---|
frontend/javascripts/oxalis/view/right-border-tabs/segments_tab/segment_list_item.tsx |
Updated ColoredDotIcon styles, modified context menu functions to include toast notifications and checks, expanded context menu options, and updated _MeshInfoItem rendering logic. |
frontend/stylesheets/trace_view/_right_menu.less |
Added new CSS class .compact-buttons with styles for buttons. |
CHANGELOG.unreleased.md |
Updated with new features, changes, and fixes related to segments, trees, and UI enhancements. |
frontend/javascripts/oxalis/view/layouting/flex_layout_wrapper.tsx |
Updated import path for SkeletonTabView . |
frontend/javascripts/oxalis/view/layouting/tracing_layout_view.tsx |
Updated import path for importTracingFiles . |
frontend/javascripts/oxalis/view/right-border-tabs/scrollable_virtualized_tree.tsx |
Introduced ScrollableVirtualizedTree component for improved tree view performance with drag-and-drop. |
frontend/javascripts/oxalis/view/right-border-tabs/segments_tab/segments_view.tsx |
Replaced Tree component with ScrollableVirtualizedTree for enhanced rendering performance. |
frontend/javascripts/oxalis/view/right-border-tabs/segments_tab/segments_view_helper.tsx |
Updated SegmentHierarchyGroup and SegmentHierarchyLeaf types to extend from BasicDataNode . |
frontend/javascripts/oxalis/view/right-border-tabs/trees_tab/skeleton_tab_view.tsx |
Updated import paths and adjusted rendering logic for better organization. |
frontend/javascripts/oxalis/view/right-border-tabs/trees_tab/tree_hierarchy_renderers.tsx |
Updated import paths, modified rendering functions, and refined context menu functionalities. |
frontend/javascripts/oxalis/view/right-border-tabs/trees_tab/tree_hierarchy_view.tsx |
Adjusted import paths, replaced AntdTree with ScrollableVirtualizedTree , and refined interaction functions. |
sequenceDiagram
participant User
participant SegmentListItem
participant ContextMenu
participant MeshInfoItem
participant ScrollableVirtualizedTree
User->>SegmentListItem: Click on segment
SegmentListItem->>ContextMenu: Show context menu
ContextMenu->>User: Display options (load, edit, delete)
User->>ContextMenu: Select load option
ContextMenu->>MeshInfoItem: Check mesh status
MeshInfoItem-->>ContextMenu: Return mesh info
ContextMenu->>User: Show toast notification
User->>ScrollableVirtualizedTree: View updated tree
Objective | Addressed | Explanation |
---|---|---|
There should only be one vertical scrollbar (8058) | ✅ | |
Improve layouting to avoid multiple scrollbars (8058) | ✅ |
bug
🐰 In the forest where the segments play,
A virtual tree now leads the way.
With buttons compact and colors bright,
The context menus bring delight!
So hop along, let’s manage with glee,
For every change, there’s joy, you see! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
URL of deployed dev instance (used for testing):
Steps to test:
TODOs:
Issues:
(Please delete unneeded items, merge only when none are left open)
Summary by CodeRabbit
Release Notes
New Features
ScrollableVirtualizedTree
component for improved tree view performance with drag-and-drop capabilities.Improvements
Bug Fixes