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

Remove fomantic loader module #26670

Merged
merged 13 commits into from Aug 25, 2023
Merged

Remove fomantic loader module #26670

merged 13 commits into from Aug 25, 2023

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Aug 22, 2023

Replace Fomantic loader CSS module with our existing is-loading spinner. Only three places in the UI used this module, which are pictured here:

imagediff:
Screenshot 2023-08-22 at 22 18 01

webauthn:
Screenshot 2023-08-22 at 22 05 05

heatmap (I removed the previous loading text, it was unreadable because it was tiny and on fast machines only visible for a fraction of a second):
Screenshot 2023-08-22 at 22 18 44

Also, heatmap container does not resize any more after loading now and previous duplicate id user-heatmap is gone.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 22, 2023
@pull-request-size pull-request-size bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Aug 22, 2023
@silverwind silverwind added type/refactoring Existing code has been cleaned up. There should be no new functionality. topic/ui Change the appearance of the Gitea UI labels Aug 22, 2023
@6543 6543 added this to the 1.21.0 milestone Aug 22, 2023
@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 Aug 22, 2023
templates/shared/spinner.tmpl Outdated Show resolved Hide resolved
templates/repo/diff/image_diff.tmpl Outdated Show resolved Hide resolved
Copy link
Member

@delvh delvh left a comment

Choose a reason for hiding this comment

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

Well… I can live both with the new template as well as without it, so no problems from my side.

@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 Aug 23, 2023
@silverwind silverwind marked this pull request as draft August 23, 2023 17:16
@pull-request-size pull-request-size bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 24, 2023
@silverwind
Copy link
Member Author

Subtemplate is gone because after the refactors there was only one use left. So we defer that discussion to another time 😉.

@silverwind silverwind marked this pull request as ready for review August 24, 2023 21:09
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 25, 2023
@silverwind silverwind enabled auto-merge (squash) August 25, 2023 15:10
@silverwind silverwind merged commit 8b5c081 into go-gitea:main Aug 25, 2023
24 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Aug 25, 2023
@silverwind silverwind deleted the noloader branch August 25, 2023 17:10
zjjhot added a commit to zjjhot/gitea that referenced this pull request Aug 27, 2023
* upstream/main:
  Move `modules/mirror` to `services` (go-gitea#26737)
  [skip ci] Updated translations via Crowdin
  Fix template bugs in recently_pushed_new_branches.tmpl (go-gitea#26744)
  Fix incorrect "tabindex" attributes (go-gitea#26733)
  Simplify helper CSS classes and avoid abuse (go-gitea#26728)
  Remove fomantic loader module (go-gitea#26670)
  Fix link in mirror docs (go-gitea#26719)
  Add `eslint-plugin-vue-scoped-css` (go-gitea#26720)
  Fixed text overflow in dropdown menu (go-gitea#26694)
  Make web context initialize correctly for different cases (go-gitea#26726)
  Remove incorrect CSS helper classes (go-gitea#26712)
  Focus editor on "Write" tab click (go-gitea#26714)
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Nov 23, 2023
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. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. topic/ui Change the appearance of the Gitea UI type/refactoring Existing code has been cleaned up. There should be no new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants