Commit Graph
20 Commits
Author SHA1 Message Date
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 462ea4852b ISSUE-045 - Chyron Body - Fixed and calibrated driver portrait venetian blinds transition.
Slight adjustment to the BaseBackground wipe. Added a new overlay image to help with it.
2022-02-11 09:42:04 -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 e747a7d7c3 ISSUE-045 - Venetian Blinds - Starting work on the "venetian blinds" transition effect.
I'll be starting with re-creating this effect on the PositionFlag component. That involves first separating out the PositionFlag into its own common component (it's used on the timing board as well, so it makes sense).
Adding new overlays for prototyping work.
2022-02-04 10:02:23 -05:00
Kyle Geib 8144622407 ISSUE-041 - Portraits now working!
Quite happy with the results. Was far less fiddly than I was expecting.
One interesting thing I had to do was introduce a new BaseContainer div component so that I could let the portraits overflow the BaseBackground component (by being put in a parent component with no overflow rules).
2022-02-02 15:24:58 -05:00
Kyle Geib 72b6fc60ef ISSUE-041 - Added front-facing driver portraits
Covered all 2021 drivers. I mocked up portraits for Albon and Zhou in 2022. I also have 2022 Bottas (Alfa) and Russell (Merc) waiting elsewhere.
Added Mazepin portrait overlay image as well to work from.
2022-02-02 15:22:16 -05:00
Kyle Geib b39d005e23 ISSUE-035 - Styled the Team flags individually.
Went through a lot of trouble to style the team flags to be wider than the country flags. This called for a troubling amount of ternary statements in the angled flag components.
I'm content with the results.
2022-02-01 18:24:48 -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 064d684fa8 ISSUE-035 - Added team flag overlays.
Added new workspace for team flags and adjusted custom workspace and tools to allow for work.
2022-01-31 19:03:23 -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 f9f7b739ee ISSUE-032 - Found a fix to the Hooks rendering error by using ReactRouter. 2022-01-28 09:16: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 b6cac82042 ISSUE-031 - Almost forgot (I closed issue and merged the branch too early): Here's the important improvement that switches to using a clipped image div for the AngledFlag. There is now a carefully sized "bottom" flag that gives us a simulated parallax look. There is a simple xOffset that should allow us to animate two flags sliding over each other in the future.
Updated the use of "National" to "Country" and renamed some directories.
Added a second larger AngledFlag to the Workspace (because changes that affect the larger size might be hidden by a smaller flag).
2022-01-25 19:43:32 -05:00
Kyle Geib 562667bdd7 ISSUE-031 - Finished creating DriverNumber styles.
Added missing flag for Poland (both original and 2:1 "angled" style).
Added correct 2:1 flags for Mexico and Monaco.
More overlay images (to help with driver number coloring).
2022-01-24 17:51:35 -05:00
Kyle Geib 4a9c124832 ISSUE-031 - Big update. AngledFlag component is born!
It's not 100% complete - I still need to add the second, slightly offset sub flag that goes beneath the main flag, creating a sort of refractive-glass/parallax effect.

Needed to add a new workspace. Thankfully it's pretty easy to add a new workspace. So, kinda nice.

Did a lot of work making 2:1 versions of each flag in vector. Was a bit of a pain in the ass.

Renamed a prop for ProgressSlider, "onBarColor" because prefixing a prop with "on" is special for React and it gets upset and spits out an error.
2022-01-24 16:15:43 -05:00
Kyle Geib dd7f49108a ISSUE-031 - Added new overlay images with some variations.
Added a great new feature: an active outline styling rule. When dragging the overlay image around there's now a red outline to help match edges that are otherwise black-on-black; making them very difficult to align.
2022-01-21 18:38:03 -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