Skip to content

Put start and goal settings on the SSS and goal turnpoints - #691

Merged
pokle merged 7 commits into
masterfrom
cursor/route-start-goal-settings-6808
Sep 19, 2026
Merged

pokle merged 7 commits into
masterfrom
cursor/route-start-goal-settings-6808

Conversation

@pokle

@pokle pokle commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Opening the start cylinder on the route editor now edits start type, direction and gates. Opening the last turnpoint edits goal type and deadline.

Type sits immediately above those sections, in this order: Takeoff, Start Speed Section (SSS), Turnpoint, End Speed Section (ESS), Goal.

The route page disclosure and the start-cylinder sheet heading use the same wording: Start Speed Section (SSS).

Adding infers a type from position: first is Takeoff, second is Start, third onwards is Turnpoint. ESS and Goal are never inferred — they have to be picked. If the current last is already Goal, a new add becomes Goal and the old one becomes a Turnpoint, so last-is-goal stays true.

A Takeoff or Start being added does not open Goal settings (those sheets are about launch and start). Reordering keeps Goal last the same way: a Goal that is no longer last becomes a Turnpoint, and a turnpoint moved after Goal takes Goal.

Goal is UI-only. The .xctsk has no Goal type (the last turnpoint is the goal), so Goal strips to untyped on save and an untyped last loads back as Goal.

Merged latest master (waypoints rewrite, Back-asks-before-discard, altitude zero-is-never-missing).

Preview: https://cursor-route-start-goal-sett.glidecomp.pages.dev

How to check

  1. Sign in as a competition admin and open a task’s /route page (for example Task 3 Open).
  2. The collapsed section under the turnpoint list reads Start Speed Section (SSS).
  3. Open a start cylinder — the sheet heading is the same, with start type, direction and gates.
  4. Open Add turnpoint on an empty route — Type is Takeoff and there is no Goal section.
  5. Add a second — Type is Start Speed Section (SSS), still no Goal section.
  6. Add a third — Type is Turnpoint. Pick Goal if you want it labelled as the goal.
  7. Add another after that Goal — the new one is Goal and the previous Goal is a Turnpoint.
  8. Reorder a Goal away from last — the new last becomes Goal (unless it is ESS).

Task 3 Open route with Start Speed Section (SSS) disclosure
Add turnpoint as Takeoff, with no Goal settings
Phone-width route page, Start Speed Section title wraps with no sideways scroll
route-editor-after-master-merge.mp4

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Opening the start cylinder now edits start type, direction and gates;
opening the last turnpoint edits goal type and deadline. The page
disclosures still carry the same controls, moved up next to the list.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
@pokle
pokle marked this pull request as ready for review September 6, 2026 22:53
cursoragent and others added 6 commits September 6, 2026 23:31
The Type list now follows the identity fields, immediately above the
sections that appear from it. On the last turnpoint the untyped option
reads Turnpoint (last is goal), because goal is position, not a type.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
Type order is Takeoff, Start, Turnpoint, ESS, Goal. The first added
turnpoint is Takeoff, the second Start, and later ones Turnpoint —
unless the current last is an explicit Goal, in which case the new
last takes Goal and the old one becomes a Turnpoint. Goal is UI-only
and strips to untyped in the xctsk, which is how last-is-goal is stored.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
The Type options now read Start Speed Section (SSS) and End Speed Section (ESS) instead of the short Start / ESS labels.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
The route page disclosure and the start-cylinder sheet heading now match the Type list wording.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
Keep the Type list, add-inference and start/goal sheets from this branch
together with master's sea-level altitude conversion (draftWithRecord) and
the waypoints-page rewrite.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
Adding a Takeoff or Start no longer opens Goal settings — those sheets are
about launch and start. Reordering keeps Goal last the same way appending
after a Goal does, and a mid-route Type of Goal announces that the row
moved. The longer Start Speed Section title wraps on a phone.

Co-authored-by: Tushar Pokle <tushar.pokle@gmail.com>
@github-actions

Copy link
Copy Markdown

Preview Deployment
https://33f5388f.glidecomp.pages.dev
Commit: 2fb49d1

@pokle
pokle merged commit 2345441 into master Sep 19, 2026
6 checks passed
@pokle
pokle deleted the cursor/route-start-goal-settings-6808 branch September 19, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants