Skip to content

Offshore Wind Dispatch: UI state as data Bryntum renders - #29

Merged
matsbryntse-dev merged 5 commits into
mainfrom
data-driven-ui
Nov 11, 2026
Merged

matsbryntse-dev merged 5 commits into
mainfrom
data-driven-ui

Conversation

@matsbryntse-dev

Copy link
Copy Markdown
Collaborator
  • The crews' lifted and pending states are fields on the waiting-team records (not persisted, so Undo doesn't record them); the List re-renders the changed card, the tray's DOM loops and configs are gone
  • Trips a held crew fits on are marked by the trip renderer and repainted through the Scheduler's API
  • The wind row's over-limit marks and the forecast label come from the header renderers
  • The chart follows theme changes through Bryntum's theme event
  • The held crew is placed on its outline without waiting frames

🤖 Generated with Claude Code

matsbryntse-dev and others added 5 commits November 11, 2026 14:19
… record fields

A waiting team's record holds whether it is dragged and whether its booking is being
placed. The List redraws the changed card and its template reads the fields, instead
of the tray toggling classes on the cards. The fields are not persisted, so the
forecast's Undo does not record them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ips a team fits on

The trips that start or stop fitting are drawn again, their vessels' rows only, and
the renderer reads the fitting trips, so the outline also survives a row redraw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the header renderers

A new forecast draws the time axis header and the vessel column's header again, the
renderers output the wind values, their over the limit mark and the forecast label.
No patching of the header cells after they are drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The light / dark toggle pins the mode through DomHelper.colorScheme, which fires
GlobalEvents' theme event: the chart listens to it instead of watching the root's
attributes. The system setting is still watched directly, Bryntum reports it only
once a widget has asked for the mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ame wait

The drop outline is drawn as the check is set, so the chip is placed on it at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@matsbryntse-dev
matsbryntse-dev merged commit 46fdb69 into main Nov 11, 2026
5 checks passed
@matsbryntse-dev
matsbryntse-dev deleted the data-driven-ui branch November 11, 2026 14:54
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.

1 participant