Repository navigation
Canvas shell: persistent live map backdrop, orders on the canvas - #442
Merged
Merged
Conversation
…the canvas In the canvas layout the live map is registered as the fleet-ops:live-map backdrop and stays mounted across Fleet-Ops routes. The orders map view requests layers on the backdrop instead of mounting its own map, table and board render as floating canvas cards, the view switch floats top-centre, order details open in a Sheet, and crumbs/chips go to the context bar. The page tree is registered in engine:fleet-ops for the dock flyout. Every piece is feature-detected; the classic layout renders as before.
…tub universe events and hostRouter
This was referenced Dec 3, 2026
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.
Shell phase 3, Fleet-Ops part (engine only, no server changes).
Canvas layout
universe.registerBackdrop('fleet-ops:live-map', …, { routes: ['console.fleet-ops'], keepAlive: true }). The registered component only renders a target element. The engine's application template portalsMap::BackdropLiveMapinto it within-element, so the map uses the engine'smapManager/leafletMapManager. The map stays mounted across every Fleet-Ops route. Provider choice (Leaflet, Google, custom tiles) still goes throughMap::LeafletLiveMap.<Map>mount. The view requestsdrivers/vehicles/orderslayers on thebackdropservice and releases them on exit. The toolbar, search, order list and drawer float over the backdrop.Layout::ViewSwitchswitches between map, table and board and offers New order when the user has permission.SheetviaLayout::Resource::Panel @layout @sheetWidth="lg".N activeandN stale GPS, or the order status and Stale GPS.menu-panels inengine:fleet-ops. The classic sidebar filters these out.Classic layout
Unchanged. Every canvas piece is feature-detected (
registerBackdrop, thebackdrop,context-barandshellservices, thelayout/view-switchcomponent), so the engine still runs on older ember-core and ember-ui.The layout is read from
shell.isCanvas. If that is unavailable, it falls back to the session override, then thelayoutoption, then the presence of the canvas root.Depends on
Known limits
.fb-canvas-contentand the engine outlet must befb-canvas-passthrough, or the map does not receive drags.CI
The PHP CI already fails on the base. The Ember checks are what this PR needs to pass.