Skip to content

Improve navbar: add "admin" tip, add "active" style#32927

Merged
wxiaoguang merged 6 commits into
go-gitea:mainfrom
wxiaoguang:fix-navbar
Dec 20, 2024
Merged

Improve navbar: add "admin" tip, add "active" style#32927
wxiaoguang merged 6 commits into
go-gitea:mainfrom
wxiaoguang:fix-navbar

Conversation

@wxiaoguang

@wxiaoguang wxiaoguang commented Dec 20, 2024

Copy link
Copy Markdown
Contributor

By the way, remove all "tw-" patches and unused styles. Less code, better UI.

image

image

@lunny

lunny commented Dec 20, 2024

Copy link
Copy Markdown
Member

I personally don't use a red color here. Maybe a primary color is enough?

@lunny lunny added the type/enhancement An improvement of existing functionality label Dec 20, 2024
@lunny lunny added this to the 1.24.0 milestone Dec 20, 2024

@lunny lunny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 20, 2024
@wxiaoguang

Copy link
Copy Markdown
Contributor Author

Changed to primary

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 20, 2024
Comment thread templates/base/head_navbar.tmpl
@delvh delvh added the topic/ui Change the appearance of the Gitea UI label Dec 20, 2024
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 20, 2024
@wxiaoguang wxiaoguang enabled auto-merge (squash) December 20, 2024 15:57
@wxiaoguang wxiaoguang merged commit 4774151 into go-gitea:main Dec 20, 2024
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 20, 2024
@wxiaoguang wxiaoguang deleted the fix-navbar branch December 20, 2024 16:41
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 23, 2024
* giteaofficial/main: (62 commits)
  Fix repo avatar conflict (go-gitea#32958)
  [skip ci] Updated licenses and gitignores
  fix trailing comma not matched in the case of alphanumeric issue (go-gitea#32945)
  Add auto-expanding running actions step (go-gitea#30058)
  Fix go-gitea#32954 (go-gitea#32955)
  Use Alpine 3.21 for the docker images (go-gitea#32924)
  Refactor template & test related code (go-gitea#32938)
  Use primary as button color (go-gitea#32949)
  [skip ci] Updated translations via Crowdin
  Add action auto-scroll (go-gitea#30057)
  Fix locale (go-gitea#32937)
  Enable Typescript `strictFunctionTypes` (go-gitea#32911)
  Fix areYouSure confirm (go-gitea#32941)
  Update i18n.go - Language Picker (go-gitea#32933)
  Move some errors to their own sub packages (go-gitea#32880)
  Improve navbar: add "admin" tip, add "active" style (go-gitea#32927)
  Refactor db package and remove unnecessary `DumpTables` (go-gitea#32930)
  show warning on navigation if currently editing comment or title (go-gitea#32920)
  Refactor pprof labels and process desc (go-gitea#32909)
  [skip ci] Updated translations via Crowdin
  ...
@richmahn

richmahn commented Mar 9, 2025

Copy link
Copy Markdown
Contributor

@wxiaoguang Is there a reason this wasn't backported to v1.23 due to #32874 ?

@wxiaoguang

wxiaoguang commented Mar 10, 2025

Copy link
Copy Markdown
Contributor Author

No particular reason, just because it looks trivial and this PR contains other fixes which are not easy to backport 😆 so feel free to backport

@wxiaoguang

Copy link
Copy Markdown
Contributor Author

@wxiaoguang Is there a reason this wasn't backported to v1.23 due to #32874 ?

-> Fix some UI problems for 1.23 #33856

wxiaoguang added a commit that referenced this pull request Mar 11, 2025
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants