Conversation
- teal_transform_module to not use badge_dropdown
Code Coverage SummaryDiff against mainResults for commit: 1bed0b1 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 32 suites 2m 28s ⏱️ For more details on these errors, see this check. Results for commit cefc62c. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit 4c31502 ♻️ This comment has been updated with latest results. |
|
8 failed tests in R CMD CHECK Error in `testthat::test_that("e2e: validate_input validates dateRangeInput")`: argument "code" is missing, with no defaultdoes |
|
Ah ok, those are those 8 tests that do not have any body yet |
Yup, this is for the first volunteer |
| // This file contains functions that should be executed at the start of each session, | ||
| // not included in the original HTML | ||
|
|
||
| shinyjs.autoFocusModal = function(id) { | ||
| document.getElementById('shiny-modal').addEventListener( | ||
| 'shown.bs.modal', | ||
| () => document.getElementById(id).focus(), | ||
| { once: true } | ||
| ); | ||
| } | ||
|
|
||
| shinyjs.enterToSubmit = function(id, submit_id) { | ||
| document.getElementById('shiny-modal').addEventListener( | ||
| 'shown.bs.modal', | ||
| () => document.getElementById(id).addEventListener('keyup', (e) => { | ||
| if (e.key === 'Enter') { | ||
| e.preventDefault(); // prevent form submission | ||
| document.getElementById(submit_id).click(); | ||
| } | ||
| }) | ||
| ); | ||
| } | ||
|
|
There was a problem hiding this comment.
@gogonzo why did you remove this? it's being used by the snapshot manager
There was a problem hiding this comment.
@averissimo I've made a mistake. I'll bring it back
Closes insightsengineering/NEST-roadmap#36
Check also with:
Introduces
validate_inputas an alternative toshinyvalidatepackage. Function is easier to handle thanshinyvalidate, as one can usevalidate_input()inreactiveand display-validation-error on the input and throw shiny-validate-error in the same time. See tmg PR to see how it works