Commit Graph
22 Commits
Author SHA1 Message Date
Kyle Geib 3b165c42e9 ISSUE-068 - Now Styled-Components can self-label.
Updated babel-plugin-styled-components to a new version that works.
Added extra option to macros settings to not bother showing the file names.
2022-03-14 12:02:12 -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 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 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.
2022-01-28 14:36:50 -05:00
Kyle Geib 55e07a444e ISSUE-031 - Little fix to prevent locking overlay images to the bleedover areas when loading images that are larger than the previous image. 2022-01-21 18:39:20 -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
Kyle Geib 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.
2022-01-19 16:55:16 -05:00
Kyle Geib daae51e06d ISSUE-021 - Simplified the ProgressSlider, dropping the container component and instead letting the entire progress bar be dragged. 2022-01-18 16:49:45 -05:00
Kyle Geib 97c5752102 ISSUE-021 - Progress commit. Have a rough version of ProgressSlider component done. Still needs some work. 2022-01-18 14:53:52 -05:00
Kyle Geib 83dec9d782 ISSUE-028 - Improved the spacing of Toggle component. Slight reorganization to the OverlayControl component. 2022-01-18 11:50:02 -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 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 399b904f07 ISSUE-022 - Well. That just works. Awesome. 2022-01-14 14:14:13 -05:00
Kyle Geib 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/).
2022-01-14 14:03:56 -05:00
Kyle Geib 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.
2022-01-13 15:00:21 -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 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.
2022-01-12 14:52:38 -05:00
Kyle Geib 9541306894 ISSUE-017 - Basic drag functionality added.
I cannot combine it with transition handling any top/left transitions.
2022-01-12 14:43:04 -05:00
Kyle Geib 1ba5e99532 ISSUE-017 - Basic animated mounting added. 2022-01-12 13:07:33 -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