-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Split org Propfile README to a new tab overview
#31373
Conversation
like user profile, add a new overviw tab to show profile READEME when it is exist. Signed-off-by: a1012112796 <[email protected]>
overview
overview
Looks like Github's default page is repositories list. |
Github renders:
I suggest we do the same, which should make everyone happy. |
No, if I open https://github.com/go-gitea, it goes to the the overview tab. |
Signed-off-by: a1012112796 <[email protected]>
has add it 990584f |
templates/org/menu.tmpl
Outdated
{{svg "octicon-info"}} {{ctx.Locale.Tr "user.overview"}} | ||
</a> | ||
{{end}} | ||
<a class="{{if .PageIsViewRepositories}}active {{end}}item" href="{{$.Org.HomeLink}}{{if .HasProfileReadme}}?view_repositorys=true{{end}}"> |
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.
Can you make this route /<orgname>/repositories
please? Query string is ugly and your view_repositorys
is actually a typo.
Signed-off-by: a1012112796 <[email protected]>
This is not ideal because I think the members and team on the right sidebar of repository list can be removed since there is an overview tab. Of course, it can be finished by another PR. But there is a conflict if there is no |
This PR has been in |
overview
overview
* giteaofficial/main: Split org Propfile README to a new tab `overview` (go-gitea#31373) [skip ci] Updated translations via Crowdin Introduce globallock as distributed locks (go-gitea#31908)
like user profile, add a new overviw tab to show profile READEME when it is exist. replace go-gitea#31349 (another solution option) example view: ![屏幕截图 2024-06-14 094116](https://github.com/go-gitea/gitea/assets/25342410/3303a1f2-ae02-48e0-9519-7fa11e65657f) ![屏幕截图 2024-06-14 094101](https://github.com/go-gitea/gitea/assets/25342410/7a4a5a48-dc2b-4ad4-b2a2-9ea4ab5d5808) --------- Signed-off-by: a1012112796 <[email protected]>
like user profile, add a new overviw tab to show profile READEME when it is exist.
replace #31349 (another solution option)
example view: