Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate sidebar widget from contents (resources) #250

Open
timkpaine opened this issue Feb 22, 2025 · 0 comments
Open

Separate sidebar widget from contents (resources) #250

timkpaine opened this issue Feb 22, 2025 · 0 comments
Labels
lang: javascript PRs or issues related to Javascript lang: python PRs or issues related to Python type: feature Feature requests

Comments

@timkpaine
Copy link
Collaborator

Not as complicated as it sounds, right now a sidebar is 1-1 with the icons and treefinder inside, and the tree finder inside is 1-1 with a backend resource. Construction of all of these is done sequentially and immediately.

We should separate this into a 2 step process:

  • create sidebar and treefinder, but with no resource attached
  • allow for attaching a resource to an existing sidebar/treefinder

When you add a new resource, you should have the option of attaching it to an existing sidebar. The name of the resource can be added as a "folder" at the root level /, ref #249

Prerequisite for #195
Also should solve #245 if we do not attach the resource until the widget is attached to the dom

@timkpaine timkpaine added type: feature Feature requests lang: javascript PRs or issues related to Javascript lang: python PRs or issues related to Python labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: javascript PRs or issues related to Javascript lang: python PRs or issues related to Python type: feature Feature requests
Projects
None yet
Development

No branches or pull requests

1 participant