Repository navigation
Conversation
|
Thanks for the PR! Our team will review and follow up. |
|
CI failed on test_dvcv009_suppress_callback_exceptions, which looks flaky and unrelated to this change. Could someone re-run it? Thanks! |
|
The benchmark job fails at the "Comment results on the PR" step (403, read-only token on a fork PR). Looks like #3984 fixes that. Once it is merged, could you re-run the benchmarks here so the results get posted? |
KoolADE85
left a comment
There was a problem hiding this comment.
Hey @budescode thanks for the submission here!
I like the standard-looking circle spinner here, but I'm a bit skeptical of adding new spinner types.
What do you think about updating the existing circle spinner to just be this improved implementation instead? That way we replace the existing "circle of dots" and keep a manageable number of types.
|
|
Thanks @KoolADE85, that works for me. I have updated the PR to replace the current circle implementation with this ring and dropped the clip type, so the number of built-in types stays at 5. One note: this is a visible change for any app already using type="circle", and the CSS class changes from dash-sk-circle to dash-circle-spinner. I have listed it under Changed in the CHANGELOG. Let me know if you would prefer it handled differently. |
|
I'm wondering if this might be considered a breaking change. The 5 built-in spinners all have a similar style and this update will change one of them. I think it would be best not to update the spinners. It's easy to add your own spinner if you don't like the built-in options using the https://dash.plotly.com/dash-core-components/loading#custom-spinner-component |



Replaces the
circlespinner indcc.Loadingwith a plain rotating ring, the most common loading indicator on the web. No newtypevalue is added, as discussed below.This started as a new
cliptype. Following review, the ring now replaces the SpinKit "circle of dots" implementation behind the existingcirclename, so the number of built-in types stays at 5.The ring is a port of
ClipLoaderfrom react-spinners (MIT), done the same way as the existing SpinKit ports: no new dependency, one self-contained file with inline CSS, and the source credited in a comment.Note for users: any app using
type="circle"will see the new spinner after upgrading. The old CSS classdash-sk-circleis replaced bydash-circle-spinner. This is recorded underChangedin the CHANGELOG.Contributor Checklist
circlespinner implementation inCircleSpinner.tsxtest_ldcp020_loading_component_circle_spinneroptionals
CHANGELOG.md