Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 6 commits into from
Dec 20, 2024

Conversation

wxiaoguang
Copy link
Contributor

@wxiaoguang wxiaoguang commented Dec 20, 2024

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

image

image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 20, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 20, 2024
@github-actions github-actions bot added the modifies/templates This PR modifies the template files label Dec 20, 2024
@lunny
Copy link
Member

lunny commented Dec 20, 2024

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
Copy link
Member

@lunny lunny left a comment

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
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
@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
26 checks passed
@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
Copy link
Contributor

richmahn commented Mar 9, 2025

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

@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Mar 10, 2025

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
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/templates This PR modifies the template files size/M Denotes a PR that changes 30-99 lines, ignoring generated files. 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