google-labs-jules[bot]
ba529def34
fix(client): use fresh state in row observer to prevent stale closures
...
The IntersectionObserver callback in rowObserver.ts was capturing the `addVisibleRow` and `removeVisibleRow` actions from the Zustand store only once, at the time of the observer's creation.
This created a potential for a stale closure bug, where the observer would call outdated action functions if the store's state or actions were ever re-initialized. This would lead to the application's state not being updated correctly, causing the bug where visible rows would not render their content.
This commit fixes the issue by calling `useVisibleRowsStore.getState()` inside the observer callback. This ensures that the latest, freshest versions of the action functions are always used, preventing the stale state bug.
2025-08-18 06:16:53 +02:00
Carlos Valente
617da68ab5
fix: storage key conflict across stages
2025-08-18 06:16:53 +02:00
Carlos Valente
efceb930e5
refactor: improve navigation and settings locks
2025-08-18 06:16:53 +02:00
Carlos Valente
836fa52757
fix: small style tweaks and bug fixes
...
fix: remove interactive styles from display elements
fix: automation form reset on submit
fix: prevent empty image src
2025-08-18 06:16:53 +02:00
arc-alex
db922a67e2
chore: cleanup
2025-08-18 06:16:53 +02:00
Alex Christoffer Rasmussen
048a9c96ea
Refactor: split runtime state ( #1725 )
...
* refactor: runtime types
* refactor: runtimeState functions to use the split type
* refactor: RuntimeService to use the new split data
* refactor: use the split data in the UI
* update comments
* refactor: rename runtime to offset
* fix utils test
2025-08-18 06:16:53 +02:00
Carlos Valente
9ab6b30aea
refactor: small code improvements
2025-08-18 06:16:53 +02:00
Carlos Valente
e5d2457717
chore: rename blocks to groups
2025-08-18 06:16:53 +02:00
Carlos Valente
6c6f5c2c0f
feat: cuesheet sharing
...
feat: locked presets
refactor: simplify locked param
refactor: create share links
2025-08-18 06:16:53 +02:00
Carlos Valente
1ed08df198
refactor: extract project info data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
c300fc18e1
refactor: extract timeline data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
bea7e2bb2b
refactor: extract studio data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
ad7f658f15
refactor: extract backstage data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
f23adfa45c
refactor: extract countdown data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
20ee391525
refactor: extract timer data to hook
2025-08-18 06:16:53 +02:00
Carlos Valente
78184b23b7
refactor: simplify routing
2025-08-18 06:16:53 +02:00
Carlos Valente
e204f671be
refactor: small code improvements
...
refactor: remove unused code
refactor: extract loader component
refactor: prevent keyword collision
refactor: cleanup hook pending states
2025-08-18 06:16:53 +02:00
Carlos Valente
8c90f5043f
chore: upgrade react router
2025-08-18 06:16:53 +02:00
Carlos Valente
7a322406da
chore: directory restructure
2025-08-18 06:16:53 +02:00
Carlos Valente
307f0ffd34
feat: expose presets in view options
2025-08-18 06:16:53 +02:00
Carlos Valente
e37d2ce50f
refactor: tweaks to timeline styles
2025-08-06 21:40:19 +02:00
Carlos Valente
dddeefd544
chore: rename projected > expected
2025-08-06 21:40:19 +02:00
Alex Christoffer Rasmussen
bcf80f9d77
chore: rename offset to offsetAbs and offsetRel ( #1706 )
2025-08-06 21:40:19 +02:00
Carlos Valente
daddb7f7b7
fix: open group when selecting from finder
2025-08-06 21:40:19 +02:00
Carlos Valente
765d5d97cf
refactor: readonly inputs in cuesheet
2025-08-06 21:40:19 +02:00
Carlos Valente
a358ec0f17
refactor: small style tweaks
...
refactor: consistent font size on inputs
refactor: style tweaks for block spacing
refactor: improve skipped styles
fix: improve responsiveness in extracted rundown
refactor: style tweaks to overview
refactor: simplify group target duration
2025-08-06 21:40:19 +02:00
Carlos Valente
8a7f8c8ebc
refactor: small style tweaks
...
- cursor styles on dnd
2025-08-06 21:40:19 +02:00
Carlos Valente
3ce539af2a
fix: rendering if countdown in safari
2025-08-06 21:40:19 +02:00
Carlos Valente
6b4d96dddd
feat: extra info in backstage
2025-07-26 10:51:00 +02:00
Carlos Valente
93916653be
refactor: tweaks to styles
...
- cuesheet action is ghosted
- mute index in cuesheet milestones
- clarify mirrored state in navigation menu
- align overview contents
2025-07-26 10:51:00 +02:00
Carlos Valente
40f8976350
fix: custom fields are last in order
2025-07-26 10:51:00 +02:00
Carlos Valente
75554071a7
refactor: improve params performance
2025-07-26 10:51:00 +02:00
Carlos Valente
44508ce8b4
refactor: block writing to base fields in run mode
2025-07-26 10:51:00 +02:00
Carlos Valente
90105a199a
refactor: empty state for cuesheet
2025-07-26 10:51:00 +02:00
Carlos Valente
9618bec847
refactor: prevent reflow on visible rows
2025-07-26 10:51:00 +02:00
Carlos Valente
66a4e27fdd
refactor: remove unused data
2025-07-26 10:51:00 +02:00
Carlos Valente
050629d281
fix: stale column data
2025-07-26 10:51:00 +02:00
Carlos Valente
ad2ef3b53f
refactor: small fixes and style tweaks
...
fix: prevent reflow on editing images
fix: schedule overview
fix: report on all events
refactor: over-under time colours
fix: prevent edit on delete
2025-07-14 16:08:40 +02:00
Carlos Valente
1e1f547ce1
breaking: convert offset > over-under
...
change offset direction and relabel to over-under
2025-07-14 11:39:16 +02:00
Carlos Valente
6f9e13948d
refactor: timeline design review
2025-07-14 11:39:16 +02:00
Carlos Valente
445cc9e845
feat: time to next flag
2025-07-14 11:39:16 +02:00
Carlos Valente
637454f73d
feat: add flag property
2025-07-14 11:38:27 +02:00
Carlos Valente
7305edc398
refactor: review timer styles
2025-07-13 12:33:50 +02:00
Carlos Valente
a69c5f354c
react 19 type migration
2025-07-13 12:33:50 +02:00
Carlos Valente
0eaec1f88f
refactor: timeline style tweaks
2025-07-13 12:33:50 +02:00
Carlos Valente
05d01e0863
refactor: timer design review
2025-07-12 18:41:17 +02:00
Carlos Valente
2aac4cb06d
refactor: remove deprecated views
2025-07-12 18:41:17 +02:00
Carlos Valente
1c6adbd2fd
refactor: upgrade react and add compiler
2025-07-12 18:41:17 +02:00
Carlos Valente
138c6523d2
feat: implement custom project data image
2025-07-12 18:41:17 +02:00
Carlos Valente
d8c1c38123
refactor: fixes to custom field
2025-07-12 18:41:17 +02:00