theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
110 stars 8 forks source link

activity stream: state of filtering checkboxes lost after navigating back, resulting in inconsistent display and hiding of more entries than intended #4067

Open georg-d opened 2 years ago

georg-d commented 2 years ago

This "temporary memory loss" of the website is confusing & trapping me again and again when I want to understand the edit history of a crag – especially when a lot was going on, which makes the workaround tedious. Hence the report.

It's a follow-up issue of https://github.com/theCrag/website/issues/1726 implementation.

Reproduction:

  1. Go to any crag like e.g. https://www.thecrag.com/en/climbing/germany/schwarzwald/area/251617752 and scroll down to "Activity"
  2. Untick the checkbox in front of "ticks" => as desired, ticks vanish from stream listing. You may notice an issue (also all updates & discussions that have been visible before unticking the checkbox are now also hidden) but that is not relevant here as it's handled in #3945 and #3948. It's kind of the inverse symptom in the sense they are about filtering hiding too many stream entries while this issue is about hiding too few.
  3. Click "full details" of a summarized entry like e.g. "Created 1 topo and updated 3 areas, 18 routes and 2 topos - full details."
  4. Assume you did read the page but did not find what you're looking for, so you click back navigation button of your browser to go through other activity stream items
  5. ticks are now shown in the stream listing despite checkbox is unticked => this is the bug this issue is about 🐞 grafik
  6. Now, if you're trying to get the same view you had before navigating to "full details", nearly all ways I tried lead to follow-up issues. For example, ticking and again unticking the checkbox produces the desired visibility state of checkbox & tick events, but hides each time again several entries like observed in step 3. The only way I found that did not let you overlook entries is a complete reload of the page, not clicking a filter checkbox below "Activity" heading, but manually ignoring all uninteresting entries (in our example, ticks) while loading older entries of stream until you reached the same spot you had before clicking "full details".
lordyavin commented 2 years ago

Got that issue for the same node.