Skip to content

Conversation

gadenbuie
Copy link
Contributor

Fixes #45

With the current approach, if the app takes a while to start up the warning message isn't removed and sticks around forever.

To reproduce the issue in #45, add time.sleep(2) at the start of the server function of examples/theme-picker/app.py.

even if the app takes a while to start up
Fixes #45
@gadenbuie gadenbuie marked this pull request as ready for review September 26, 2024 13:33
@gadenbuie gadenbuie requested a review from schloerke September 26, 2024 13:33
@gadenbuie gadenbuie requested a review from schloerke September 26, 2024 14:45
@gadenbuie
Copy link
Contributor Author

gadenbuie commented Sep 26, 2024

I also made the warning message an actual Bootstrap alert

image

…arning

This makes it possible to use CSS to completely hide the warning message
with the #shinyswatch_picker_warning selector if needed
@schloerke schloerke merged commit b5ffab9 into main Sep 27, 2024
17 checks passed
@schloerke schloerke deleted the gadenbuie/issue45 branch September 27, 2024 13:43
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.

theme picker server error stays even after it ends up loading successfully
2 participants