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

shorten usernames in /stats view (or display the displayname instead)? #22

Closed
hndrk-themer opened this issue Apr 18, 2023 · 1 comment
Closed

Comments

@hndrk-themer
Copy link

hndrk-themer commented Apr 18, 2023

Hey, sorry to bother you, but i love your bot so much lol.

So usually the /stats output isnt that good readable on mobile phones. Basically because long @usernames will make it look odd

photo_2023-04-18_10-33-17

in most cases the displayname from users is a bit shorter (just a nickname) so would it be possible to show that instead. and maybe add a max limit of .. idk .. 15 letters and then it shortens the name with [...] or sth. i dont mind changing the code by myself, as you might have noticed i also edited the column headers a bit to shorten them but this one long username messes with the look. And i am not that pro at coding.

Have a nice day! Thanks for the work on this one.

@hndrk-themer
Copy link
Author

#23

I've made a Pull. maybe its sth for you too.

photo_2023-04-18_11-07-29

looks way better now for our users

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

No branches or pull requests

1 participant