Commit Graph
23 Commits
Author SHA1 Message Date
Kyle Geib 4bf471bd99 ISSUE-069 - FL wipe working. Big refactor of how the PositionFlag components work.
I flipped the way the wipe effect works. Originally there was the complicated problem of revealing a flag instantly and then wiping it away, requiring some delicate work with mounting and unmounting components. Instead it now works by always having a colored PositionFlag component in place and temporarily disappearing the normal PositionFlag (that is on top of it) using a transition-free opacity switch that lets the WipeTransition work reliably. This makes for fewer states and conditional renders.
Added textColor and bgColor props to the PositionFlag component for flexibility.
2022-03-14 08:49:14 -05:00
Kyle Geib 0e8ef14dcd ISSUE-069 - Found and corrected alignment issue. 2022-03-14 07:18:59 -05:00
Kyle Geib de03f24b70 ISSUE-069 - Toast FL gem implemented.
Appears to be a possible alignment issue with the PosFlag component - I think a margin above the component is missing. Will look into it.
2022-03-13 15:02:39 -05:00
Kyle Geib 1af134b9a4 ISSUE-062 - Lap indicator now looking good and animating well.
New scheduled lap event state.
New alternative white color that matches what's seen in reality.
New overlay for wide lap indicator.
2022-03-10 20:19:27 -05:00
Kyle Geib d2e4afb975 ISSUE-062 - Expanding status indicator in place.
Moved some dimensions data to the themes object for re-use between components.
2022-03-08 17:03:09 -05:00
Kyle Geib 28e0e7f3d4 ISSUE-062 - Basic base in place with no real interactivity or anything like that.
Saving progress for the day. It's dinner time!
2022-03-07 18:28:49 -05:00
Kyle Geib a38af0dec4 ISSUE-058 - First attempt at a wipe effect for the full last name display.
Discovered a limitation with WipeTransition and added a new optional prop for manual dimension definition.
Going to attempt using a mask image next instead as the animation fades the name in, not using a direct clip.
2022-03-04 18:02:45 -05:00
Kyle Geib e88bd614d3 ISSUE-057 - Added color and wipe effect to position flag on timing tower.
Also adjusted timing for transitions to match what is shown on broadcast TV.
2022-03-03 10:40:03 -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 35ac571d90 ISSUE-054 - Added fastest lap gem.
Made the timing tower row height into a centralized piece of data in the theme.ts file.
2022-02-18 12:22:33 -05:00
Kyle Geib bf121aa032 ISSUE-018 - Added pixel size indicator for overlay images.
Added new global rule for touch-action so that I don't need to keep setting it up for elements that utilize use-gesture.
2022-02-02 17:27:54 -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 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 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 dd4df61fec ISSUE-005 - Added indicator "I" and "O", emulating an accessibility option found in iOS.
Added a subtle background color transition.
Gave up on the idea of giving the toggle circle a shadow (not worth the hassle). But if I did decide to do that, I'd be able to animate the toggle circle fairly easily, I think.
2022-01-10 18:11:54 -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 5dcc3f3940 ISSUE-005 - Further work on Workspaces. Re-using MenuItem component and figuring out a new method for hover-over highlighting using SASS & selection. 2022-01-07 12:47:12 -05:00
Kyle Geib 2d3e34b111 ISSUE-010 - Added TTF and Woff2 format fonts for Formula 1's typeface and updated the Menu bar's fonts to use them.
I incorporated the new fonts through Styled-Components just to be real cool that way.
2022-01-04 16:33:26 -05:00
Kyle Geib 03321e3cdb Adhoc - Removing unnecessary style from theme.ts 2021-12-27 11:47:13 -05:00
Kyle Geib b44e3ff42c ISSUE-008 - Hacked together a solution that can softly highlight the NavLink on the current route. And can handle the hover without relying on :hover. 2021-12-22 17:50:17 -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
Kyle Geib b4ea27e8c6 ISSUE-004 - Saving progress. Have two options for image display.
BackgroundImage uses <img> and can be centered with VideoFeedFrame, but cannot be shrunk when the window becomes narrow.
BackgroundImageDiv uses div and a background image property, but cannot be centered with VideoFeedFrame.
2021-12-21 21:17:38 -05:00
Kyle Geib c3b268da61 ISSUE-001 - Playing around quite a bit. Not sure I've figured out a method of constructing the tool page I'm happy with here. Want to take a different path and see what I can do. 2021-12-20 15:45:53 -05:00