pgadmin-org / pgadmin-org/pgadmin4
Go to the root node in the Tree to close (collapse) all nodes of the root node
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Dear Developers!
We have many-many databases on a server.
When I open more schemas for searching a table, it is very disturbing that I can't close (unexpand) the whole root node with one click.
For example I'm in table T, and 1300 other tables before it.
To close the whole "Tables" node, I need to scroll up to table A, and then to "Tables".
And sometimes I go up too fast and I'm in another database.
It would be easier if I could use a function, which identifies the actual object, and unexpand all objects in the same level with closing the root. Or a "Go to root node" function.
- I can click to the table T.
- Popupmenu, "Go to root node".
- The function finds the "Tables", and focus to it (=selected).
- I can collapse it, then I can go up to the database.
A "Go to the database node" woud be also useful! :-)
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the Tree view and its table-node context menu, then trace how selection and collapse work; done means a selected table can navigate to and focus its Tables root, which can then be collapsed, with database navigation considered if supported by the scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- databases, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100