Commit Graph
31 Commits
Author SHA1 Message Date
Kyle Geib b1b3b62d3a ISSUE-045 - Venetian Blinds - Added blinking animation for the position number.
Activated with a blink duration. I had to consider a manual delay before starting. The animation delay didn't really work as the number would be visible until the animation started. I'm sure there's a solution but I'm a little lazy to figure it out at the moment.
Otherwise, for future reference: iirc the delay would be 250ms and the duration would be 400ms.
2022-02-08 12:23:32 -05:00
Kyle Geib 4c61a24c21 ISSUE-033 - Created a new component, <IndexHeading> that is a lightly stylized new header element for basic indexes.
I also adjusted the 404 page to now include the menu for the sake of usability.
2022-02-03 12:26:23 -05:00
Kyle Geib c6411950f3 ISSUE-047 - Exported animated versions of a pair of styled-components of mine.
Nothing special. Just something I wanted to change now.
2022-02-03 11:28:14 -05:00
Kyle Geib 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. 2022-01-31 12:44:12 -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 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 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. 2022-01-28 10:12:12 -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 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 1c38137480 Adhoc - Cleanup.
Removed a console.log() I left behind. Whoops.
2022-01-20 13:25:23 -05:00
Kyle Geib 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.
2022-01-19 17:37:05 -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 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.
2022-01-18 15:42:43 -05:00
Kyle Geib 9925eae4cc ISSUE-021 - Another progress commit. Have issues with combining spring animated components and Styled-Components. 2022-01-18 15:18:39 -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 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.
2022-01-17 13:26:38 -05:00
Kyle Geib 9b3ae2dae2 ISSUE-020 - Making a checkpoint in my work. SlotSelector written a little better. Animation work coming next. 2022-01-14 17:39:48 -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 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 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 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.
2022-01-06 18:40:59 -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 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. 2021-12-21 14:38:07 -05:00
Kyle Geib 4d35b57a77 ISSUE-001 - Have tool page constructed with grid and added some basic scrolling rules for minimum UI size requirements. 2021-12-20 16:49:49 -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