pgadmin-org / pgadmin-org/pgadmin4
View Editor Loses formatting between edits
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the bug
The formatting of the View editor is not retained between editing sessions.
This is especially annoying when it moves things that were put on separate lines for complex joins or concat and make them single lined and hard to read / see.
To Reproduce
Open the View Editor and us the automatic formatting CTRL + K.
Save
Open the View Editor again and the formatting has been lost.
Expected behavior
Formatting to be retained between saves.
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
Start by reproducing the issue in the View Editor: apply automatic formatting with Ctrl+K, save the view, close it, and reopen it. Trace how the editor content is saved and loaded, then verify that formatting is unchanged across repeated save and reopen cycles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- database, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100