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

qenv warnings #465

Merged
merged 17 commits into from
Oct 27, 2022
Merged

Conversation

mhallal1
Copy link
Collaborator

@mhallal1 mhallal1 commented Sep 27, 2022

related to insightsengineering/teal.code#63

  • Added teal.widgets::verbatim_popup_ui and teal.widgets::verbatim_popup_srv to account for warnings in the modules.
  • the button is disabled if there are no warnings.

Please test with example apps.

@mhallal1 mhallal1 added the core label Sep 27, 2022
@nikolas-burkoff nikolas-burkoff changed the base branch from main to teal_refactor@main September 27, 2022 12:25
@nikolas-burkoff nikolas-burkoff changed the title qnev warnings qenv warnings Sep 27, 2022
@@ -370,7 +373,7 @@ srv_g_bivariate <- function(id,

anl_merged_q <- reactive({
req(anl_merged_input())
teal.code::new_qenv(tdata2env(data), code = get_code(data)) %>%
teal.code::new_qenv(tdata2env(data), code = teal.data::get_code(data)) %>%
Copy link
Contributor

Choose a reason for hiding this comment

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

So get_code.tdata lives in teal so do we need teal.data:: here? Would be really sad if we do...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

mhallal1 and others added 2 commits September 28, 2022 18:18
Co-authored-by: Nikolas Burkoff <nikolas.burkoff@roche.com>
Signed-off-by: Mahmoud Hallal <86970066+mhallal1@users.noreply.github.com>
@mhallal1 mhallal1 removed the blocked label Sep 28, 2022
@@ -316,7 +316,10 @@ ui_distribution <- function(id, ...) {
)
)
),
forms = teal.widgets::verbatim_popup_ui(ns("rcode"), "Show R code"),
forms = tagList(
teal.widgets::verbatim_popup_ui(ns("warning"), "Show Warnings"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Some are id warnings others warning

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

mhallal1 and others added 3 commits September 29, 2022 11:12
Co-authored-by: Nikolas Burkoff <nikolas.burkoff@roche.com>
Signed-off-by: Mahmoud Hallal <86970066+mhallal1@users.noreply.github.com>
Signed-off-by: Nikolas Burkoff <nikolas.burkoff@tessella.com>
…actor@main" and "origin/63_warnings@teal_refactor@main"
Copy link
Contributor

@gogonzo gogonzo left a comment

Choose a reason for hiding this comment

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

👍

@gogonzo gogonzo self-assigned this Oct 27, 2022
@nikolas-burkoff nikolas-burkoff merged commit 03f1461 into teal_refactor@main Oct 27, 2022
@nikolas-burkoff nikolas-burkoff deleted the 63_warnings@teal_refactor@main branch October 27, 2022 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants