Add "Aller à" year-jump shortcut next to the filters

Distinct from the existing "Année" filter (which restricts the view
to just that year): this re-centers the sliding window on 1 January
of the chosen year and scrolls there, while staying in the continuous
view -- scrolling still extends the window normally in both
directions, so overlaps between years stay visible, matching the
earlier stated preference for a continuous view over a filtered one.

Resets to the placeholder immediately after firing since it's a
one-shot action, not a sticky filter. Guards against racing the
"Année" watcher's own exitYearMode() when a year filter is already
active when the jump is triggered.
This commit is contained in:
2026-09-04 21:33:59 +02:00
parent 5afc5905d7
commit 53c4e58e72
2 changed files with 51 additions and 0 deletions
@@ -43,6 +43,13 @@
</select>
</label>
<label>Aller à
<select v-model="jumpYearValue" @change="onJumpYearChange">
<option value="">Aller à…</option>
<option v-for="y in allYearsList" :key="y" :value="y">{{ y }}</option>
</select>
</label>
<label>Regrouper par
<select v-model="groupBy">
<option value="none">Aucun</option>