pgadmin-org / pgadmin-org/pgadmin4

Query Tool: Modified mark (*) appears after the filename in the tab instead of before it

Open Beginner friendly
#10,426 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

In the Query Tool, when a query file is modified (unsaved changes), the modified indicator (asterisk *) is shown after the filename in the tab title.
It should appear before the filename (standard behavior in most editors/IDEs).

Current behavior
filename.sql *

Expected behavior
* filename.sql
Having the modified mark before the filename is the conventional UI pattern and improves readability of the tab titles.

To Reproduce
Open the Query Tool.
Open or create a query file.
Make any change so the file becomes modified.
Observe the tab title — the * is placed after the filename.

Desktop: Windows 11
pgAdmin version: 9.16

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

Start in the Query Tool tab-title handling and reproduce the modified-file flow described in the issue. Verify that the tab displays the asterisk before the filename, including after opening or creating a query file and making an unsaved change.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.