Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Created WelcomeMessage component with title and local storage notice - Added translations for welcome message (English and German) - Integrated welcome message into LearningMapEditor - Shows when no nodes or edges exist in the roadmap - Provides buttons for: Open File, Add Topic, and Help - Welcome message automatically disappears when content is added - Fixed z-index and pointer-events for proper dialog interaction Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
|
@copilot something is wrong with the height on my android phone, since stuff is cut off. Also the help popup does not appear, only after adding a node. |
- Changed help dialog from position: absolute to fixed with z-index: 1000 - Changed welcome message from height: 100% to min-height: 100% - Added overflow-y: auto to welcome message for scrollability - Added responsive CSS for mobile devices (max-width: 640px) - Reduced font sizes and padding on mobile - Made buttons full width on mobile - Added box-sizing and width management for better responsiveness Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Fixed both issues in commit
|
|
@copilot I think that the learning map editor is still cut off on mobile. |
- Changed welcome message to use height: 100% with top/right/bottom/left positioning instead of min-height - Added overflow-x: hidden to prevent horizontal scrolling - Added flex-shrink: 0 to welcome-content to prevent content compression - Changed mobile layout to align-items: flex-start with padding-top for better positioning - Reduced mobile title size from 36px to 32px for better fit - Added toolbar responsive styles - hide labels and reduce padding on mobile - Added toolbar-button responsive sizing for mobile - All content now properly fits within mobile viewports without being cut off Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Fixed in commit The editor canvas is now properly constrained on all mobile devices. |

Implementation Summary
This PR implements a welcome message for empty roadmaps, similar to Excalidraw's onboarding experience.
Features
Behavior
Bug Fixes
Latest Commit (Mobile Viewport Fix):
min-height: 100%toheight: 100%with proper boundary constraintsalign-items: flex-startwith top padding on mobile for better content positioningPrevious Commit (Dialog and Layout):
absolutetofixedwith proper z-indexmin-heightinstead ofheightto prevent content cutoff on mobile devicesoverflow-y: autoto allow content to scroll on smaller screensScreenshots
Welcome message on empty roadmap:

Help dialog now works from welcome message:

Mobile view (360x640 - Android):

Mobile view with node (360x640):

Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.