pgadmin-org / pgadmin-org/pgadmin4

Data Tab Title Customisation

Open
#9,473 0 comments 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

When I View/Edit data it shows with a tab with default title:
%SCHEMA%.%TABLE%/%DATABASE%/%USERNAME%@%SERVER%

so for a table named api_key this comes as public.api_key/students/postgres@porestres

but I wanted the tab title to be ApiKey-stu, this is short and doesn't get cut when tab is not selected

I tried changing to %TABLE%-%DATABASE%
But it still is too long in some cases, for these to work either I would have to change all my table name and also my DB name

But instead if there was a feature to customize the tab title with a pattern like:
removes underscores and capitalized table name - database name first 3 letters
then this would be very handy.

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

The request concerns the title shown on View/Edit data tabs and the existing %SCHEMA%, %TABLE%, %DATABASE%, %USERNAME%, and %SERVER% pattern. Start by locating the code that builds this tab title and determine how a configurable transformation pattern could be specified; done means a short customized title such as ApiKey-stu is applied reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.