From d9bf7fecd4f210d11eb54e97f42c2bce545fd2da Mon Sep 17 00:00:00 2001 From: Martin Westgate Date: Fri, 10 Jan 2020 13:27:18 +1100 Subject: [PATCH] update app UI to be clearer about save data options Previously it was unclear that 'exit app' was required to save data to the workspace; this is now explicit --- R/screen_abstracts_ui.R | 12 ++++++------ R/screen_duplicates_ui.R | 12 ++++++------ R/screen_titles_ui.R | 12 ++++++------ R/screen_topics_ui.R | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/R/screen_abstracts_ui.R b/R/screen_abstracts_ui.R index 3ca66e5..918cb0c 100644 --- a/R/screen_abstracts_ui.R +++ b/R/screen_abstracts_ui.R @@ -22,11 +22,6 @@ screen_abstracts_ui <- function(){ label = "Import", multiple = TRUE ), - actionButton( - inputId = "save_data", - label = "Save Data", - width = "85%" - ), actionButton( inputId = "clear_data", label = "Clear Data", @@ -34,7 +29,12 @@ screen_abstracts_ui <- function(){ ), actionButton( inputId = "exit_app", - label = "Exit App", + label = "Save to Workspace", + width = "85%" + ), + actionButton( + inputId = "save_data", + label = "Save to File", width = "85%" ), br() diff --git a/R/screen_duplicates_ui.R b/R/screen_duplicates_ui.R index dd76542..c1d7bd8 100644 --- a/R/screen_duplicates_ui.R +++ b/R/screen_duplicates_ui.R @@ -31,11 +31,6 @@ screen_duplicates_ui <- function(){ uiOutput("group_selector") ), br(), - actionButton( - inputId = "save_data", - label = "Save Data", - width = "85%" - ), actionButton( inputId = "clear_data", label = "Clear Data", @@ -43,7 +38,12 @@ screen_duplicates_ui <- function(){ ), actionButton( inputId = "exit_app", - label = "Exit App", + label = "Save to Workspace", + width = "85%" + ), + actionButton( + inputId = "save_data", + label = "Save to File", width = "85%" ), br() diff --git a/R/screen_titles_ui.R b/R/screen_titles_ui.R index dd9a1c1..2f220fd 100644 --- a/R/screen_titles_ui.R +++ b/R/screen_titles_ui.R @@ -22,11 +22,6 @@ screen_titles_ui <- function(){ label = "Import", multiple = TRUE ), - actionButton( - inputId = "save_data", - label = "Save Data", - width = "85%" - ), actionButton( inputId = "clear_data", label = "Clear Data", @@ -34,7 +29,12 @@ screen_titles_ui <- function(){ ), actionButton( inputId = "exit_app", - label = "Exit App", + label = "Save to Workspace", + width = "85%" + ), + actionButton( + inputId = "save_data", + label = "Save to File", width = "85%" ), br() diff --git a/R/screen_topics_ui.R b/R/screen_topics_ui.R index bfa3291..b39fae9 100644 --- a/R/screen_topics_ui.R +++ b/R/screen_topics_ui.R @@ -43,11 +43,6 @@ screen_topics_ui <- function(){ ) ), br(), - actionButton( - inputId = "save_data", - label = "Save Data", - width = "85%" - ), actionButton( inputId = "clear_data", label = "Clear Data", @@ -55,7 +50,12 @@ screen_topics_ui <- function(){ ), actionButton( inputId = "exit_app", - label = "Exit App", + label = "Save to Workspace", + width = "85%" + ), + actionButton( + inputId = "save_data", + label = "Save to File", width = "85%" ), br()