Skip to content
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

Style: UI Refresh #3956

Draft
wants to merge 38 commits into
base: master
Choose a base branch
from
Draft

Conversation

VitroidFPV
Copy link
Member

This PR aims to:

  • Remove all of the old layout styles using outdated techniques in favor of flex- or grid-based layouts
  • Remove hard-set size values where applicable
  • And most noticeably, to refresh the old style for a more modern look, very close to the current website

Screenshots below:
image
image
Or use preview deploy in the comments.

Opening the PR with the Setup tab being converted to the new layout and different breakpoints for desktop, tablet and mobile as I work on the rest. More tabs will be converted and old styles will be removed/updated going forward.

Please leave lots of constructive feedback! This is a big change, but it was discussed a lot internally prior to the PR - we belive this is a good way forward

Copy link

netlify bot commented May 13, 2024

Deploy Preview for origin-betaflight-app ready!

Name Link
🔨 Latest commit f4a02ef
🔍 Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/6653a487cade96000829ba3b
😎 Deploy Preview https://deploy-preview-3956.dev.app.betaflight.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

This comment has been minimized.

@haslinghuis haslinghuis mentioned this pull request May 13, 2024
33 tasks
@McGiverGim
Copy link
Member

Tested the mobile layout, and fixes the issue with the size. Thanks!
For the rest, it contains a lot of errors, I suppose that you don't want a review because it's a draft, or do you want some comments about the "Setup tab"?

@VitroidFPV
Copy link
Member Author

@McGiverGim please comment as you wish 😅. For now, the Setup tab is the only one I tested across all sizes, the others not yet. I should have a couple done today, so I'll push them up

@haslinghuis haslinghuis added this to the 11.0 milestone May 14, 2024
@nerdCopter
Copy link
Member

nerdCopter commented May 15, 2024

save/reboot/etc is always left-aligned.

edit: yellow/orange links/words over white/gray is difficult on the eyes.

@McGiverGim
Copy link
Member

Ok, some comments, about light that is what I use:

  1. The combos in the header have some strange outlines, maybe the Vue components styles hardcoded conflicts?
    image
  2. The black text over gray looks strange, in the header. In the contents it seems more or less ok to me. I don't know exactly why.
    image
  3. This seems disaligned to my eyes. I know is aligned with the top of the header, but maybe we can give some padding/margin on the top to the elements that don't have header to align with the body.
    image
  4. Similar here:
    image
  5. A little here too:
    image
  6. The letters of the buttons when hovering seem blur:
    image
  7. The ? that shows the tooltip when hovering, are not visible when the tooltip is open. I don't know if it's intended.

For the rest and incredible job. Maybe some color adjusting, but it's great. When it's more polished/finished I can give it another look.

@VitroidFPV
Copy link
Member Author

@McGiverGim I was mostly working in dark mode, I'll fix the contrast issues, that does look pretty bad! As for the layout, for now, I wanted to make the big changes first and address the smaller alignments afterward when I can be sure it won't break some other thing

@McGiverGim
Copy link
Member

I understand. It's s lot of work. Thanks for moving into this!

@McGiverGim
Copy link
Member

One thing: please, don't forget the Radio Emulator for MSP. It's usually forgotten and now the style is broken in this PR.
You can see it if you select "MSP" as your radio protocol at the TX tab, and then a new button will appear at the bottom of the TX tab.

Copy link

sonarcloud bot commented May 26, 2024

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants