-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make App Responsiveness #60
Conversation
…botics/feeding_web_interface into raidak/responsiveness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See in-line comments below.
Also, friendly reminder that when you address the BiteSelection changes, you should also remove the min-width query from there. We shouldn't be adjusting styles based on width, and as #68 illustrates, there are always clever and simple ways to achieve the desired goal without resorting to a width-based conditional.
fixed circle bar size on RobotMotion page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I used Fix Video Scaling Responsiveness #69 to address the TODOs and issues in LiveVideoModal and BiteSelection. Please review that, make sure you understand what is going on and why, and merge it in whenever you are ready.
- There are a few small comments here remaining for you to address.
- Once you address those, let me know and I'll deploy it on EC2. We should then re-run all tests one final time before merging it in.
fixed video scaling responsiveness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See requested changes. Also see requested changes in Slack.
ee1e630
to
a4d3572
Compare
* Fixed header/footer height - Increased header/footer height in landscape - Made all header elements Nav.Link for consistent height * Fix RobotMotion - Remove all overrides of text font size from h1/h2/h3... These are already responsive. - Remove nested h1's, which is invalid DOM nesting * Fix RobotMotion Bug - Changing the screen height on resize introduced a bug where RobotMotion re-calls the action. The changes to Home.jsx address that. - Implements Raida's idea for a simple solution to the iOS '100vh' bug that uses existing helpers * Fix VideoFeed resizing bug * Fixed CircleProgressBar size in landscape * Address iOS orientation change bug * Remove unused package Div100vh * Lengthened the delay for window size due to iOS orientation change issue * Platelocator button height and live video font size increase and robotmotion fontsize modify * Fix footer font size --------- Co-authored-by: Raida Karim <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved based on review and testing of #71 , which is now the latest commit on this branch
Describe this pull request. Link to relevant GitHub issues, if any.
This PR includes issue #9 deliverables as detailed in the following:
UPDATE 1: June 2, 2023
UPDATE 2: June 3, 2023
UPDATE 3: June 4, 2023
UPDATE 4: June 5, 2023
UPDATE 5: June 6, 2023
UPDATE 6: June 7, 2023
Explain how this pull request was tested, including but not limited to the below checkmarks.
I tested in ubuntu 22; in Chromium Version 113.0.5672.126 (Official Build) snap (64-bit) with iPhone 14 Plus and iPad 12.9 Pro layout in both of the portrait and landscape orientation ensuring for all app pages. I also tested on Laptop and Desktop views and these results seemed to hold:
Tests conducted as per the proposed methodology:
1. iPad Pro 12.9 Chrome Portrait (EC2)
Looks good
2. iPad Pro 12.9 Chrome Landscape (EC2)
Looks good but video loading and progressing slowly in BiteSelection, PlateLocator, and LiveVideoModal
3. Desktop Monitor Chrome (EC2)
Looks good
4. iPhone 14 Plus Chrome Portrait (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 2 mins and reloaded the page]
5. iPhone 14 Plus Chromium Landscape (Ubuntu)
Looks good
6. iPhone 14 Plus Firefox Landscape (Ubuntu)
Looks good
7. iPhone 14 Plus Firefox Portrait (Ubuntu)
Looks good
8. iPhone 14 Plus Edge Portrait (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 1 min and reloaded the page]
9. iPhone 14 Plus Edge Landscape (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 30 sec and reloaded the page]
10. Laptop Full Screen Chromium (Ubuntu)
Looks good
11. Laptop Half Screen Chromium (Ubuntu)
Looks good
12. Laptop Quarter Screen Chromium (Ubuntu)
Looks good
13. Laptop Full Screen Firefox (Ubuntu)
Looks good
14. Laptop Half Screen Firefox (Ubuntu)
Looks good
15. Laptop Quarter Screen Firefox (Ubuntu)
Looks good
16. Laptop Full Screen Edge (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 30 sec and reloaded the page]
17. Laptop Half Screen Edge (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 30 sec and reloaded the page]
18. Laptop Quarter Screen Edge (EC2)
Looks good but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 30 sec and reloaded the page]
Extra Tests:
a. iPhone 12 Pro Max (Raida’s iPhone) Edge Portrait & Landscape (EC2)
Things got cropped but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal [waited 1 min and reloaded the page]
b. iPhone 12 Pro Max (Raida’s iPhone) Safari Portrait & Landscape (EC2)
Things got cropped but video didn’t load in BiteSelection, PlateLocator, and LiveVideoModal like the above a. [waited 1 min and reloaded the page]
c. iPad Pro 12.9 Safari Portrait (EC2)
Looks good but video loading and progressing slowly in BiteSelection, PlateLocator, and LiveVideoModal
Skipped 5 Tests: (Conducted 18 tests out of the listed 23 tests)
Before creating a pull request
npm run format
python3 -m black .
in the top-level of this repositoryBefore merging a pull request
Squash and Merge
)