aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/island
AgeCommit message (Collapse)AuthorFilesLines
3 hoursfeat(island): date and time format settingsDanilo M.1-0/+247
The clock pill hard-coded "ddd dd/MM" and "HH:mm", and the calendar its day headings. A new Date and time page in the Island bar group picks a 24- or 12-hour clock and one of 22 date formats, grouped by order (day, month or year first) and each shown as today's date. The calendar's headings and editor dates keep spelling the month out and follow the chosen order; agenda times and the hour picker go compact on the 12-hour clock ("9:30p", "1p"), where width is short. A preview mocks the pill and panel with the unsaved choice. The formats live in Cal.js (DATE_GROUPS), which Prefs imports to validate island.dateFormat. Event times still store and show as 24-hour HH:MM, since that is what calctl speaks, but normTime now also accepts am and pm ("9.30pm", "12am"), rejecting an hour outside 1 to 12 with one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 hoursfix(settings): island bar hints above the control they explainDanilo M.2-14/+14
A page's explanation line sat under its control, read after the thing it was meant to explain. On the Calendar and Pills pages it now comes first, as on the new Date and time page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hoursfeat(island): configurable pill order, dragged on a settings pageDanilo M.1-0/+140
The pills' x positions were written per pill around a fixed centre gap. They now come from one pillX() over Prefs.island.pills: the first two sit left of the screen's centre and the last two right, each a gap past the visible pills nearer the centre, so a hidden player or OBS pill leaves no hole and a panel still widens a pill away from the centre. The default order is the previous layout. The Island bar group gains a Pills page: four fixed slots with the centre marked, a pill dragged takes the nearest slot and the others step aside while it moves. The drag holds the pointer (preventStealing) so the page does not scroll under it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hoursfeat(calendar): end time follows the start, default length settingDanilo M.1-0/+76
Moving an event's start now moves its end by the island's default event length, whether the start is typed, wheeled or picked, rolling into the next day past midnight. A multi-day timed event keeps its end, since snapping it to the start's day would drop the other days. Typing follows on every edit that normalises to a valid time, so Save without leaving the field still sees the moved end. A new event gets the same length. The length lives in Prefs as island.eventMinutes (5 to 1440, default 60) and is set on a new Island bar group in the settings window, which the island's other settings will join. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>