Skip to content
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

Update outdated label to use Fomantic UI style #13181

Conversation

ivanvc
Copy link
Contributor

@ivanvc ivanvc commented Oct 16, 2020

This is an update to #13148. As I mentioned the CSS could be improved, and I didn't realize styling could have been done by just using native elements from Fomantic UI.

…ments-in-pull-request-label-style

* origin/master:
  [skip ci] Updated translations via Crowdin
  Fix diff skipping lines (go-gitea#13154)
  Update go-version v1.2.3 -> v1.2.4 (go-gitea#13169)
  Vendor Update Go Libs (go-gitea#13166)
  Prevent panics with missing storage (go-gitea#13164)
  Improve users management through the CLI (go-gitea#6001) (go-gitea#10492)
  Change order of possible-owner organizations to alphabetical (go-gitea#13160)
  Slightly simplify the queue settings code to help reduce the risk of problems (go-gitea#12976)
  [Vendor] Update go-ldap to v3.2.4 (go-gitea#13163)
  [skip ci] Updated translations via Crowdin
  Update external-renderers.en-us.md (go-gitea#13165)
@techknowlogick techknowlogick added topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality labels Oct 16, 2020
@techknowlogick techknowlogick added this to the 1.14.0 milestone Oct 16, 2020
@lunny
Copy link
Member

lunny commented Oct 17, 2020

Is the UI same as before?

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 17, 2020
@silverwind
Copy link
Member

Got a screenshot?

@ivanvc
Copy link
Contributor Author

ivanvc commented Oct 19, 2020

Again, referencing my previous PR (and #13148 (comment)). I noticed some unnecessary css/styling for labels that could be native Fomantic UI elements. I initially just change the one I recently added (the outdated label), but went ahead and updated the rest of them. I'm attaching screenshots from Firefox and Chrome for each of the affected elements, and both using the defualt theme and arc-green.

Emphasis in the labels:

  • Pending
  • Review
  • Collaborator
  • Owner
  • Outdated

Chrome default theme:

Screenshot from 2020-10-19 10-26-48
Screenshot from 2020-10-19 10-26-40
Screenshot from 2020-10-19 10-26-32

Chrome arc-green theme:

Screenshot from 2020-10-19 10-27-15
Screenshot from 2020-10-19 10-27-07
Screenshot from 2020-10-19 11-06-38

Firefox default theme:

Screenshot from 2020-10-19 10-48-29
Screenshot from 2020-10-19 10-48-01
Screenshot from 2020-10-19 10-47-54

Firefox arc-green theme:

Screenshot from 2020-10-19 10-49-30
Screenshot from 2020-10-19 10-49-21
Screenshot from 2020-10-19 10-49-16

@silverwind, @lunny: updated the PR with screenshots :)

@ivanvc
Copy link
Contributor Author

ivanvc commented Oct 19, 2020

Crap, broke the frontend linter, will fix it...

@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 Oct 19, 2020
@6543
Copy link
Member

6543 commented Oct 21, 2020

@ivanvc pleace resolve conflicts :)

…ments-in-pull-request-label-style

* origin/master: (27 commits)
  [skip ci] Updated translations via Crowdin
  add more clarification to the issue-template.md (go-gitea#13235)
  go-version constraints ignore pre-releases (go-gitea#13234)
  [skip ci] Updated translations via Crowdin
  Update some JS dependencies (go-gitea#13222)
  Return the full rejection message and errors in flash errors (go-gitea#13221)
  Update heatmap fixtures to restore tests (go-gitea#13224)
  [skip ci] Updated translations via Crowdin
  Add review request api (go-gitea#11355)
  [skip ci] Updated translations via Crowdin
  When the git ref is unable to be found return broken pr (go-gitea#13218)
  Various arc-green fixes (go-gitea#13214)
  Show stale label for stale code comment which is marked as resolved (go-gitea#13213)
  Move install pages out of main macaron routes (go-gitea#13195)
  Use CSS Variables for fonts, remove postcss-loader (go-gitea#13204)
  [skip ci] Updated translations via Crowdin
  Align `SSH_AUTHORIZED_KEYS_BACKUP` var with the value in `app.ini` (go-gitea#13212)
  Fix size and clickable area on file table back link (go-gitea#13205)
  [skip ci] Updated translations via Crowdin
  Fix error in diff html rendering (go-gitea#13191)
  ...
@ivanvc
Copy link
Contributor Author

ivanvc commented Oct 21, 2020

@6543 done!

@6543
Copy link
Member

6543 commented Oct 21, 2020

🚀

@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 Oct 21, 2020
@techknowlogick
Copy link
Member

🚀

@techknowlogick techknowlogick merged commit 819901b into go-gitea:master Oct 21, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
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.

8 participants