-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
resolve issue with sort icons on admin/users and admin/runners #24360
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
Conversation
…imiting length of email field
It seems #24370 had adressed some of the same issues as this PR. @wxiaoguang which parts of this PR do we still need? |
Looking at this admin user table, I can't help but feel that there are too many columns to fit in the available space, so either remove some columns or increase page width, imho. Maybe the checkbox-only column titles could be reduced to svg icons only to save space. |
If I understand correctly, this PR is mainly for the "sort" icons/logic? |
I get the same impression, so the CSS changes should potentially be backed out now. |
@jladbrook Looks like the first issue is resolved now (193dce5). Could you refresh your PR and only keep the fix for the runners page? |
@denyskon that's done |
Has the alignment problem #24360 (comment) been resolved? If yes, please update the screenshot. If no and need help, feel free to ask ~~ Update: IMO it doesn't need to be considered as "bug" or need to be backported. |
Hi @wxiaoguang that wasn't included in the PR previously. I've had a quick look and updated to include a change to achieve: This was a minor change to base.css - if there is a better way to achieve please let me know and I'll update accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! It looks good to me now (and I will take a test later 😄 )
Update: the new margin
affects other UI. I will propose a fix soon.
Oh sorry I did check around in my changed version and didn't notice the change - what page(s) was affected? |
That's really strange. According to my test, without But when the I don't know why your first screenshot shows that the icon misalignment. Maybe it's better to remove the The old UI on my sideThe new UI with
|
This reverts commit 86389da.
Strange - I'm using a fairly recent version of Chrome, although it shows the same in Brave and FireFox. I assume it's something to do with my install. I've reverted the change. Thanks for the feedback. |
Maybe it's related to your OS & font. Indeed, the legacy "margin / vertical-align" layout is not ideal and has various problems. Ideally the layout should be refactored to a new approach later -- it will be another story. |
@wxiaoguang Why are you against a backport? This fix adds the missing sort icon to the runners table and improves sorting. I think this isn't anything that has the potential to break something |
IMO each backport comes with risk: even if there is no conflict, the backported code might not work, and no one would really test the backport. So, if a fixed problem is not very important (eg: no matter with or without an "icon", the "list" still works), I would prefer to not backport. But that's just my opinion, free free to backport if you think it is important. |
* giteaofficial/main: fix media description render for orgmode (go-gitea#26895) Show OpenID Connect and OAuth on signup page (go-gitea#20242) Update status and code index after changing the default branch (go-gitea#27018) add sparse url in cargo package guide (go-gitea#26937) Add missing 404 response to Swagger (go-gitea#27038) Fix object storage path handling (go-gitea#27024) [skip ci] Updated translations via Crowdin bump rootful to 16gb setup go in the nightly release pipeline Speed up nightly builds (go-gitea#27045) Improve repo/user/org search (go-gitea#27030) Use Actuated.dev runner for nightly builds update snap package (go-gitea#27021) resolve issue with sort icons on admin/users and admin/runners (go-gitea#24360)
Fixes #24327 to avoid the sort icon changing the table header over multiple lines and adds missing sort icons on the runners page.
Fixed User Admin Page
Updated Runners Page