Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO: Writing description - come back in a few mins
This PR introduces a functional responsive UI for at least the "launches" part of the web interface, which is obviously the most important. I didn't want to go /too/ far, but at least this makes Positz pretty usable on mobile.
Below are many before/after screenshots.
Launches UI
BEFORE - Desktop - Firefox
BEFORE - iPhone 12 Pro - Firefox
Problems;
AFTER - Desktop - Firefox (no visual change, even if the structure of the header is now different in the HTML);
Just posting this to prove I didn't break compatibility with the current UI.
AFTER - iPhone 12 Pro - Firefox
The header automatically re-organizes to make use of the minimal screen space, and automatically expands to the full-width in the above desktop version. Zero side-scrolling in a screen width of just 390px. :-)
AFTER - iPhone 12 Pro - Chrome & Dark Mode
Posting UI
BEFORE - Desktop - Firefox
Problems;
AFTER - Desktop - Firefox (no visual change, even if the structure of the HTML is now different)
Just posting this to prove I didn't break compatibility with the current UI. Fixed the cancel button in light mode.
BEFORE - iPhone 12 Pro - Firefox
Problems;
AFTER - iPhone 12 Pro - Firefox
Note: Certainly not perfect, but it's functional in the "after" version, whereas it's unusable in the current version. The preview is moved to the bottom in small screen widths, making it just scroll vertically. The buttons don't sroll off the page.
I think this general dialog could do with some overall UI improvements, so I didn't go too far with this, but just wanted to make it functional.
After - iPhone 12 Pro - Chrome & Dark Mode
Notes