Closed mcwongmc closed 3 months ago
@mcwongmc Thank you for raising this! This is a really high quality bug and I can confirm that this is unexpected behavior in the current prod packages. I'll provide an RCA after a fix
I am away from my laptop but within next 24h I will release a new version 0.7.6 with a patch
@mcwongmc Thank you again for raising this, this has been resolved in release 0.7.6, available now on pypi
The root cause (as you correctly identified) was the removal on the word "absolutely" on current line 160. This removal was part of a flake8 / Black workflow that removed the word as it picked it up as redundant. Thanks for identifying this!
Describe the bug A clear and concise description of what the bug is.
When trying to reset analytics in /?analytics=on, the reset button will not apear after choosing the "I'm absolutely sure that I want to reset the results".
I think the root cause is a typo in src/streamlit_analytics2/display.py
line 153-160
The if statement in 160 has a typo that cannot match the selectbox in 157.
Expected behavior A clear and concise description of what you expected to happen.
To Reproduce Steps to reproduce the behavior:
Software Versions Please fill in the relevant field:
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.