-
-
Notifications
You must be signed in to change notification settings - Fork 50
Final UI/UX changes #1571
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
Final UI/UX changes #1571
Conversation
Unit Tests Summary 1 files 25 suites 2m 4s ⏱️ Results for commit 21e8e4b. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit 39bbcd2 ♻️ This comment has been updated with latest results. |
Code Coverage SummaryDiff against mainResults for commit: 21e8e4b Minimum allowed coverage is ♻️ This comment has been updated with latest results |
averissimo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good 💯
I'm not approving as waiting for discussion to play out in other related PRs
|
FYI: the example app fails on the distribution module |
Signed-off-by: Vedha Viyash <[email protected]>
Companion of insightsengineering/teal#1571 Additionally, it improves the preview button's position in the vignette.
Companion of insightsengineering/teal#1571 <details> <summary> Example app for testing </summary> ```r library(shiny) devtools::load_all("../teal.widgets") ui <- bslib::page_fluid( actionButton("wait", "Wait for 2 seconds `Sys.sleep(2)`"), verbatim_popup_ui("button_popup", button_label = "Button popup"), verbatim_popup_ui("link_popup", button_label = "Link popup", type = "link") ) srv <- function(input, output) { observeEvent(input$wait, { Sys.sleep(2) }) verbatim_popup_srv( "button_popup", "if (TRUE) { print('Popups are the best') }", title = "My custom title", style = TRUE ) verbatim_popup_srv( "link_popup", "if (TRUE) { print('Popups are the best') }", title = "My custom title", style = TRUE ) } shinyApp(ui, srv) ``` </details>
averissimo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go!
Part of fixes that will close insightsengineering/teal.gallery#216 and insightsengineering/teal.gallery#217
Please review this along with its companion PRs:
Changes:
🔖Bookmark,📷Snapshot Manager,▼ Filter Manager,📅Load Datawill be disabled when shiny is busy. Note that the
teal.reporterandteal.widgetsmodal buttons are handled in different PRs, the solution is the same, but they are name-spaced so they don't clash each other.Example app for testing