Improve Database listing
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the GUI code that lists databases, filters on datallowconn, and selects the first alphabetically. Trace how datistemplate and the current user are available, then verify that template databases are visually dimmed and the user-named database is selected, including the requested handling of postgres.
Written by the indexing model from the issue text.
Description
We do currently list all databases in the GUI that accept connections (datallowconn) and order them alphabetically. The first one is selected.
I'd like to suggest two improvements:
- show the template databases (
datistemplate) with a dimmed icon. Eventually includepostgresas well. - automatically select the database that is named after the current user
If you are new to PostgreSQL, you will likely not know what the template1 or postgres database is for. Showing them all in an equal way makes it harder than necessary to decide which to connect to, esp. if your username starts with a letter > p or t.
- Dominant language
- Makefile
- Stars
- 7.8k
- Forks
- 404
- Avg merge
- 6h 55m
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
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.
More from PostgresApp/PostgresApp
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
PostgresApp/PostgresApp#859 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
PostgresApp/PostgresApp#844 · 7 comments · 1 reaction ·
-
Postgres.app 3.0 Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
PostgresApp/PostgresApp#842 · 1 comment · 7 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
PostgresApp/PostgresApp#834 ·
-
Apple Script Support Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
PostgresApp/PostgresApp#833 ·
All issues in PostgresApp/PostgresApp
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AOSSIE-Org/OrgExplorer#253 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
needs triage receiver/oracledb
Difficulty 2/5 1-2 days Newbie friendliness 84/100
open-telemetry/opentelemetry-collector-contrib#51400 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100