pgadmin-org / pgadmin-org/pgadmin4
Add support for renaming file opened in query tool
Open
Nobody has claimed this yet.
Feature
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the bug
If I rename an open tab in the Query Tool, its new name is not saved and it reverts to the prior name.
To Reproduce
- Open a file in the Query Tool
- Right-click on the tab
- Select "Rename"
- Write a new name for the file
- Click OK
- At this point, the tab displays the renamed name
- Type some text in the file
- The name then reverts to the previous
Expected behavior
The new name should persist.
Error message
None
Screenshots
Desktop (please complete the following information):
- OS: macOS Tahoe 26.1
- pgAdmin version: 9.10 (snapshot build)
- Mode: Desktop
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
Reproduce the rename flow in the desktop Query Tool using the listed steps, then trace how the renamed tab state is handled when text is entered. Done means the new name remains after editing and no longer reverts to the prior name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100