-
Notifications
You must be signed in to change notification settings - Fork 3
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
Better result field #421
Better result field #421
Conversation
@DivadNojnarg this is a (hacky) start to removing the reactive polls. I think it mostly works (although I am not super confident I did not break any edge-cases). Previously the "value" of a result field was data. Now it is a string (referring to some stack in the workspace). This comes with a (major) breaking change: while before you could happily do something like blockr/tests/testthat/test-block.R Line 154 in 97bea54
it no longer makes sense to consider a blockr/tests/testthat/test-result.R Lines 30 to 35 in 97bea54
which I worked around with Lines 38 to 42 in b18f427
(Not sure this is a good idea, but it makes the problem go away.) I'm currently left with 2 shinytest2-related issues:
|
One more thing for a separate PR: I am now showing both the stack name and ID in the drop-down. This raises another issue for the base-UI: we have no way of setting the stack name in a running app and all stacks (created via UI) are called "Stack". |
|
@DivadNojnarg updating the title is captured I think, it sets the attribute correctly. |
@nbenn and @JohnCoene
I think, from the UI perspective, it is not obvious that one can click on the title to change it. Maybe we need to add some guidance or a hint about what can be done with the title (like a tooltip "Click to update me..."). |
dplyr, | ||
utils, | ||
bslib, | ||
bslib (>= 0.7.0), |
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.
necessary to get the bslib::input_task_button added in the submit PR. To avoid confusing users.
@DivadNojnarg need your approval, and then we can merge. Tanks for your inputs. Forgot that for shinytest2 we do not have |
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.
Thx!
Change result field implementation such that