Repository navigation
Commit 6c5c9ab
committed
ui(tour): show "Nearest stop" only once a departure is set
"Nearest stop" extends a tour from its frontier (the last stop, or the
departure when empty), so it's meaningless without a departure — it would
just invent a random origin. Hide it until an origin is chosen, and re-evaluate
on live form changes so it appears the moment a departure is typed or filled.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GjYKzVUaZR1Awer3K9BTXW1 parent 5159b40 commit 6c5c9ab
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
1039 | 1040 | | |
1040 | 1041 | | |
1041 | 1042 | | |
1042 | | - | |
1043 | | - | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1044 | 1052 | | |
1045 | 1053 | | |
1046 | 1054 | | |
| |||
0 commit comments