-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Improve profile for Organizations #27982
Conversation
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.
lgtm for backend
Semi-related: Regarding autofocus on search boxes, I would prefer to get rid of all of them eventually. There are certain unintended behaviours like IOS Safari zooming the page when a input element with font size less than 16px is focused. |
I also think it is better to get rid of all of them eventually. Some places have no autofocus and some places have. |
fc841f2
to
8ffefc9
Compare
Yeah, let's do in another PR. |
Co-authored-by: silverwind <me@silverwind.io>
* upstream/main: fixed duplicate attachments on dump on windows (go-gitea#28019) [skip ci] Updated translations via Crowdin packages: Calculate package size quota using package creator ID instead of owner ID (go-gitea#28007) Dont leak private users via extensions (go-gitea#28023) Improve profile for Organizations (go-gitea#27982) Enable system users search via the API (go-gitea#28013) Enable system users for comment.LoadPoster (go-gitea#28014) Change default size of issue/pr attachments and repo file (go-gitea#27946) Fix missing mail reply address (go-gitea#27997)
Mentioned here: #27982 (comment)
Fixes some problems in go-gitea#27955: - autofocus of the search box before: if access the home page will jump to the search box ![image](https://github.com/go-gitea/gitea/assets/18380374/7f100e8d-2bd6-4563-85ba-d6008ffc71d7) after: will not jump to the search box ![image](https://github.com/go-gitea/gitea/assets/18380374/9aab382c-8ebe-4d18-b990-4adbb6c341ad) - incorrect display of overview tab before: ![image](https://github.com/go-gitea/gitea/assets/18380374/b24c79e8-9b79-4576-9276-43bd19172043) after: ![image](https://github.com/go-gitea/gitea/assets/18380374/7aab5827-f086-4874-bd84-39bd81b872f3) - improve the permission check to the private profile repo In go-gitea#26295, we simply added access control to the private profile. But if user have access to the private profile repo , we should also display the profile. - add a button which can jump to the repo list? I agree @wxiaoguang 's opinion here: go-gitea#27955 (comment) But it seems that this feature is sponsored. So can we add a button which can quickly jump to the repo list or just move profile to the `overview` page? --------- Co-authored-by: silverwind <me@silverwind.io>
Fixes some problems in #27955:
autofocus of the search box
before:
if access the home page will jump to the search box
after:
will not jump to the search box
incorrect display of overview tab
before:
after:
improve the permission check to the private profile repo
In Do not show Profile README when repository is private #26295, we simply added access control to the private profile.
But if user have access to the private profile repo , we should also display the profile.
add a button which can jump to the repo list?
I agree @wxiaoguang 's opinion here: Add Profile Readme for Organisations #27955 (comment)
But it seems that this feature is sponsored.
So can we add a button which can quickly jump to the repo list or just move profile to the
overview
page?