Carlos Valente
1a95bc43a3
folow selected
2025-06-17 06:31:46 +02:00
Carlos Valente
1604762f2b
style tweaks
2025-06-17 06:31:46 +02:00
Carlos Valente
2f8f4ad129
wip: countdown view redesign
2025-06-17 06:31:46 +02:00
Carlos Valente
0c7c90cae4
refactor: update flat rundown
2025-06-17 06:31:46 +02:00
Carlos Valente
1148ac1924
refactor: remove public view
2025-06-17 06:31:46 +02:00
Carlos Valente
100fbabfc6
refactor: inactivity checks keyboard and has initial state
2025-06-17 06:31:46 +02:00
Carlos Valente
42810a97ca
refactor: small behaviour tweaks
2025-06-17 06:31:46 +02:00
Carlos Valente
05a9b2af1a
refactor: action-blue is from blue scale
2025-06-17 06:31:46 +02:00
Carlos Valente
1bac3a7fd0
refactor: style tweaks to view styles
2025-06-17 06:31:46 +02:00
Carlos Valente
8281314ede
refactor: use ontime button in view
2025-06-17 06:31:46 +02:00
Carlos Valente
3e0b3f100e
refactor: create reusable buttons
2025-06-17 06:31:46 +02:00
google-labs-jules[bot]
fb93063b47
refactor: style tweaks to edit css modal
2025-06-13 10:36:48 +02:00
google-labs-jules[bot]
24d3bf05ca
refactor: remove usages of framer-motion
2025-06-13 10:36:26 +02:00
Alex Christoffer Rasmussen
a4b15970de
Upgrade expressjs ( #1633 )
...
* upgrade expressjs
* migration
* reenable test
* extend timeout on download test
* fixup! migration
* move empty body test from controller to validator
* enusre not empty
* extract validation function
* fixup! reenable test
* remove thin controllers
* disable e2e test of project file download
2025-06-12 15:02:35 +02:00
Alex Christoffer Rasmussen
2a5b053d97
Refactor: require trigger in all events objects ( #1636 )
...
* reqire trigger in all events
* use structuredClone when cloning an event
2025-06-12 09:54:57 +02:00
google-labs-jules[bot]
02c30c9681
Fix: Correct boundary condition in applyDelay
...
The `applyDelay` function had a condition that incorrectly used `rundown.order.length` instead of `rundownMetadata.flatEntryOrder.length` to check if a delay entry was the last in the sequence. `rundown.order` only contains top-level entries, while `flatEntryOrder` contains all entries, including those within blocks, which is the relevant list for this check.
This commit corrects the condition to use `rundownMetadata.flatEntryOrder.length`.
Existing tests in `rundown.dao.test.ts` (specifically the test `removes delays in last position without applying changes`) already cover this scenario and pass with the correction, ensuring the fix behaves as expected.
2025-06-10 21:37:40 +02:00
Alex Christoffer Rasmussen
2de7221653
let vite be the proxy to the dev server ( #1630 )
2025-06-09 14:12:59 +02:00
Carlos Valente
2498e59156
refactor: migrate custom fields to transactions
...
refactor: extract functions to api domain
refactor: strict custom field parsing
refactor: remove rundown cache utilities
refactor: directory restructure
2025-06-09 14:12:59 +02:00
Carlos Valente
f3b4ea0155
refactor: simplify validations
2025-06-09 14:12:58 +02:00
Carlos Valente
aebf949883
refactor: create transaction system and apply to adding entry ( #1620 )
...
* refactor: create transaction system and apply to adding entry
* refactor: migrate edit mutations to transaction
* refactor: migrate delete mutation to transaction
* refactor: migrate reorder mutation to transaction
* refactor: migrate apply delay to transaction
* refactor: migrate swapEvents to transaction
* refactor: migrate clone to transaction
* refactor: migrate group/ungroup transactions
* refactor: simplify mutations
* refactor: migrate getters
* chore: add tests to processRundown()
2025-06-09 14:12:58 +02:00
Alex Christoffer Rasmussen
33ac05ebee
Refactor: better rounding ( #1594 )
2025-06-09 14:12:58 +02:00
Carlos Valente
421183fe55
refactor: improve reorder logic
2025-06-09 14:12:58 +02:00
Carlos Valente
b66c19769d
chore: simplify URLs
2025-06-09 14:12:57 +02:00
Carlos Valente
7b8445597f
refactor: order is single source of truth
2025-06-09 14:12:57 +02:00
Carlos Valente
0b719c485f
refactor: refetch targets is enum
2025-06-09 14:12:57 +02:00
Carlos Valente
17deeddb87
refactor: small ux improvements
...
- rename dissolve > ungroup
- prevent ondrag when clicking
- add untitled as block title fallback
- move block action to context menu
2025-06-09 14:12:57 +02:00
Carlos Valente
2546159a94
refactor: remove trivially inferred numEvents
2025-06-09 14:12:56 +02:00
Carlos Valente
2f26f20db5
feat: duplicate groups
2025-06-09 14:12:56 +02:00
Carlos Valente
11e0215530
feat: create group from entry selection
2025-06-09 14:12:56 +02:00
Carlos Valente
ea54953298
feat: create block from rundown empty
2025-06-09 14:12:56 +02:00
Carlos Valente
d21f132674
fix: collapsed blocks dont render children
2025-06-09 14:12:56 +02:00
Carlos Valente
c7b2f0e89c
refactor: type cleanup and test improvements
2025-06-09 14:12:56 +02:00
Carlos Valente
a1505606cf
feat: allow dissolving a block
2025-06-09 14:12:56 +02:00
Carlos Valente
9edff55bd5
fix: uncontrolled prop on controlled component
2025-06-09 14:12:56 +02:00
Carlos Valente
e287215179
refactor: improve return of reorder
2025-06-09 14:12:56 +02:00
Carlos Valente
776649c997
refactor: mutations on batch elements must have IDs
2025-06-09 14:12:56 +02:00
Carlos Valente
9de5e0ac48
chore: upgrade dependencies
2025-06-09 14:12:55 +02:00
Carlos Valente
c7d99073f6
refactor: extract utility to merge two arrays
2025-06-09 14:12:55 +02:00
Carlos Valente
5c1694d802
refactor: change network mode defaults
2025-06-09 14:12:55 +02:00
Carlos Valente
7cd319a6b3
fix: delete nested events
2025-06-09 14:12:55 +02:00
Carlos Valente
2c9b6918e6
fix: add event at end of block
2025-06-09 14:12:55 +02:00
Carlos Valente
a50cfad7ef
refactor: make finder available in exported rundown
2025-06-09 14:12:55 +02:00
Alex Christoffer Rasmussen
66cd1decde
assert non null and update test ( #1604 )
2025-06-09 14:12:55 +02:00
Alex Christoffer Rasmussen
c9bf6d9812
Fix project renumber ( #1597 )
...
* fix: generateUniqueFileName
* loadProject should not generate new names
* update comments
* extract and test getProjectNumber
* spell
* finish jsdoc
* use getProjectNumber
* cleanup loadProject
* create a `incrementProjectNumber` function
* spelling
Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com >
---------
Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com >
2025-06-09 14:12:55 +02:00
Alex Christoffer Rasmussen
8557f64382
Refactor: WebSocket from flush queue to one patch ( #1595 )
...
* change flush to one patch
* remove unused types
* create batch
* merge patch into eventStore
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-09 14:12:55 +02:00
Alex Christoffer Rasmussen
8e994fb0df
Refactor: ms for api calls ( #1593 )
...
* use ms for api calls
* change it in UI
* update comment
* rename variables
* refactor: addtime api logic
2025-06-09 14:12:55 +02:00
Alex Christoffer Rasmussen
5c47a834b5
fix test ( #1601 )
...
* fix test
* add comment
2025-06-09 14:12:55 +02:00
Carlos Valente
f356afef43
fix: rebase master
2025-06-09 14:12:55 +02:00
Carlos Valente
eba5252e40
chore: correct test path
2025-06-09 14:12:54 +02:00
Carlos Valente
72c4ad789a
refactor: extract rundown parsing
...
refactor: implement groups in editor
2025-06-09 14:12:54 +02:00