As a rule, all buttons should be excluded from bookmarking. At the beginning of the module server function add shiny::setBookmarkExclude(c("<button1_id>", "<button2_id>")) to register exclusions. Note that consecutive calls to setBookmarkExclude overwrite the exclusion list so only the last one counts.
In theory some buttons should not be excluded. Analyze the code and if the button server value (number of clicks) is used, do not exclude it.
Do this for all module repos:
[x] teal.modules.general
[ ] teal.modules.clinical
[ ] teal.modules.helios
[ ] teal.modules.hermes
[ ] teal.goshawk
[x] teal.ospery
teal and teal reporter are already modified on branch 898_save_app_state3@main.
Companion to https://github.com/insightsengineering/teal/pull/1011
As a rule, all buttons should be excluded from bookmarking. At the beginning of the module server function add
shiny::setBookmarkExclude(c("<button1_id>", "<button2_id>"))
to register exclusions. Note that consecutive calls tosetBookmarkExclude
overwrite the exclusion list so only the last one counts.In theory some buttons should not be excluded. Analyze the code and if the button server value (number of clicks) is used, do not exclude it.
Do this for all module repos:
teal.modules.general
teal.modules.clinical
teal.modules.helios
teal.modules.hermes
teal.goshawk
teal.ospery
teal
andteal
reporter are already modified on branch898_save_app_state3@main
.