insightsengineering / insightsengineering/teal.picks
[Feature Request]: Have popup box opened and fixed
- Dominant language
- R
- Stars
- 4
- Forks
- 0
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 3
Description
### Feature description
Current UI is simple and minimal, but doesn't allow for easy option to keep the contents of the popup expanded.
Users might require this to avoid having to perform multiple clicks to change a popular option of the module
It should be easy as the screenshot below achieved with the following diff. The actual solution would need to be parameterized.
```diff
diff --git a/R/module_picks.R b/R/module_picks.R
index 3efc37c..1dfbbb9 100644
--- a/R/module_picks.R
+++ b/R/module_picks.R
@@ -64,7 +64,8 @@ picks_ui.picks <- function(id, picks, container) {
if (all(vapply(picks, is_pick_fixed, logical(1)))) {
fixed_picks(id = ns("inputs"), badge_label)
} else {
- badge_dropdown(id = ns("inputs"), label = badge_label, htmltools::tagList(content))
+ htmltools::tagList(content)
+ # badge_dropdown(id = ns("inputs"), label = badge_label, htmltools::tagList(content))
}
} else {
if (!any(sapply(htmltools::tags, identical, container))) {
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct.
### Contribution Guidelines
- [x] I agree to follow this project's Contribution Guidelines.
### Security Policy
- [x] I agree to follow this project's Security Policy.
Contributor guide
Assessment
This issue has not been assessed yet.