Skip to content

Optimize UI#11435

Closed
Hamza417 wants to merge 6 commits intoTeamNewPipe:devfrom
Hamza417:optimize_ui
Closed

Optimize UI#11435
Hamza417 wants to merge 6 commits intoTeamNewPipe:devfrom
Hamza417:optimize_ui

Conversation

@Hamza417
Copy link
Copy Markdown

What is it?

  • Bug fix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Optimize the existing layout and how they work in the app with various accessibility improvements.

Before/After Screenshots/Screen Record

04
03
The list is optimized, the titles have better visibility and channel names have been italicized.

02
The grid list were incorrectly laid out in the app, the icons weren't evenly placed and have weird spacing, the same could be fixed easily by removing the fixed width and height constants and applying aspect ratio based resizing for the thumbnails. The rest of the changes were the same as list view.

01
The title has been emphasized, and comment usernames have better visibility now. The emphasis from the "X REPLIES" have been reduced to lower case so that it can be a little less loud.

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

  - Also fixes the UI padding issue
  - Why use a constant height that too inside a constraint layout? Use a fixed aspect ratio instead.
  - Bold style for comment author
@github-actions github-actions bot added the size/medium PRs with less than 250 changed lines label Aug 13, 2024
@TobiGr TobiGr added GUI Issue is related to the graphical user interface accessibility Issue is related to accessibility labels Aug 13, 2024
Copy link
Copy Markdown
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the work.

@Hamza417 Hamza417 requested a review from TobiGr August 13, 2024 12:06
@sonarqubecloud
Copy link
Copy Markdown

@Angelk90
Copy link
Copy Markdown
Contributor

Angelk90 commented Aug 15, 2024

@Hamza417 : could you check if it is optimized correctly on tablets too? I noticed that there are some problems on tablets. you could also take a look at the stories. #6869

@Hamza417
Copy link
Copy Markdown
Author

@Hamza417 : could you check if it is optimized correctly on tablets too? I noticed that there are some problems on tablets. you could also take a look at the stories. #6869

Thanks for pointing out the exact issue, I'll see if these changes can be included as well before this PR gets merged.

Copy link
Copy Markdown

@acrodemocide acrodemocide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good. I pulled down the APK and tested on my phone. I really love the new UI updates. Everything else on the APK appears to be working as expected.

@Stypox
Copy link
Copy Markdown
Member

Stypox commented Nov 18, 2024

I built an APK if you want to test: app-debug.zip

@Stypox
Copy link
Copy Markdown
Member

Stypox commented Nov 27, 2024

Hello and thank you for your design proposal @Hamza417. We have discussed with the team the new design and decided to reject it unfortunately, for these reasons:

  • NewPipe is currently undergoing a refactor, and we are therefore limiting PRs to only bugfix or maintenance PRs
  • During the refactor the UI is going to be redesigned anyway, see for example Migrate comment fragments to Jetpack Compose #11060 (in particular the "After (improved design)" screenshots)
  • It is difficult to reach consensus on how exactly the UI should look like, and merging a PR like this one without consulting a designer and making a poll for users, might be controversial
  • I tested the APK and noticed that various items have not been redesigned (e.g. playlists), but if we want to change things we need to first agree on some rules to apply everywhere in the app (e.g. all titles should be bold, ...)

@Stypox Stypox closed this Nov 27, 2024
whistlingwoods added a commit to whistlingwoods/FoxPipe that referenced this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Issue is related to accessibility GUI Issue is related to the graphical user interface size/medium PRs with less than 250 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inadequate accessibility of the app layouts and improper contrast between various views.

5 participants