pgadmin-org / pgadmin-org/pgadmin4
Quick Query Editor tab rename through double-click and inline edit
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the solution you'd like
When working on a project and opening many Query Editor tabs on the same database, you end up with a lot of similarly named tabs
You can rename tabs already, but it requires a right-click, select Rename from the context menu and explicit Cancel/Ok
This request is to improve the UX by allowing quicker tab renames, by:
- double-click tab to change the tab to an editable input field in which the new name can be typed directly
- automatically accept the new name (unless blanked out) upon this input field loosing focus
- and support canceling the edit by pressing escape
This, icw the inclusion of #3319 hopefully in a next release, pgAdmin becomes way more usable
Describe alternatives you've considered
None
Additional context
None
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
The issue names no files, tests, or entry points. Start by locating the Query Editor tab UI and the existing right-click Rename action, then trace its current accept and cancel behavior. Done means double-clicking enters inline editing, focus loss accepts a nonblank name, blank input is not accepted, and Escape cancels the edit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100