Commit Graph
133 Commits
Author SHA1 Message Date
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 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.
2022-01-13 16:21:23 -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
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 7c2654ba51 ISSUE-005 - Added a scrolling effect to the PreviewWindow. Added scroll functionality to overflow-y for the WorkspaceList box. 2022-01-07 19:00:16 -05:00
Kyle Geib ab4c8eefa6 ISSUE-005 - Implemented a PreviewWindow component. Improvements to the way that the workspaces are generated. Using mock components. 2022-01-07 18:03:27 -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 f3e4ac318c ISSUE-011 - Hooked up Redux. Switched to using embedded route. Using central store to keep track of menu height information. Refactored fullscreen calculations. 2022-01-06 14:08:43 -05:00
Kyle Geib 3add2f3237 ISSUE-011 - Initial Redux work.
Installed reduxjs/toolkit.
Added first slice and the basic store for the project.
2022-01-05 18:25:32 -05:00
Kyle Geib 977e433dd9 ISSUE-013 - Refactored the method that isActive and isHovered work for the MainMenu nav buttons. 2022-01-05 15:17:38 -05:00
Kyle Geib e722ac9d7d Adhoc - Added index.ts for fonts.ts. Mostly because I like it this way. 2022-01-04 16:37:44 -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 73ba3b4ddd ISSUE-008 - Significantly improved the look of the main page menu. 2021-12-22 12:01:51 -05:00
Kyle Geib 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. 2021-12-22 10:02:43 -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 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
Kyle Geib 322120ddd6 Adhoc - Some initial modules. Linting rules. 2021-12-17 13:41:42 -05:00
Kyle Geib e56221b1c7 Initialize project using Create React App 2021-12-17 12:41:48 -05:00