Loading…
Reference in a new issue
No description provided.
Delete branch "fix/trail-order-by-session"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1269. Closes #1271. Closes #1273. Closes #1275. Closes #1276.
The owner's fixes to the 4.6.x map from testing on dev, all for 4.6.2 (owner, 2026-10-29: "this is effectively patching what we built").
Backend
a1269b0c1d2e(revisesf1263a0b1c2d; unreleased, so all three columns are in one migration):trail_stops.after_session_number(#1269): the session a stop comes after. A between-sessions stop takes the last session played when it was entered. Backfilled.trail_stops.position(#1275): a GM's order within a group. NULL until the group is first reordered.trail_stops.jumped(#1273): no line leads to this stop. Not null, default false.map_service.trail_order(): (after_session_number NULLS FIRST, own before between, position NULLS LAST, created_at, id). Used bylist_trailand the export.POST /parties/{id}/trail/{stop_id}/move {"direction": "earlier"|"later"}(GM): moves a stop within its group and numbers the group. 422 at either end, 404 for another party's stop.add_trail_stoptakesjumped, and stampscreated_atwith the call's time instead of the transaction's (two stops in one transaction tied).GET .../trailaddsjumpedandafter_session_number. Additive only, and not a bot route, so no contract bump.after_session_key,positionandjumped. Older files place between-sessions stops fromcreated_at.Frontend
jumpedstop and where it changes map with no link.Wording
Mine, apart from "Add a stop…" (the owner's): "Where did they come out of …?", "Where did they end up?", "No line to it: they went by portal or magic", "by portal or magic", "Earlier"/"Later", "Find a marker", "Save the stops"/"Choose the spots", "Click or tap where they came out" and "Click or tap where they ended up".
Checked
docker-test(throwaway Postgres): maps API, edit API, both map migrations, the trail-order migration, the head pin, export files and maps, and setup copy: 209 passed. ruff format and check pass.src/pages/wiki, with Map.test.jsx at 61 (new tests for the portal flow, a jump, trail groups and reordering, and On this map). eslint reports 0 errors.changelog.py checkpasses.Not checked
🤖 Generated with Claude Code
- trail_stops.position (a GM's order within a session) and .jumped (no line leads here), in the unreleased migration a1269b0c1d2e. POST .../trail/{stop_id}/move moves a stop earlier or later in its group. - "Add a stop" replaces "Where did the party end up?". After a stop at a portal it asks where the party came out (a marker on any map, a spot, or nothing yet); the page saves the plan's stops in order, asking for each spot. The trail is drawn in segments, broken before a jumped stop and where it changes map with no link. - The trail list is grouped by session, newest first, the latest open, with Earlier/Later for a GM. "On this map" is grouped by kind, folded, with a search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>fix(webapp): the party's trail in session order, and a searchable stop form (#1269, #1271)to fix(webapp): the party's trail, as it needs to work (#1269, #1271, #1273, #1275, #1276)