-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
133 take 2@filter panel refactor@main #268
133 take 2@filter panel refactor@main #268
Conversation
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.
Invalid inputs cannot crash the whole app. There has to be some way to block that error. shinyvalidate
is one option but I don't know whether we want to add it to teal.slice
.
We can't use |
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.
Numeric selection states on app start do not follow api specification:
default_filters <- filter_settings(
filter_var("iris", "Sepal.Length", sel = c(5.1, 6.4), fixed = FALSE),
filter_var("iris", "Sepal.Width", sel = c(2.5, 4.0), fixed = FALSE, disabled = TRUE),
filter_var("iris", "Petal.Length", sel = c(4.5, 5.1), fixed = TRUE),
filter_var("iris", "Petal.Width", sel = c(0.3, 1.8), fixed = TRUE, disabled = TRUE),
filter_var("iris", "Species", sel = c("versicolor", "virginica"), fixed = FALSE),
filter_var("iris", "Species2", sel = c("versicolor", "virginica"), fixed = TRUE)
)
Also, choices
become limited.
I think |
My mistake, the numbers in the app are the actual data ranges. |
Huh, it's working for me. This is what I get on launch. And after enabling |
I have the same result with @asbates. |
All right, my session was littered and another object got pulled into the app. Works fine for me as well. |
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.
LGTM!
Adds a numeric range input to range filter state cards so range can be set manually. This is a redo of #226
Fixes #133