[feat] Allow for hiding admin badge on profile for yourself #439

Open
opened 2025-04-25 20:19:45 +00:00 by knuxify · 2 comments

The idea

There is an option to disable the "Admin" badge on your profile, but it only applies for other users; afaict the badge is still visible for the user for themselves even with this option enabled.

The reasoning

The user roles box gets cluttered with both a Bot and an Admin badge, and I'd like to be able to disable it for myself :p

Also, it ends up getting squeezed weird at lower screen resolutions with both (the issue here seems to be the "X per day" label being too long, I guess the correct solution would be to let it wrap - this is a separate issue though!):

image

Have you searched for this feature request?

  • I have double-checked and have not found this feature request mentioned anywhere.
  • This feature is related to the pleroma-fe Akkoma frontend specifically, and not the backend.
### The idea There is an option to disable the "Admin" badge on your profile, but it only applies for other users; afaict the badge is still visible for the user for themselves even with this option enabled. ### The reasoning The user roles box gets cluttered with both a Bot and an Admin badge, and I'd like to be able to disable it for myself :p Also, it ends up getting squeezed weird at lower screen resolutions with both (the issue here seems to be the "X per day" label being too long, I guess the correct solution would be to let it wrap - this is a separate issue though!): ![image](/attachments/f42484bb-1f81-4a39-b9c4-94aa65df1107) ### Have you searched for this feature request? - [x] I have double-checked and have not found this feature request mentioned anywhere. - [x] This feature is related to the pleroma-fe Akkoma frontend specifically, and not the backend.
Owner

tangential to the request, but:

Also, it ends up getting squeezed weird at lower screen resolutions with both

@Riedler looks like there are more cases where there isn’t enough space. Can you take a look at adapting the width where compact mode disables itself or something else effective?

@knuxify you can avoid the squeezing by turning of "compact" user profiles in akkoma-fe settings

tangential to the request, but: > Also, it ends up getting squeezed weird at lower screen resolutions with both @Riedler looks like there are more cases where there isn’t enough space. Can you take a look at adapting the width where compact mode disables itself or something else effective? @knuxify you can avoid the squeezing by turning of "compact" user profiles in akkoma-fe settings
Contributor

I'm quite busy rn with moving, but I can take a look at it in june or so. my first thought would be using container queries for that, or maybe just a horizontal flex layout that overflows the stats if space gets too tight. some of those elements on the left should also definitely have a minimum width and disabled line break

I'm quite busy rn with moving, but I can take a look at it in june or so. my first thought would be using [container queries](https://developer.mozilla.org/en-US/docs/Web/CSS/@container) for that, or maybe just a horizontal flex layout that overflows the stats if space gets too tight. some of those elements on the left should also definitely have a minimum width and disabled line break
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#439
No description provided.