Skip to content

Commit

Permalink
v2.0.7.9017
Browse files Browse the repository at this point in the history
- refactor: Change widths on Edit Thresholds tab
  - Some boxes too small
  • Loading branch information
leppott committed Sep 12, 2023
1 parent ff1fd57 commit 49c61d7
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 20 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ContDataQC
Title: Quality Control (QC) of Continous Monitoring Data
Version: 2.0.7.9016
Version: 2.0.7.9017
Authors@R: c(
person("Erik W", "Leppo", email="[email protected]",role=c("aut","cre")),
person("Ann","Roseberry Lincoln", role="ctb"),
Expand Down
9 changes: 8 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ NEWS-ContDataQC

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2023-09-11 14:24:14.581759
#> Last Update: 2023-09-12 10:23:52.966568

# Version History

## v2.0.7.9017

2023-09-12

- refactor: Change widths on Edit Thresholds tab
- Some boxes too small

## v2.0.7.9016

2023-09-11
Expand Down
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ NEWS-ContDataQC

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2023-09-11 14:24:14.581759
#> Last Update: 2023-09-12 10:23:52.966568

# Version History

## v2.0.7.9017

2023-09-12

- refactor: Change widths on Edit Thresholds tab
- Some boxes too small

## v2.0.7.9016

2023-09-11
Expand Down
6 changes: 6 additions & 0 deletions NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ cat(paste0("Last Update: ",Sys.time()))

# Version History

## v2.0.7.9017
2023-09-12

* refactor: Change widths on Edit Thresholds tab
+ Some boxes too small

## v2.0.7.9016
2023-09-11

Expand Down
35 changes: 19 additions & 16 deletions inst/shiny-examples/ContDataQC/external/tab_3c_QCThresh.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Panel, QC Thresholds
# Ben Block, 2021-06-16
# Erik Leppo, 2022-12-19, add Gross boxes
# 2023-09-12, change boxes to width 3 (from 2)
# and remove sidebar and main panel width specifications
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

function() {
Expand Down Expand Up @@ -53,9 +55,9 @@ function() {
# ,h4("3. Save changes (for each parameter)")
# ,h4("4. Download custom thresholds file")
,sidebarLayout(
sidebarPanel(width = 5
sidebarPanel(#width = 5
# , style = "position:fixed"#;width:22%"
,h4("1. Select Parameter")
h4("1. Select Parameter")
,selectInput(inputId = "QC_Param_Input"
, label = NULL
, choices = c("Air Temperature" = "AirTemp"
Expand Down Expand Up @@ -83,31 +85,32 @@ function() {
,h4("4. Download your custom threshold file")
,p(paste("Note: The downloaded file must be reuploaded"))
,downloadButton(outputId = "QC_Thresh_Download"
, label = "Download custom thresholds file")
#, label = "Download custom thresholds file")
, label = "Download")
, h4("5. Upload custom threshold file")
, p("Go to the 'upload custom thresholds' tab, browse to the custom thresholds file, upload the file and then, under 'Main functions', generate the QC reports. If you skip this step, the default QC thresholds will be used.")

) # sidebarPanel~ END
, mainPanel(width = 7
, includeHTML("www/RMD_HTML/App_3c4_QCThresh_Edit.html")
, mainPanel(#width = 12
includeHTML("www/RMD_HTML/App_3c4_QCThresh_Edit.html")
, tags$hr()
, h4("Gross Thresholds")
, p(paste("Test if data point exceeds a user defind"
, "threshold."))
, fluidRow(
column(width = 2,
column(width = 3,
numericInput(inputId = "GR_Fail_Max"
, label = "Fail (Hi)"
, value = "1"))
,column(width = 2,
,column(width = 3,
numericInput(inputId = "GR_Fail_Min"
, label = "Fail (Lo)"
, value = "1"))
, column(width = 2,
, column(width = 3,
numericInput(inputId = "GR_Sus_Max"
, label = "Suspect (Hi)"
, value = "1"))
, column(width = 2,
, column(width = 3,
numericInput(inputId = "GR_Sus_Min"
, label = "Suspect (Lo)"
, value = "1"))
Expand All @@ -117,11 +120,11 @@ function() {
, p(paste("Test if data point exceeds a user defined"
,"threshold relative to the previous data point."))
, fluidRow(
column(width = 2,
column(width = 3,
numericInput(inputId = "Spike_Fail"
, label = "Fail"
, value = "1"))
,column(width = 2,
,column(width = 3,
numericInput(inputId = "Spike_Sus"
, label = "Suspect"
, value = "1"))
Expand All @@ -132,11 +135,11 @@ function() {
,"standard deviations from the previous"
,"data points over a user defined time period."))
, fluidRow(
column(width = 2,
column(width = 3,
numericInput(inputId = "RoC_SDs"
, label = "SDs"
, value = "1"))
,column(width = 2,
,column(width = 3,
numericInput(inputId = "RoC_Hrs"
, label = "Hours"
, value = "1"))
Expand All @@ -147,15 +150,15 @@ function() {
,"threshold from previous data points over"
,"a user defined range."))
, fluidRow(
column(width = 2,
column(width = 3,
numericInput(inputId = "Flat_Fail"
, label = "Fail"
, value = "1"))
,column(width = 2,
,column(width = 3,
numericInput(inputId = "Flat_Sus"
, label = "Suspect"
, value = "1"))
,column(width = 2,
,column(width = 3,
numericInput(inputId = "Flat_Toler"
, label = "Tolerance"
, value = "1"))
Expand Down
2 changes: 1 addition & 1 deletion inst/shiny-examples/ContDataQC/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tab_5b_Console <- source("external/tab_5b_Console.R", local = TRUE)$value

shinyUI(
# VERSION, 1, current [non-EPA] ----
navbarPage("Continuous data QC, summary, and statistics - v2.0.7.9016",
navbarPage("Continuous data QC, summary, and statistics - v2.0.7.9017",
theme = shinytheme("spacelab")
,tab_1_About()
#,tab_1a_Overview()
Expand Down

0 comments on commit 49c61d7

Please sign in to comment.