Carlos Valente
66a4e27fdd
refactor: remove unused data
2025-07-26 10:51:00 +02:00
Carlos Valente
445cc9e845
feat: time to next flag
2025-07-14 11:39:16 +02:00
Carlos Valente
a69c5f354c
react 19 type migration
2025-07-13 12:33:50 +02:00
Carlos Valente
a1ad1d47a4
refactor: review action menu
2025-07-08 16:34:23 +02:00
Carlos Valente
17a7d035bf
refactor: style cleanups and migrations
...
fix: close modal with button
refactor: small type improvements
refactor: migrate time inputs
refactor: migrate tooltips
refactor: prevent component resizing
2025-07-07 18:22:10 +02:00
Carlos Valente
6facd6a666
refactor: improve editor and cuesheet headers
...
- consistent behaviour for app mode
- improve navigation
2025-07-07 18:22:10 +02:00
Carlos Valente
5600235ba1
refactor: restructure settings
...
refactor: migrate react components
2025-07-04 15:32:33 +02:00
google-labs-jules[bot]
cd8e014f08
refactor: optimize cuesheet IntersectionObserver
...
Decouples the IntersectionObserver from the React component tree to
prevent
unnecessary re-renders of the entire Cuesheet table when row visibility
changes. Restores rootMargin for better UX and memoizes EventRow.
- Introduced `rowObserver.ts` to manage a global IntersectionObserver.
- Observer callback directly updates `useVisibleRowsStore`.
- Configured with `rootMargin: '400px 0px'` and `threshold: 0.01`
to pre-load and retain rows near the viewport, improving UX.
- `EventRow` components use `observeRow`/`unobserveRow` from
`rowObserver.ts`.
- `EventRow` is now wrapped in `React.memo` to prevent re-renders if
props
haven't changed when its parent re-renders.
- Removed observer creation and prop-drilling from `CuesheetBody.tsx`.
This ensures only individual rows re-render content based on visibility
and optimizes row component rendering, improving performance and UX.
2025-07-03 08:46:21 +02:00
Carlos Valente
24a3823d3b
refactor: entry actions in cuesheet
...
fix: insert entry before
fix: avoid double submit on enter
fix: move events in the rundown
fix: clone groups
2025-07-03 08:46:21 +02:00
Carlos Valente
8ad260d28a
refactor: cuesheet design review
...
fix: parsing of custom fields for blocks
refactor: extract cuesheet settings
refactor: cuesheet actions
refactor: improve cuesheet performance on resizing
2025-07-03 08:46:21 +02:00
Carlos Valente
aefa4cbf44
refactor: simple migrations and tweaks to cuesheet
2025-06-28 08:17:08 +02:00
Alex Christoffer Rasmussen
4872cd0a48
Colorised spreadsheet ( #1643 )
...
* feat: colorise spreadSheet with rundown color
* feat: add colorisation in spreadsheet for block
* feat: border color
* fix: cleanup accessible color
* fix: review before merge (https://github.com/cpvalente/ontime/pull/1608 )
* fix: usgae of map instead foreach (https://github.com/cpvalente/ontime/pull/1608 )
* Update apps/server/src/services/sheet-service/SheetService.ts
Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com >
* fix: comment condition
* fix: Remove Color plugin (but don't can get color like 'red' or 'black')
* fix: isLight for more clean code
* fix: remove map on isLight function
* fix: remove debug logger
* refactor colour
* lint
---------
Co-authored-by: Gwenitora <gwenitora.gardu74@gmail.com >
Co-authored-by: Gwenitora <61121870+Gwenitora@users.noreply.github.com >
Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com >
2025-06-24 22:38:03 +02:00
Carlos Valente
abd9b127db
refactor: restructure model to contain an object of rundowns
2025-06-09 14:12:51 +02:00
Carlos Valente
133b3aa819
refactor: create hash of table state
2025-04-30 20:23:49 +02:00
asharonbaltazar
d81f5fcfe1
chore(ui): update icons package ( #1556 )
...
* chore: add new icons package and remove the old one
* chore: update and consolidate imports
* chore: missed import
2025-03-25 16:36:47 -04:00
Shobhit Nagpal
e5b30770ce
feat: add table navigation to cuesheet table ( #1483 )
...
* refactor: cuesheet table body
* feat: add table navigation
2025-03-04 22:01:21 +01:00
Carlos Valente
8c593b3487
refactor: use memoised selector
2025-02-23 21:50:01 +01:00
Carlos Valente
ba74622569
refactor: use native button
2025-02-23 21:50:01 +01:00
Carlos Valente
f76c0d1a6d
refactor: improve composition performance
2025-02-23 21:50:01 +01:00
Carlos Valente
84a5b4fe5b
refactor: use a single menu for table
2025-02-18 14:14:14 +01:00
Carlos Valente
2c8b6180d7
refactor: show menu only if enabled
2025-02-18 14:14:14 +01:00
Carlos Valente
c9ef2465f8
refactor: visibility options
2024-12-20 21:15:26 +01:00
Carlos Valente
c445c42f8a
refactor: extract edit element in table
2024-12-20 21:15:26 +01:00
Carlos Valente
3d37f42fe0
refactor: tweak styling
2024-12-20 09:03:02 +01:00
Carlos Valente
8f30c0a7df
refactor: restructure element composition
2024-12-20 09:03:02 +01:00