Skip to content

🎨 Migrate to outlined icon style #15067

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

Merged
merged 23 commits into from
Jul 4, 2025
Merged

Conversation

AndyScherzinger
Copy link
Member

  • Tests written, or not not needed

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Very nice! Some feedback:

  • The currently selected entry in the drawer could also get a filled icon, like we do for the bottom rail
  • The grid/list view toggle is not outlined yet
  • The "Rename" icon in the file menu doesn’t seem to be outlined? Becomes apparent when comparing it to the "Edit" icon – or they don’t use the same icon set/type
  • Inside notifications, the bell icon at least is still filled (using daily with the AIO warnings shown). It does flash the outlined variant for a second but then goes to filled.
    • icon retrieved from server, hence "fixed" when the server updated the icon to outlined
  • In file details, the tab headings "Activities" and "Sharing" don’t use outlined icons. Again, here the currently active tab could use a filled icon.
  • In the scanning flow, the icons are still completely different, and use 2 different icon types?

@AndyScherzinger
Copy link
Member Author

The currently selected entry in the drawer could also get a filled icon, like we do for the bottom rail

@jancborchardt I checked GMail and they don't do this / also not defined in Material 3. We could do it of course. I just need to know if we should do it. For the bottom navigation, yes, GDrive does it as well.

@jancborchardt
Copy link
Member

jancborchardt commented Jun 30, 2025

@AndyScherzinger you're right, and K-9 Mail doesnt do filled for the drawer either. And I can't seem to find another app where this is properly testable. (Files by Google has a drawer but switches views with that.)

Then let's keep consistent with the others and not fill the selected entry in the drawer, disregard my feedback about that. :)

@AndyScherzinger
Copy link
Member Author

@jancborchardt

Then let's keep consistent with the others and not fill the selected entry in the drawer, disregard my feedback about that. :)

Didn't see the comment early enough and already built it 😁

The grid/list view toggle is not outlined yet

Any suggested icons?

What we use for grid is https://fonts.google.com/icons?icon.query=grid&icon.size=24&icon.color=%23FFFFFF&selected=Material+Symbols+Outlined:calendar_view_month:FILL@1;wght@400;GRAD@0;opsz@24&icon.platform=android&icon.set=Material+Symbols
In outline it just looks like a table

The list icon doesn't change visually in fille/outline https://fonts.google.com/icons?icon.query=list&icon.size=24&icon.color=%23FFFFFF&selected=Material+Symbols+Outlined:lists:FILL@1;wght@400;GRAD@0;opsz@24&icon.platform=android&icon.set=Material+Symbols

@AndyScherzinger
Copy link
Member Author

AndyScherzinger commented Jun 30, 2025

list bullet list grid
Screenshot_20250630_155113 Screenshot_20250630_155232 Screenshot_20250630_155122

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Am fine with either, but "bullet list" works a bit better with the style.

Unrelated but wow, we need to do something about "Recommended files" taking up so much space @tobiasKaminsky

@AndyScherzinger
Copy link
Member Author

Am fine with either, but "bullet list" works a bit better with the style.

bullet list it is then 👍

@AndyScherzinger
Copy link
Member Author

@jancborchardt implemented all your comments on the icons 👍

@AndyScherzinger
Copy link
Member Author

Unrelated but wow, we need to do something about "Recommended files" taking up so much space @tobiasKaminsky

WIP at #15075

@AndyScherzinger
Copy link
Member Author

The unused resources lint warning are due to the icon overrides for the document scanner lib.

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Looks great now, very nice @AndyScherzinger! :)

One thing I noticed additionally but it could be done in a follow-up: While of course the folders and filetype icons should be filled (as they are), the icons on groupfolders and shared folders could use the outline variant.

@AndyScherzinger
Copy link
Member Author

AndyScherzinger commented Jul 1, 2025

One thing I noticed additionally but it could be done in a follow-up: While of course the folders and filetype icons should be filled (as they are), the icons on groupfolders and shared folders could use the outline variant.

@jancborchardt outline variant on the folder-icon itself or the layover "folder-type" icon?

@AndyScherzinger AndyScherzinger force-pushed the style/noid/outlined-icons branch 2 times, most recently from cb4b152 to 5146e83 Compare July 2, 2025 08:17
@jancborchardt
Copy link
Member

@jancborchardt outline variant on the folder-icon itself or the layover "folder-type" icon?

@AndyScherzinger of the overlaid "group" or "shared" icon. :) As we discussed, the folder itself should always be filled.

... except for mime-type and app icons

Signed-off-by: Andy Scherzinger <[email protected]>
...to better match grid view icon styling

Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
@AndyScherzinger AndyScherzinger force-pushed the style/noid/outlined-icons branch 2 times, most recently from cdf4f9c to 0be8c4b Compare July 4, 2025 12:41
@AndyScherzinger AndyScherzinger force-pushed the style/noid/outlined-icons branch from 0be8c4b to 41bfaf1 Compare July 4, 2025 13:24
Copy link

github-actions bot commented Jul 4, 2025

Codacy

Lint

TypemasterPR
Warnings5151
Errors1111

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness6262
Dodgy code300300
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4848
Security1818
Total538538

Copy link

github-actions bot commented Jul 4, 2025

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15067.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@AndyScherzinger AndyScherzinger merged commit 12ddabc into master Jul 4, 2025
19 of 20 checks passed
@AndyScherzinger AndyScherzinger deleted the style/noid/outlined-icons branch July 4, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants