-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add Support for Working on Learning Maps #27
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
|
@copilot use Concert One as the font, just like the LearningMap editor. |
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Applied Concert One font throughout the Learn page to match the editor style in commit ad93de6. Changes:
Screenshots with Concert One font: |
|
@copilot rework the header to include the logo followed by Learningmap, remove the go to editor button and move the "back to Learningmap" to the right renaming it to "my learningmaps". Mimik the design of the EditorToolbar. |
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Redesigned the header to mimic the EditorToolbar in commit [TBD]. Changes:
Screenshots: Learning maps list with new header: Learning map viewer with new header and "My Learningmaps" button: |
Removed the 'cleanUrls' property from the configuration.
|
@copilot use my brand color: :root {
/* primary */
--learningmap-color-openpatch: #007864;
/* primary dark */
--learningmap-color-dark-forest: #004c45;
/* primary light */
--learningmap-color-freshmint: #b5e3d8;
/* neutral black */
--learningmap-color-black: #000000;
/* neutral dark */
--learningmap-color-coal: #242428;
/* neutral medium dark */
--learningmap-color-charcoal: #3c3c3c;
/* neutral medium */
--learningmap-color-quicksilver: #a4a4a4;
/* neutral light */
--learningmap-color-whitesmoke: #f5f5f5;
/* neutral white */
--learningmap-color-white: #ffffff;
}and remove the x-overflow on the learning maps overview. |
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
... Applied brand colors and removed x-overflow in commit [TBD]. Changes:
Screenshots: Empty state with brand colors: |
|
@copilot the viewport of the leaner LearningMap is not movable. The viewport of the settings should only apply once, then the last viewport which the learner had should be used. Use the defaultViewport for the one coming from the settings: defaultViewport { x: 0, y: 0, zoom: 1 } Then save the current viewport to the state of the Learningmap. Then also limit the viewport so that learners do always see at least one node. Use this with a little padding: translateExtent [[-∞, -∞], [+∞, +∞]] |
…ist viewport state Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
Fixed viewport behavior in commit [TBD]. Changes:
Screenshot: Viewport now movable and persists saved position (x: 100, y: 50, zoom: 1.2): |



Implementation Summary
Successfully added support for working on learning maps with the
/learnroute. The page now uses Concert One font, features a redesigned header matching the EditorToolbar, applies the brand color palette, and properly manages viewport state for learners.Changes in this commit:
fitViewprop withdefaultViewportto respect saved viewport statetranslateExtentcalculation with 200px padding to keep nodes visiblefitView()programmatically on initial load when no saved state existsOriginal prompt
Fixes #26
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.