Advanced view disappears when user clicks "fold" in some cases
- Dominant language
- Scala
- Stars
- 301
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
The issue was reported by @NicoRicardi
If we go to [this resource](https://bbp.epfl.ch/nexus/web/bbp/lnmce/resources/https:%2F%2Fbbp.epfl.ch%2Fneurosciencegraph%2Fdata%2Ffc5dc47f-8ed0-4997-a0fc-47ccaeab2186), the "Adanced view" tab either does not show the json or, if you click on "Fold" toggle button, then the json disappears.
I noticed that the issue appears specially if you recently signed in (for example, open this link in an incognito window in browser, after redirection from login page the "Advanced view" tab of this resource misbehaves).
It starts working as expected if you either refresh the tab a few times or go to fusion home page, open another resource's advanced view, then come back to the resource tagged above and then open the advanced view.
Contributor guide
Research direction
Reproduce the linked resource in an incognito window, especially after signing in, and inspect the Advanced view and its Fold toggle. Compare the failing resource with another resource where Advanced view works, then verify that the JSON remains visible after folding and after returning from login.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100