Commit Graph
8 Commits
Author SHA1 Message Date
Kyle Geib 79b098af6c ISSUE-045 - Chyron Body - Added debugDurationMultiplier value that allows me to slow down animations in certain workspaces.
Made TeamName component more customizable with its timing. Now all animations in Chyron are configurable from outside of the styled-component definition.
New Debug option for ChyronContainer so that this animation modifier can never accidentally be active in the main broadcast view.
2022-02-10 19:12:18 -05:00
Kyle Geib 9ff77cc88a ISSUE-045 - Chyron Body - Added Team Name flicker.
Added DarkBG option to Workspace PreviewWindow.
Fixed issue with blindsColorFadeDelay not being correct.
Calibrating the timing of animations and transitions better.
Added the subtle TeamColorBar squeeze look with outline and a wide clip-path adjustment.
2022-02-10 18:33:44 -05:00
Kyle Geib 16c29df42f ISSUE-045 - Venetian Blinds - Improvements to Venetian Blinds prototype controls.
Now you have 10 different options (5 for position flag and 5 for driver portrait) to play with, as well as a slot selector to choose different starting corners.
I have to admit that I didn't want to deal with type juggling with DriverId so I do a pretty hacky job. This is just for prototyping purposes so it really shouldn't be much of a focus for me, right?
Added an overall delay prop for VenetianBlindsTransition so that I don't need to deal with special timing issues for the DriverChyron animation in the future.
2022-02-08 15:14:04 -05:00
Kyle Geib 3ce590d794 ISSUE-045 - Venetian Blinds - Improvements to prototype state management by using partial state updates, which are pretty useful.
More props for <VenentianBlindsTransition>.
2022-02-07 16:30:22 -05:00
Kyle Geib e676c7a95a ISSUE-032 - Progress checkpoint. Have a working "selectedCars" modifying component named GridSelection.
Have a work-in-progress AngledFlag prototype controller that relying on a central state property in the Workspaces portion of the store. It's a bit hacky. But it made me realize that my desire to do silly things with extending interfaces won't work that way I'm going to need to rely on them in the future. I cannot demand more specific data from a state that uses a less specific interface. Rookie mistake.
I am also at the mercy of a design flaw when it comes to using React Hooks: The way I organize Workspaces makes React very angry. When I switch between workspaces that rely on hooks to render correctly the whole thing explodes.

I believe I need to use components directly to correctly unmount - instead of the very hacky switch statement I have in the form of fetchBroadcastGraphic().

I might need to try seeing if ReactRouter can provide my solution.
2022-01-27 17:47:49 -05:00
Kyle Geib df868f1126 ISSUE-025 - Partial failure. Realized that maybe the only way to get the dimensions of the loaded images is to measure them and include them with the file name definitions. To load an image at the center of the element would require writing information at the same time we read it. It's not a race condition; it's more like the chicken and the egg.
I'm sure, if I really wanted to, I could find a two step process of loading at 0 opacity, finding the dimensions, and then moving it to the center and revealing it. But I don't have the desire.

Still. I went ahead and added workspace properties to the central state and read from them when it makes sense.
2022-01-14 15:17:23 -05:00
Kyle Geib 61b60b9819 ISSUE-017 - Improvements to a number of things.
* Moved FullScreenContainer in WorkspacesRoute to make scrolling much better. Seriously, 100% works better.
* Simplified dimensions state actions to a shared one.
* Abandoned the noisy and useless "AnimatedBG" type.
* Added workspace dimensions state (I'll need this later to prevent off-screen dragging).
* Placed OverlayDisplay component in PreviewWindow, where it makes more sense. I'll still allow it to roam around outside of it, though.
* Renamed "menu" dimensions to "mainMenu".
* Improved initNewOverlayItem action to support setting visible.
* Correct handling of showing the OverlayItemContainer.
* Simplified the initial position of a new OverlayItem to a simple initial value instead of setting it in the middle of provided dimensions.
* Made PreviewWindow `position: relative` to allow absolute positioning of OverlayItem from it.
* Added importHelpers to tsconfig because VSCode was complaining about it.
2022-01-11 19:12:21 -05:00
Kyle Geib 3151c58d9d ISSUE-005 - Emulating an iOS toggle switch and hooked it all up. Good practice.
Think there is some improvements I can make, though. The toggle circle on iOS has the drop shadow - not the body (with an inset shadow). But because I'm using absolute positioning the shadow overflows outside the the toggle body. So. I'll need to switch to using some other positioning rule
2022-01-10 17:28:34 -05:00