pgadmin-org / pgadmin-org/pgadmin4

Add possibility to reorder server groups

Open
#8,015 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the solution you'd like

Nowadays, after adding new server group in the object explorer there is no way to change its display order. It would be nice to have something like a drag-and-drop functionality to reorder list items.

Describe alternatives you've considered

Alternatively, server groups could be sorted in alphabetical order. Currently, only newly added server groups are placed alphabetically, but renaming existing ones does not rearrange the structure. (UPD: it does rearrange the structure, but only after using View->Reload option or restarting the whole pgadmin app)

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 file, test, or entry point is named. Start by locating the object explorer's server-group rendering and ordering logic, then check how renaming and View→Reload affect the order. Done should mean users can reorder groups, or that renaming updates the displayed order immediately, with the behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
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.