Commit Graph
22 Commits
Author SHA1 Message Date
Kyle Geib c9388b86fc ISSUE-054 - Basic animating of the Timing Tower added.
Provided basic controls to switch between.
Still need to properly round the bottom rows of both the running and retired cars.
2022-02-22 11:53:14 -05:00
Kyle Geib 00d2c671cb ISSUE-054 - Added +# LAP indicators to Leader mode.
Added state for tracking the leader of the race since its something that is needed quite often.
2022-02-18 15:12:16 -05:00
Kyle Geib 54878b8cb2 ISSUE-054 - Merged state.d.ts and state.ts for simplicity's sake.
Added new CarNotice and TyreCompound enums and data pieces.
2022-02-18 11:58:45 -05:00
Kyle Geib 7507868dce ISSUE-054 - Have static timing display mostly figured out.
Some subtle scaling was necessary to accomplish the proper spacing.
2022-02-16 17:20:08 -05:00
Kyle Geib 22ebab1101 ISSUE-054 - Initial work of building the Timing Board. Working so far only have work for the Timing Tower.
Timing Board is the combination of all elements on the left side of the screen, including the Status Indicator component (not written yet) that is visible whenever there are cars on track.
2022-02-16 14:36:27 -05:00
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 fd18703d1a ISSUE-045 - Chyron Body - Taking a moment to rename some reducers to be more consistant (verb in front). 2022-02-09 13:55:52 -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 0625361a18 ISSUE-032 - Have Chyron prototyping controls configured and hooked up.
Support for double driver chyrons.
Serious refactoring of the BroadcastGraphics states.
Simplification and improvements to how the chyron states work (I was using interfaces in a way that was incompatible with reality and have fixed it).
2022-01-31 18:24:25 -05:00
Kyle Geib 5e7940a151 ISSUE-032 - Progress checkpoint.
Have a lot of the scaffolding in place. Next step is to make the Chyron controls actually work.
Dramatic re-thinking of the chyron state definitions.
Lots of goofy type following tricks in broadcastGraphics.ts.
2022-01-28 17:53:50 -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 5d009a3d70 ISSUE-032 - Defined a great number of new state types for use with the race event's state, the broadcast director's controls, and the broadcast graphics states.
Taking a second to make a commit to save my progress so far.
2022-01-27 13:39:52 -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 1ca2137a5b ISSUE-020 - Mocked up new slot selector and (since it'll happen later) opacity controls. 2022-01-14 14:49:19 -05:00
Kyle Geib 861d702a27 ISSUE-017 - Overlay state is streamlined.
Total change to workspaces. Now an object instead of a list.
Utilizing workspace overlays list - prototype currently colors the mock item.
Reset overlay on workspace change.
Improved combined dragging/transition element behavior.
2022-01-13 14:16:09 -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 506491eed9 ISSUE-017 - Initial work on the Overlay Tool.
Have basic state management in place and a number of simple prototypes in place to practice floating a div above the interface.
2022-01-11 17:12:05 -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
Kyle Geib f3e4ac318c ISSUE-011 - Hooked up Redux. Switched to using embedded route. Using central store to keep track of menu height information. Refactored fullscreen calculations. 2022-01-06 14:08:43 -05:00
Kyle Geib 3add2f3237 ISSUE-011 - Initial Redux work.
Installed reduxjs/toolkit.
Added first slice and the basic store for the project.
2022-01-05 18:25:32 -05:00