-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor slider state management (#322)
Closes #321 Changes: 1. The `toggle_slider_ui` and `toggle_slider_server` can only be used to create dichotomous slider now. There was no instance of single value slider created. So, there is no need to create it and increase the complexity. 2. Removal of the `keep_range_slider_updated` in favor of `keep_slider_state_updated` to keep the states updated based on other widget inputs. 3. Updated the modules that uses this widget. Note that the `tm_g_gh_lineplot` does not use the `keep_slider_state_updated` and directly updates the state reactiveValues. Check all the modules that use the `toggle_slider` module: - [ ] `tm_g_gh_boxplot` - [ ] `tm_g_gh_correlationplot` - [ ] `tm_g_gh_density_distribution_plot` - [ ] `tm_g_gh_lineplot` - [ ] `tm_g_gh_spaghettiplot` - [ ] `tm_g_gh_scatterplot `(deprecate in favor of `tm_g_gh_correlationplot`) --------- Co-authored-by: go_gonzo <[email protected]>
- Loading branch information
Showing
16 changed files
with
539 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,3 +78,4 @@ Language: en-US | |
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.2 | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.