workbenchdev / workbenchdev/Biblioteca

Sidebar gets unsynced with webview when collapsing rows

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
69
Forks
11
PR merge metrics
No merged PRs in 30d

Description

If you have something selected in the sidebar and if its parent row gets collapsed, the sidebar looses its selection and remains unselected even if the webview loads a different page. (Unless you select something again in the sidebar, in which case they sync up again)

This should also be kept in mind while implementing #23, the easiest thing to do would be to have the sidebar unselect the row but sync back again if the webview loads a different page. DevHelp also sort of faces this issue and shows inconsistent behaviour.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how sidebar selection and webview page changes are synchronized when a parent row is collapsed. Reproduce the issue with a selected child, collapse its parent, and load another page in the webview. Done means the sidebar and webview converge on the same selection without requiring another manual sidebar selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.