Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
888fc4b
chore(deps): Upgrade maplibre-gl to 5.24.0
joshlarson Oct 19, 2026
276519a
chore(deps): Install `maplibrex`
joshlarson Oct 19, 2026
d2c4c91
feat(robot): Add route-shape lines to the new map
joshlarson Oct 19, 2026
22d5157
refactor(robot): Consolidate all lines onto a single layer
joshlarson Oct 19, 2026
1c230a8
feat(robot): Add stop markers hook
joshlarson Oct 20, 2026
caf18ef
refactor(robot): Make the icon marker JS more general-purpose
joshlarson Oct 20, 2026
dbd9409
feat(robot): Add zoom-to-fit
joshlarson Oct 20, 2026
843d468
feat(robot): Add vehicle icons
joshlarson Oct 20, 2026
43a7243
feat(robot): Keep popups open when vehicles move
joshlarson Oct 20, 2026
346409c
refactor(robot): Migrate new phoenix hook to typescript
joshlarson Oct 20, 2026
5012458
chore(robot): Add tests
joshlarson Oct 20, 2026
79c4161
feat(robot): Add controls
joshlarson Oct 20, 2026
8759480
fix(robot): Ensure that markers render in the right order
joshlarson Oct 20, 2026
d9635e1
refactor(robot): Split the route shape into two layers (outline plus …
joshlarson Oct 20, 2026
40f2c46
unship(robot): Remove old map
joshlarson Oct 20, 2026
dc04601
fix(robot): Fit bounds on variant- and direction-picker
joshlarson Oct 21, 2026
04314a7
fix(robot): Keep map popups underneath non-map things
joshlarson Nov 2, 2026
ea9e80d
Merge remote-tracking branch 'origin/main' into jdl/refactor/use-mapl…
joshlarson Nov 2, 2026
5c5205c
fix: Elixir formatting
joshlarson Nov 2, 2026
920bb66
fix(robot): stop type-checking maplibrex sources
joshlarson Nov 3, 2026
0762c0a
fix(robot): type-check against real maplibrex types
joshlarson Nov 4, 2026
7d30550
fix(robot): resolve TypeScript lint errors
joshlarson Nov 3, 2026
f8b1193
fix(robot): remove eslint-disable comments from icon-markers
joshlarson Nov 9, 2026
06a5831
Merge remote-tracking branch 'origin/main' into jdl/refactor/use-mapl…
joshlarson Nov 9, 2026
d19563e
fix: Merge conflict end removal
joshlarson Nov 9, 2026
254807a
fix(robot): keep map layers after a LiveView reconnect
joshlarson Nov 12, 2026
ed000b4
Merge remote-tracking branch 'origin/main' into jdl/refactor/use-mapl…
joshlarson Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions assets/css/_schedule-line.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
}

.m-schedule-line__stop-popup {
// Must stay above the z-index set on marker groups (see `z_index` on `icon_markers`).
// The map wrapper is `isolate`d so this can't overlap dropdowns outside the map.
z-index: $z-index-map-popup;

.maplibregl-popup-content {
background-color: $black;
color: $white;
Expand Down
1 change: 1 addition & 0 deletions assets/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ $btn-padding-y: $base-spacing * .6;

$z-index-modal: 101;
$z-index-desktop-menu: 100;
$z-index-map-popup: 50; // Above marker groups; only applies within the map's isolated stacking context
$z-index-above-leaflet: 23;
$z-index-leaflet-level-8: 21;
$z-index-leaflet-level-7: 21;
Expand Down
1 change: 1 addition & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use "../node_modules/maplibre-gl/dist/maplibre-gl.css";
@import "../../deps/mbta_metro/priv/dist/metro.css";
@import "../../deps/maplibrex/assets/css/maplibrex.css";
@import "./map.css";

@tailwind base;
Expand Down
3 changes: 2 additions & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import fullstory from "./fullstory";
import googleAnalytics from "./google-analytics";
import googleTranslate from "./google-translate";
import juxtapose from "./juxtapose";
import { MapHooks } from "maplibrex"
import modal from "./modal";
import photoGallery from "./photo-gallery";
import pslPageSetup from "./psl-page-setup.js";
Expand Down Expand Up @@ -48,7 +49,7 @@ import storageOptions from "./storage.js";

let liveSocket = new LiveSocket("/live", Socket, {
params: { _csrf_token: csrfToken },
hooks: { ...DotcomHooks, Map },
hooks: { ...MapHooks, ...DotcomHooks, Map },
dom: {
onBeforeElUpdated(from, to) {
/*
Expand Down
Loading
Loading