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

[full-ci] Show local loading spinner in sharing button #9423

Merged
merged 9 commits into from
Jul 18, 2023

Conversation

lookacat
Copy link
Contributor

@lookacat lookacat commented Jul 17, 2023

Description

We've added a loading spinner to the share button in the sharing panel
to indicate that its still processing if action takes longer.

See #9425

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link

update-docs bot commented Jul 17, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@lookacat lookacat changed the title Add spinner / loading prop to oc-button Show local loading spinner in sharing button Jul 17, 2023
@lookacat lookacat marked this pull request as ready for review July 17, 2023 14:12
@lookacat lookacat changed the title Show local loading spinner in sharing button [full-ci] Show local loading spinner in sharing button Jul 18, 2023
@lookacat lookacat requested a review from JammingBen July 18, 2023 08:56
Copy link
Collaborator

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

2 things I noticed in the UI:

  • The button needs to be disabled when in loading mode (it was like this already before).
  • I actually liked the way it looked before a bit more. The loading spinner is very hard to see on that blue background now.

@lookacat
Copy link
Contributor Author

done, now its outlined passive button on save

@lookacat lookacat requested a review from JammingBen July 18, 2023 11:05
@sonarcloud
Copy link

sonarcloud bot commented Jul 18, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

25.0% 25.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@lookacat lookacat merged commit 37e7490 into master Jul 18, 2023
1 of 2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the share-button-loading-state branch July 18, 2023 11:37
AlexAndBear pushed a commit that referenced this pull request Aug 15, 2023
* Add spinner / loading prop to oc-button

* Add delayed spinner, set min-width

* Add changelog, increase spinner size, cleanup code

* Update snapshots (because of one v-if change in oc-button)

* Address PR issues

* Replace min-width with padding

* Fix infinite loading / missing unref

* Update snapshots

* Address PR issues improve button look
AlexAndBear pushed a commit that referenced this pull request Dec 13, 2023
* Add spinner / loading prop to oc-button

* Add delayed spinner, set min-width

* Add changelog, increase spinner size, cleanup code

* Update snapshots (because of one v-if change in oc-button)

* Address PR issues

* Replace min-width with padding

* Fix infinite loading / missing unref

* Update snapshots

* Address PR issues improve button look
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Web] Show local loading spinner in sharing button
2 participants