Commit Graph
21 Commits
Author SHA1 Message Date
Kyle Geib 1cccc7d094 ISSUE-058 - Basic mode switching implemented.
Still need to fade-in/fade-out the interval numbers.
Also need to look into wipe-in fade animations for full names. Will see what I can do...
2022-03-03 18:56:07 -05:00
Kyle Geib cdf8d2b332 ISSUE-057 - Added outline effect to position changes left half side.
Refactored outlineClipPath() to support outlines that have been offset to be inside.
Added animation duration configuration to the TimingBoard workspace.
2022-03-03 15:38:59 -05:00
Kyle Geib edeba37c6d ISSUE-057 - Progress on building prototyping tools.
New reducers for event slice that allow increasing of car distances, awarding fastest laps, and changing the statuses of cars.
Updating more types to enums, which are just better in most cases as far as I can tell.
2022-02-22 19:12:29 -05:00
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 2ad7fdd24c ISSUE-054 - Added Team Gems to TimingTower.
Finer calibration to row sizing (not 37px or 36px high, but 36.5px!) and position flag font size.
2022-02-17 17:25:50 -05:00
Kyle Geib 2a92ee91cb ISSUE-054 - Minor improvements and new tests.
Added limit arg to formatTime().
Wrote unit tests for formatTime().
2022-02-16 18:58:36 -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 bab056394c ISSUE-045 - Chyron Body - Timing improvements. More comments. Small corrections. 2022-02-14 11:23:34 -05:00
Kyle Geib e6312f67e0 ISSUE-045 - Chyron Body - Added the outline to the chyron body.
It's not a perfect emulation (it fades out rather than runs out with a tail) but I'm very happy with it.
Also updated the wipe animation to take advantage of map().
2022-02-11 12:24:31 -05:00
Kyle Geib b545750f70 ISSUE-045 - Chyron Body - Great progress today! It's starting to look legit!
Massive change to the way that Chyrons are built and deployed.
Still need to figure out what's wrong with the portrait and the Venetian blinds causing issues.
Still need to make the team name flicker.
2022-02-09 18:47:07 -05:00
Kyle Geib 14e4c0569d ISSUE-045 - Venetian Blinds - Figured out some trig to get this to work. The angle of the wipe is now customizable and no longer limited to 45°. 2022-02-07 16:02:15 -05:00
Kyle Geib c07d364584 ISSUE-045 - Venetian Blinds - After some trial and error I've got a performant and sensible wipe solution using a clip-path mask.
Figuring this out of great because these kinds of clip paths are used in other places as well so this is good practice to start with.
2022-02-07 12:33:42 -05:00
Kyle Geib 38aeedea65 ISSUE-045 - Venetian Blinds - Working on the basic concept of the blinds filter.
Created a new workspace to test this all out in.
Offering two differing test subjects: A position flag and a driver portrait. This is useful because the images need to be treated differently compared to simple divs.
Figured out a way of tinting both divs and images: Severely offset internal outline styling with semi-opaque colors.
Moved DriverPortrait into its own component. Makes sense as portraits appear in various places. Plan to offer prop between front-facing and 3/4 facing photos (I have a collection of both).
Created a new "Position" type that can be used, with a special function, to place elements through a common prop.
2022-02-04 15:24:55 -05:00
Kyle Geib bd1892ab17 ISSUE-035 - Took some work but have proper type checking for AngledFlag props and have updated everything necessary.
Styling is still to come. Only have Ferrari working.
I've discovered that the team flags are wider than the country flags. So I'll be tackling that necessary change in the next commit before dealing with styling.
2022-02-01 12:57:40 -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 db14bf902f ISSUE-031 - Progress checkpoint.
A lot of work going on here.
* Moved WorkspaceControls component to a new sub directory
* Renamed overlay images
* Started a static ChyronDriverBasic component (using Hamilton as an example)
* Created a fancy DriverNumber rendering system
* Defined DriverNumber style for Mercedes and no one else yet
* A bunch of new states for the grid: cars, drivers, teams, etc
* Defined a bunch of data for the drivers and teams
* Created another string utility function to generate repeat strings; unit tests included
2022-01-21 14:14:45 -05:00
Kyle Geib 35ca424dd6 ISSUE-020 - Plain, static SlotSelector component defined. Not too fancy looking.
To save space and reduce redundant data I created a utility function called findPrefixCount() and wrote a suite of tests for it.
2022-01-14 17:16:27 -05:00
Kyle Geib 399b904f07 ISSUE-022 - Well. That just works. Awesome. 2022-01-14 14:14:13 -05:00
Kyle Geib 7999f15c20 ISSUE-009 - Alternative useDimensions added.
Turns out... they're not as reliable. In testing I had the menu's height regularly fail to provide its height data.
2022-01-13 16:21:23 -05:00
Kyle Geib f4ccb9b3dd ISSUE-008 - Major refactor of the Menu Bar. Utilizing some really fun resize hooks and dropping the ugly route header idea. 2021-12-22 15:57:31 -05:00