Repository navigation
fix(dashboard): Operation TRACE layout and thumbnail fixes - #83
Merged
Merged
Conversation
- Explorer grid now displays thumbnails for all documents (not just selected) - Map marker popup displays thumbnails when available with fallback to placeholder - Fixed layout: map now fills available vertical space, event stream docks at bottom Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR fixes three issues in the Operation TRACE view:
Issue 1: Explorer Grid Thumbnails
Explorer grid now displays thumbnails for all documents without requiring selection. Previously, thumbnails were only shown for the selected document.
Changes:
documentThumbnailCachestate to cache document details with thumbnailsloadDocumentThumbnailCachefunction to fetch thumbnails for grid itemsIssue 2: Map Marker Popup Thumbnails
Map marker popups now display photo thumbnails when available, with proper fallback to placeholder icons.
Changes:
MapCanvas.tsxto include thumbnail images in marker popupsapi.getTraceThumbnailUrl()to generate thumbnail URLsIssue 3: Trace Layout - Vertical Space Fix
Fixed the large empty space between map and event stream. The map now consumes all available vertical space while the event stream docks at the bottom.
Changes:
TraceView.tsxlayout: EventStream is now a sibling to.trace-contentTraceView.css,MapCanvas.css, andEventStream.cssflex: 1 1 autoto grow and fill available spaceSuccess Criteria
✅ Explorer grid thumbnails visible
✅ Event stream thumbnails visible
✅ Marker popup thumbnails visible
✅ Map fills available vertical space
✅ Event stream remains docked to bottom
✅ No unused blank area remains
Files Changed
dashboard/src/pages/ArtifactExplorer.tsx- Thumbnail cache for griddashboard/src/components/MapCanvas.tsx- Popup thumbnailsdashboard/src/pages/TraceView.tsx- Layout restructuringdashboard/src/pages/TraceView.css- Flex layout fixesdashboard/src/components/MapCanvas.css- Container sizingdashboard/src/components/EventStream.css- Prevent shrinking@tamzrod can click here to continue refining the PR