refactor: style tweaks and bug fixes

- italic and bold for rundown metadata entries
- allow deleting groups
- make groups in order
- correct style for milestones
- open playing groups
- style tweaks
This commit is contained in:
Carlos Valente
2025-07-11 14:02:07 +02:00
parent 50b603f668
commit 4d419c0877
22 changed files with 118 additions and 39 deletions
@@ -1620,7 +1620,7 @@ describe('rundownMutation.clone()', () => {
});
describe('rundownMutation.group()', () => {
it('groups a list of existing events into a new block', () => {
it('groups a list of existing events into a new group entry', () => {
const rundown = makeRundown({
order: ['1', '2', '3'],
entries: {
@@ -490,9 +490,9 @@ function clone(rundown: Rundown, entry: OntimeEntry): OntimeEntry {
}
/**
* Groups a list of entries into a block
* Groups a list of entries
* It ensures that the entries get reassigned parent and the block gets a list of events
* The block will be created at the index of the first event in the order, not at the lowest index
* The group will be created at the index of the first event in the order, not at the lowest index
* Mutates the given rundown
*/
function group(rundown: Rundown, entryIds: EntryId[]): OntimeBlock {