@opndev/tennis-match-center 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changes +66 -1
- package/lib/auto-planner.mjs +1280 -601
- package/lib/components/day-grid.mjs +19 -7
- package/lib/components/gameday-board.mjs +111 -13
- package/lib/components/gameday-card.mjs +31 -0
- package/lib/components/match.mjs +17 -0
- package/lib/components/planning-board.mjs +233 -8
- package/lib/components/roster-board.mjs +42 -2
- package/lib/components/schedule-board.mjs +10 -6
- package/lib/court-bands.mjs +80 -1
- package/lib/four-team-planner.mjs +2 -2
- package/lib/index.mjs +1 -1
- package/lib/knockout-draw.mjs +32 -6
- package/lib/knockout-planner.mjs +12 -4
- package/lib/paired-court-planner.mjs +65 -2
- package/lib/planning-day.mjs +165 -0
- package/lib/run-queue-planner.mjs +167 -11
- package/lib/sessions.mjs +34 -0
- package/lib/three-team-planner.mjs +2 -1
- package/package.json +1 -1
package/Changes
CHANGED
|
@@ -1,4 +1,69 @@
|
|
|
1
|
-
Revision history for@opndev/tennis-match-center
|
|
1
|
+
Revision history for @opndev/tennis-match-center
|
|
2
|
+
|
|
3
|
+
0.0.4 2026-10-10 14:39:58Z
|
|
4
|
+
|
|
5
|
+
* Auto-fill only adds. The Planning board hands the planner the cells
|
|
6
|
+
already on it and the planner works around them; clear a day first
|
|
7
|
+
to plan it afresh. `autoFillPlanning` takes them as `standing`, and
|
|
8
|
+
`days` now defaults to every day the competitions play on.
|
|
9
|
+
|
|
10
|
+
* Played cells survive. Clearing a day or the whole plan keeps the
|
|
11
|
+
cells whose matches were played, and the board marks them. A group's
|
|
12
|
+
played fixtures are left out of what is planned, and what remains of
|
|
13
|
+
it is packed.
|
|
14
|
+
|
|
15
|
+
* A session can name the knockout rounds it opens (`rounds`), a day is
|
|
16
|
+
built from every session it has, and a draw carries into the next
|
|
17
|
+
day.
|
|
18
|
+
|
|
19
|
+
* New `relaxed` option. When courts run short, groups of five can
|
|
20
|
+
share courts: the front of a run on a court of its own, the back on
|
|
21
|
+
a court that lasts, two groups taking turns. Off by default. On the
|
|
22
|
+
Planning board it is a checkbox, and after a fill the board names the
|
|
23
|
+
groups that were split. Show data adds how many groups of each
|
|
24
|
+
competition start in each block.
|
|
25
|
+
|
|
26
|
+
* Each division is spread as evenly as it can be over the blocks of
|
|
27
|
+
the day, and groups rotate two blocks on, also with three blocks.
|
|
28
|
+
|
|
29
|
+
* The planner says when it could not plan everything. Matches of
|
|
30
|
+
four-team groups that found no room are in the shortfall, and
|
|
31
|
+
warnings name a competition with no session, sessions on days the
|
|
32
|
+
plan does not have, and a competition sharing courts could not help.
|
|
33
|
+
|
|
34
|
+
* The Scheduling board draws at the grid's own scale, so a 45-minute
|
|
35
|
+
row is one card tall.
|
|
36
|
+
|
|
37
|
+
0.0.3 2026-10-08 15:31:37Z
|
|
38
|
+
|
|
39
|
+
* Auto score on the gameday desk. Enter in a score box fills the other
|
|
40
|
+
side with 7 when one side is under 7 and the other is empty, then
|
|
41
|
+
ends the match. Leaving a score box, by Tab or a click, only
|
|
42
|
+
prefills the 7 and leaves the match open, so a click on the end
|
|
43
|
+
button is not lost. With both boxes filled, Enter just ends the
|
|
44
|
+
match.
|
|
45
|
+
|
|
46
|
+
* The next-on-court dialog lists the match planned for the court that
|
|
47
|
+
came free first and picks it by default, with the longest wait as
|
|
48
|
+
the alternative below it. Enter in the dialog presses Play, and a
|
|
49
|
+
held Enter that repeats into the dialog is ignored.
|
|
50
|
+
|
|
51
|
+
* The match card says where a match is next to its court: Not before a
|
|
52
|
+
time, Go to court, On court or Final. A host states it with the new
|
|
53
|
+
`state` and `not-before` attributes, because next up depends on the
|
|
54
|
+
other matches on the court. Without a state the card reads started
|
|
55
|
+
and ended as before, and a walkover or retirement still says what
|
|
56
|
+
it was.
|
|
57
|
+
|
|
58
|
+
* The roster board says when each group starts: the first planned
|
|
59
|
+
match of each day it plays, from a `starts` list the roster data
|
|
60
|
+
can carry, such as `Mon 10 Nov, 13:00 / Tue 11 Nov, 09:30`. A group
|
|
61
|
+
nothing is planned for says nothing.
|
|
62
|
+
|
|
63
|
+
* The day grid sizes its hours and cells by the CSS variable
|
|
64
|
+
--planning-scale. A host can make a day more compact or roomier
|
|
65
|
+
with one variable, and a day already drawn follows it without a
|
|
66
|
+
redraw. The default scale is 1, as before.
|
|
2
67
|
|
|
3
68
|
0.0.2 2026-09-21 03:14:21Z
|
|
4
69
|
|