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

feat(widgets): New LoadingWidget #9485

Merged
merged 8 commits into from
Mar 29, 2025
Merged

feat(widgets): New LoadingWidget #9485

merged 8 commits into from
Mar 29, 2025

Conversation

ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Mar 2, 2025

Closes #

Background

  • "One new widget per day" challenge

Change List

  • Should not be a button

@ibgreen ibgreen requested a review from chrisgervang March 2, 2025 11:33
@coveralls
Copy link

coveralls commented Mar 2, 2025

Coverage Status

coverage: 91.632% (+0.001%) from 91.631%
when pulling 20a5414 on ib/loading-widget
into 54dc451 on master.

@@ -171,3 +181,8 @@
);
}

.deck-widget-spinner-icon {
--deck-widget-icon-loading: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" ><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't this take priority over user defined variable from somewhere higher up in the DOM (e.g. :root)?

const element = this.element;
if (!element) return;
render(
// TODO(ibgreen) - this should not be a button, but styling is so nested that it is easier to reuse this component.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps you can just disable pointer events with CSS for this widget?

@ibgreen ibgreen mentioned this pull request Mar 4, 2025
43 tasks
Copy link
Collaborator

@chrisgervang chrisgervang left a comment

Choose a reason for hiding this comment

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

Stamping so we can experimentally merge this in. To graduate let's take a pass on design improvements, pointer events, and theming.

@ibgreen ibgreen merged commit ce768f6 into master Mar 29, 2025
4 checks passed
@ibgreen ibgreen deleted the ib/loading-widget branch March 29, 2025 14:56
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.

3 participants