Mobile Menu Fixes #332

Merged
konrad merged 5 commits from azymondrian/vikunja-frontend:mobile_menu_fixes into master 2020-12-17 11:45:26 +00:00
Contributor

(If I've done anything wrong process-wise please let me know)

Fixes some issues with the navigation menu on mobile

  • Main content squishing super narrow when menu is open
  • Keep main content from sliding over when menu is open (I think this could be fine, but the rest of the UI wasn't sliding so I made it match)
  • Close menu on first page load on mobile
(If I've done anything wrong process-wise please let me know) Fixes some issues with the navigation menu on mobile - Main content squishing super narrow when menu is open - Keep main content from sliding over when menu is open (I think this could be fine, but the rest of the UI wasn't sliding so I made it match) - Close menu on first page load on mobile
Author
Contributor

Hmm after realizing that I should probably run Cypress locally I can reproduce the test it's failing, but not 100% sure why what I changed would cause it to fail.

Will have to take a look tomorrow.

Hmm after realizing that I should probably run Cypress locally I can reproduce the test it's failing, but not 100% sure why what I changed would cause it to fail. Will have to take a look tomorrow.
konrad approved these changes 2020-12-16 10:36:38 +00:00
konrad left a comment
Owner

Looks great, thanks!

As for the ci failure: The CI sometimes runs a lot slower which results in random parts of tests timing out (runs on a vps after all). While not ideal, I currently have no better solution other than to add cy.wait in places where that happens until it succeeds. I've just pushed a commit to your branch which does exactly that, we'll see if it passes now.

Looks great, thanks! As for the ci failure: The CI sometimes runs a lot slower which results in random parts of tests timing out (runs on a vps after all). While not ideal, I currently have no better solution other than to add `cy.wait` in places where that happens until it succeeds. I've just pushed a commit to your branch which does exactly that, we'll see if it passes now.
Owner

So, I did some checking and found that the test is "correctly broken": It can't find the element on the "Done" button since all of the buttons are moved to the right and "pushed" outside of the screen.

Take a look at the screenshot from the CI: image

In comparison, this is the task detail view for the same screen size on try: image

(still not ideal but I think you get the idea)

So, I did some checking and found that the test is "correctly broken": It can't find the element on the "Done" button since all of the buttons are moved to the right and "pushed" outside of the screen. Take a look at the screenshot from the CI: ![image](/attachments/23e59b80-2176-46b5-9bfb-e0c64be9fb8c) In comparison, this is the task detail view for the same screen size on try: ![image](/attachments/e80c4a07-503e-498b-8510-ebe198ea31d9) (still not ideal but I think you get the idea)
azymondrian force-pushed mobile_menu_fixes from 1dcb53170c to ba1735d7b4 2020-12-17 02:39:36 +00:00 Compare
Author
Contributor

It was my fault! But I think it's fixed now.

It was my fault! But I think it's fixed now.
Owner

Looks like it. Thanks!

Looks like it. Thanks!
konrad merged commit 3c3d6a4af3 into master 2020-12-17 11:45:26 +00:00
konrad referenced this issue from a commit 2020-12-17 11:45:27 +00:00
azymondrian deleted branch mobile_menu_fixes 2020-12-17 23:40:27 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.