forked from nrkno/sofie-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properties Panel (bbc/sofie-core #22)
* wip: initial draft implementation of userEditPanel * wip: userEditPanel grouping * wip: userEditPanel cleanup remove schema as it's replaces by schemas * wip: userEditPanel styling and use <select> for list * wip: userEditPanel - make groupType optional to allow empty slots * wip: userEditPanel - convert to FC * wip: userEditPanel - uncomment context menu * wip: UserEditPanel - Add DefaultUserOperationsTypes for revert buttons in panel * wip: UserEditPanel - Default revert button on panel * wip: UserEditPanel - tracker on part and segment * wip: UserEditPanel - only render Segment or Part in panel * wip: UserEditPanel - initial header for part and segment * wip: UserEditPanel - comment for the usage of getTimePosition * wip: UserEditPanel - add Icons in header * wip: UserEditPanel - add button type in UserEditingDefinitions * wip: UserEditPanel - rename revert button to "Revert Changes" * wip: UserEditPanel - add support for SVG icons in grouping (e.g for split or DVE backgrounds) * wip: UserEditPanel - center revert button * wip: Renaming UserEditPanel to PropertiesPanel * wip: UI selection - Context for SelectedElements * wip: UI selection - refactor from useState() to useReducer() * wip: UI selection - use type for SelectedElement * wip: UI selection -Segment not updating upon selection * feat: unit tests for SelectedElementsContext * wip: UI selection - add isSelected to withSegmentTiming * wip: fix props withSelection * wip: fix props withSelection * wip: remove componentDidUpdate - leftover from previous debugging * fix: added listSelectedElements() instead of exposing the selectedElements * fix: add assertNever() to selectionReducer * fix: remove id and use ElementId as reference in context provider * fix: clean up isSelected should parse boolean not function as props * chore: update package with @testing-library/react * fix: tests for SelecedElementsContext updated and type fixed * fix: listSelectedElements is af function not an array * wip: implement useSelection in PropertiesPanel * wip: useSelection on Parts * fix: missing rundown id in propertiespanel actions * feat: add enabling of userediting in settings * feat: doubleclick on part selection for properties panel * fix: properties panel crash when no selection was made * feat: segment selection * feat: dbl click anywhere in segment header to select properties * feat: select part by double clicking a piece * feat: properties panel commit button for pending changes * feat: select/deselect an element - fix flickering upen commit changes * fix: render all userEditOperations when part is selected * feat: move Properties panel out of notification center logic * feat: use context.consumer instead of wrapping * feat: refactor userEditing structure * feat: properties panel with refactored data structure. * feat: Schema selection implemented in commit button logic * feat: implement Layer colors in group selectors * feat: only parse the selected source on useraction commit * feat: simplify structure for userEditing source * fix: rerender group selection when selecting new part * fix: read the SourceLayerType into UserEditingDefinition * feat: selected element indicator * feat: properties panel styling - is edited indication * wip: add close propterties icon (sketch) * wip: properties panel css dim commit+revert when not active * wip: properties panel clean up first iteration selector * wip: properties panel add close upper right * fix: crash UI - remove transiongroup * feat: properties panel animate in and shrink rundown view * fix: cleanup using notificationpanel for properties panel * wip: properties panel, rightbar icon color * fix: re-run only if part.segmentId has changed * wip: tests for properties panel * wip: properties panel tests - useFaketimers and implement mock useTracker() * wip: properties panel - element selection styling * wip: properties panel styling edit pencil icon * wip: properties panel close when notification is open * wip: properties panel selection glow on segment header * feat: StyledSchemaFormInPlace schema component * fix: Properties panel - StyledSchemaFormInPlace schema for normal form * feat: Properties panel is edited pencil styling * feat: Properties header styling * wip: Properties tests - more mocking to get correct rendering in test to work * chore: fix unit tests * feat: refactor form action to properties field * chore: update styles * chore: add actions back into property panel * chore: support translations for properties panel * chore: fix some build issues * feat: allow editing piece properties * chore: various review comments * chore: fix tests * chore: remove unused parameter * chore: removed commented styles --------- Co-authored-by: Mint de Wit <mint@superfly.tv>
- Loading branch information
1 parent
3a47bd1
commit deae44f
Showing
50 changed files
with
2,604 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.