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).
Kyle Geib2022-01-31 18:24:25 -05:00
d5b653da9d
ISSUE-032 - Making some organizational changes to how the Chyron director controls are built. Have more work to perform but making a checkpoint commit to keep track of my work so far.
Kyle Geib2022-01-31 12:44:12 -05:00
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.
Kyle Geib2022-01-28 17:53:50 -05:00
8e4ac1243b
Merge branch 'ISSUE-038' into ISSUE-032
Kyle Geib2022-01-28 14:38:28 -05:00
536d81fb61
ISSUE-038 - Switched SlotSelector from using strings for onChange() to simply returning the selected index. As well as just being a little bit better this was necessary to support specifically typed values. We were always going to be selecting between strictly strings. This should allow us to be more flexible. Also, to avoid a minor bug with switching the Overlay tool with it being invisible SlotSelector now supports being disabled.
Kyle Geib2022-01-28 14:36:50 -05:00
d9b6f6fbfa
ISSUE-039 - Simplified MEX and ESP flags, saving 130 and 50kb, respectively. Also removed the non-angled flags as, well, I don't currently have a use for them and might never.
Kyle Geib2022-01-28 10:58:48 -05:00
ae4a7e7818
ISSUE-032 - Adjusted my ReactRouter solution to drop the need for an interim path element. I am also now using WorkspacesRoute for more things, which I think is appropriate.
Kyle Geib2022-01-28 10:12:12 -05:00
f9f7b739ee
ISSUE-032 - Found a fix to the Hooks rendering error by using ReactRouter.
Kyle Geib2022-01-28 09:16:50 -05:00
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.
Kyle Geib2022-01-27 17:47:49 -05:00
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.
Kyle Geib2022-01-27 13:39:52 -05:00
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.
Kyle Geib2022-01-25 19:43:32 -05:00
1dc8e8bc15
ISSUE-031 - Improvements to the look of National Flag. Adjusted the sizing and spacing to better support larger chyron heights.
Kyle Geib2022-01-25 13:32:31 -05:00
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).
Kyle Geib2022-01-24 17:51:35 -05:00
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.
Kyle Geib2022-01-24 16:15:43 -05:00
55e07a444e
ISSUE-031 - Little fix to prevent locking overlay images to the bleedover areas when loading images that are larger than the previous image.
Kyle Geib2022-01-21 18:39:20 -05:00
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.
Kyle Geib2022-01-21 18:22:45 -05:00
a7ca0aecb0
ISSUE-031 - Refactor improvements to ChyronDriver component. Relying less on absolute positioning and hard-coded values. I realized that there are some variations of the driver chyron. Such as the one without a position flag.
Kyle Geib2022-01-21 18:21:08 -05:00
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
Kyle Geib2022-01-21 14:14:45 -05:00
1c38137480
Adhoc - Cleanup. Removed a console.log() I left behind. Whoops.
Kyle Geib2022-01-20 13:25:23 -05:00
65a9f523d4
ISSUE-021 - Added color customization props. Nice disabled look. Okay. I'm content with what I've made. It's not really up to the level of "oh man, package this up as a library and put it out on NPM!" but it works OK for my specific situation.
Kyle Geib2022-01-19 17:37:05 -05:00
d4f8e9bffe
ISSUE-021 - Percentage indicator has been added. Slider can now be disabled. I ran into too many issues with the percentage value being buggy when the overlay wasn't visible. I'm still running into issues where useMeasure isn't populating fast enough and the left prop isn't being set correctly.
Kyle Geib2022-01-19 16:55:16 -05:00
daae51e06d
ISSUE-021 - Simplified the ProgressSlider, dropping the container component and instead letting the entire progress bar be dragged.
Kyle Geib2022-01-18 16:49:45 -05:00
8170ba3f86
ISSUE-021 - Discovered the animated() wrapper solution to using Styled-Components that solves some problems. Currently working on making the draggable activation area larger.
Kyle Geib2022-01-18 15:42:43 -05:00
9925eae4cc
ISSUE-021 - Another progress commit. Have issues with combining spring animated components and Styled-Components.
Kyle Geib2022-01-18 15:18:39 -05:00
97c5752102
ISSUE-021 - Progress commit. Have a rough version of ProgressSlider component done. Still needs some work.
Kyle Geib2022-01-18 14:53:52 -05:00
83dec9d782
ISSUE-028 - Improved the spacing of Toggle component. Slight reorganization to the OverlayControl component.
Kyle Geib2022-01-18 11:50:02 -05:00
3fce5d05b9
ISSUE-020 - Transitions in place and working. Also fixed an issue with eslinter that was reporting some incorrect unused var warnings. Removed some ignore rules with it being fixed.
Kyle Geib2022-01-17 13:26:38 -05:00
9b3ae2dae2
ISSUE-020 - Making a checkpoint in my work. SlotSelector written a little better. Animation work coming next.
Kyle Geib2022-01-14 17:39:48 -05:00
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.
Kyle Geib2022-01-14 17:16:27 -05:00
6a8e5f28b2
Merge branch 'ISSUE-025' into ISSUE-020
Kyle Geib2022-01-14 15:17:46 -05:00
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.
Kyle Geib2022-01-14 15:17:23 -05:00
1ca2137a5b
ISSUE-020 - Mocked up new slot selector and (since it'll happen later) opacity controls.
Kyle Geib2022-01-14 14:49:19 -05:00
f51df58d17
ISSUE-017 - Implemented image overlay solution that I'm happy with. Shout-out to Blair Wadman for revealing a method to display an image at 1:1 pixel scale and having the div that houses it automatically match that size without any fuss. (Here: https://befused.com/css/flexbox-prevent-image-shrinking/).
Kyle Geib2022-01-14 14:03:56 -05:00
8780d2a9db
Merge branch 'ISSUE-009' into ISSUE-017
Kyle Geib2022-01-13 16:21:56 -05:00
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.
Kyle Geib2022-01-13 16:21:23 -05:00
aba5cc20be
ISSUE-017 - Implemented drag bounds that consider the dimensions of dragged element. This is bugged as the resize observer I'm using doesn't update itself when I reveal the OverlayItem from hiding.
Kyle Geib2022-01-13 15:00:21 -05:00
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.
Kyle Geib2022-01-13 14:16:09 -05:00
a6a5eb7751
ISSUE-017 - Figured out how to allow for Transition and Dragging on the same element. The secret? Don't! Use another throw-away div and put it around the draggable div. Also adopted animated.div into the Styled-Component. Really cool how it just works.
Kyle Geib2022-01-12 14:52:38 -05:00
9541306894
ISSUE-017 - Basic drag functionality added. I cannot combine it with transition handling any top/left transitions.
Kyle Geib2022-01-12 14:43:04 -05:00
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.
Kyle Geib2022-01-11 19:12:21 -05:00
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.
Kyle Geib2022-01-11 17:12:05 -05:00
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.
Kyle Geib2022-01-10 18:11:54 -05:00
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
Kyle Geib2022-01-10 17:28:34 -05:00
7c2654ba51
ISSUE-005 - Added a scrolling effect to the PreviewWindow. Added scroll functionality to overflow-y for the WorkspaceList box.
Kyle Geib2022-01-07 19:00:16 -05:00
ab4c8eefa6
ISSUE-005 - Implemented a PreviewWindow component. Improvements to the way that the workspaces are generated. Using mock components.
Kyle Geib2022-01-07 18:03:27 -05:00
5dcc3f3940
ISSUE-005 - Further work on Workspaces. Re-using MenuItem component and figuring out a new method for hover-over highlighting using SASS & selection.
Kyle Geib2022-01-07 12:47:12 -05:00
02132bdbe2
ISSUE-005 - Initial work commit. Have some basic routing done and some mocked-up design of how the pay may look. Made improvements to the LayoutGrid component, supporting richer definition of grid columns and rows.
Kyle Geib2022-01-06 18:40:59 -05:00
f3e4ac318c
ISSUE-011 - Hooked up Redux. Switched to using embedded route. Using central store to keep track of menu height information. Refactored fullscreen calculations.
Kyle Geib2022-01-06 14:08:43 -05:00
3add2f3237
ISSUE-011 - Initial Redux work. Installed reduxjs/toolkit. Added first slice and the basic store for the project.
Kyle Geib2022-01-05 18:25:32 -05:00
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.
Kyle Geib2022-01-04 16:33:26 -05:00
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.
Kyle Geib2021-12-22 17:50:17 -05:00
f4ccb9b3dd
ISSUE-008 - Major refactor of the Menu Bar. Utilizing some really fun resize hooks and dropping the ugly route header idea.
Kyle Geib2021-12-22 14:59:13 -05:00
73ba3b4ddd
ISSUE-008 - Significantly improved the look of the main page menu.
Kyle Geib2021-12-22 12:01:51 -05:00
f137b04e5e
ISSUE-004 - Found the correct combination of CSS rules to get the centering I desire for both the div and img variants of the background image.
Kyle Geib2021-12-22 10:02:43 -05:00
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.
Kyle Geib2021-12-21 21:17:38 -05:00
7aff7a24c6
ISSUE-003 - I'm struggling to get Babel Macros to work correctly in my project. So here I'm just manually writing the display names for my styled components.
Kyle Geib2021-12-21 14:38:07 -05:00
4d35b57a77
ISSUE-001 - Have tool page constructed with grid and added some basic scrolling rules for minimum UI size requirements.
Kyle Geib2021-12-20 16:49:49 -05:00
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.
Kyle Geib2021-12-20 15:45:53 -05:00
c6f5899510
Adhoc - Configuring debugging and testing within VSCode.
Kyle Geib2021-12-17 15:49:28 -05:00