Skip to content

Commit

Permalink
Add input_task_button() item to NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheng5 committed Jan 8, 2024
1 parent cf37dfa commit fc6cbe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* A `sidebar()` passed to `page_sidebar()`/`page_navbar()` is now always open (and not collapsible) by default on mobile screens. To revert to the old behavior, set `open = "desktop"` in the `sidebar`. (#943)

## New features

* Added `input_task_button()`, a replacement for `shiny::actionButton()` that automatically prevents an operation from being submitted multiple times. It does this by, upon click, immediately transitioning to a "Processing..." visual state that does not let the button be clicked again. The button resets to its clickable state automatically after the reactive flush it causes is complete; or, for advanced scenarios, `set_task_button_manual_reset()` and `update_task_button()` can be used to manually reset the button at a later time.

## Improvements

* `layout_columns()` was rewritten in Typescript as a custom element to improve the portability of the component. (#931)
Expand Down

0 comments on commit fc6cbe9

Please sign in to comment.