pgadmin-org / pgadmin-org/pgadmin4

Go to the root node in the Tree to close (collapse) all nodes of the root node

Open
#7,208 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
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.

  1. I can click to the table T.
  2. Popupmenu, "Go to root node".
  3. The function finds the "Tables", and focus to it (=selected).
  4. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.