-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom rendering to provide manual ticks when there is <10 ticks #319
Conversation
Code Coverage Summary
Diff against main
Results for commit: 5990855 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
@vedhav The slider does not affect the output of the plot : ( plot Y-Axis should be reduced to the limits set in the slider |
Ah, I can see why this could happen. Let me check. |
@m7pr that bug is fixed. I stumbled upon another bug, When some inputs change (in the top widgets, like the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work, @vedhav
I have couple findings:
- The plot and slider got reset to original value after clicking the Toggle button a few times:
Screen.Recording.2024-10-11.at.8.27.54.AM.mov
On 0:18 to 0:20, you can see the plot changes before I click the Toggle button.
This doesn't happen in main
branch.
- When I changed the X-Axis Biomarker to ALT, the numbers in ticks are overlapping toward the end of the slider:
@donyunardi Please have a look now. There was another reactivity issue, its getting harder and harder to maintain this, we might have to invest some time in implementing this as a component in |
guidelines for the review https://github.com/insightsengineering/coredev-tasks/issues/590 |
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]>
Unit Tests Summary 1 files 1 suites 56s ⏱️ Results for commit 0be5c7f. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected. Merge once R CMD check is fixed. Great job 💪
Closes #133
Example app to test: