Allow st.feedback to have a default initial value (#9469)#9658
Allow st.feedback to have a default initial value (#9469)#9658wjkim00 wants to merge 3 commits intostreamlit:developfrom
st.feedback to have a default initial value (#9469)#9658Conversation
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
st.feedback to have a default initial value (#9469)
|
Hey, this is awesome, thanks for the PR! I'm fine with adding this, I think the main question is what we call the parameter:
In principle, |
303e432 to
3b9a110
Compare
|
@jrieke Another aspect to keep in mind is that |
I think whatever value we pass should be what's returned; the default value, the value in Session State, and the returned value should all exist in the same universe. |
|
Hey @wjkim00! Sorry for the long wait, coming back to this now. I think your proposed behavior for calling the parameter I know it's been a long time but are you still interested in finishing this up? If yes, it would be great if you could resolve the merge conflicts. Currently, there are some dependency conflicts when I try to run this locally, but once they are resolved, I'll try it out and make sure it works as expected. I'll also ping an engineer to do a more proper code review then. |
Hi @jrieke , i'll try to solve this myself since i opened the original issue and 99% of the work has been done. Thank you very much @wjkim00 ❤️ |
|
Going to close this PR as it's superseded by #12578 |
…12578) ## Describe your changes Rebase with current develop w.r.t. [#9658](https://github.com/streamlit/streamlit/pull/9658/files) All credits to @wjkim00 ## GitHub Issue Link (if applicable) Closes #9469 ## Testing Plan - Explanation of why no additional tests are needed - Unit Tests (JS and/or Python) - E2E Tests - Any manual testing needed? --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license. --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Describe your changes
st.feedbackhas default as initial valueGitHub Issue Link (if applicable)
Closed #9469
Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.