Skip to content

Commit

Permalink
Merge c02a0a7 into 67c71ea
Browse files Browse the repository at this point in the history
  • Loading branch information
asbates authored May 11, 2023
2 parents 67c71ea + c02a0a7 commit e7d5185
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

### Enhancements

* Changed modal button colors to align with their purpose and with other modals.
* Updated the `AddCardModule` comment input to have an active cursor when adding a card.
* Updated report previewer to support preview of multiline comment.
* Added support for a table of contents for reporter documents.
Expand Down
2 changes: 1 addition & 1 deletion R/AddCardModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ add_card_button_srv <- function(id, reporter, card_fun) {
footer = shiny::div(
shiny::tags$button(
type = "button",
class = "btn btn-danger",
class = "btn btn-secondary",
`data-dismiss` = "modal",
`data-bs-dismiss` = "modal",
NULL,
Expand Down
2 changes: 1 addition & 1 deletion R/DownloadModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ download_report_button_srv <- function(id,
footer = shiny::tagList(
shiny::tags$button(
type = "button",
class = "btn btn-danger",
class = "btn btn-secondary",
`data-dismiss` = "modal",
`data-bs-dismiss` = "modal",
NULL,
Expand Down
4 changes: 2 additions & 2 deletions R/Previewer.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ reporter_previewer_srv <- function(id,
footer = shiny::tagList(
shiny::tags$button(
type = "button",
class = "btn btn-danger",
class = "btn btn-secondary",
`data-dismiss` = "modal",
`data-bs-dismiss` = "modal",
NULL,
"Cancel"
),
shiny::actionButton(ns("remove_card_ok"), "OK", class = "btn-warning")
shiny::actionButton(ns("remove_card_ok"), "OK", class = "btn-danger")
)
)
)
Expand Down
4 changes: 2 additions & 2 deletions R/ResetModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ reset_report_button_srv <- function(id, reporter) {
footer = shiny::tagList(
shiny::tags$button(
type = "button",
class = "btn btn-danger",
class = "btn btn-secondary",
`data-dismiss` = "modal",
`data-bs-dismiss` = "modal",
NULL,
"Cancel"
),
shiny::actionButton(ns("reset_reporter_ok"), "Reset", class = "btn-warning")
shiny::actionButton(ns("reset_reporter_ok"), "Reset", class = "btn-danger")
)
)
)
Expand Down

0 comments on commit e7d5185

Please sign in to comment.