pgadmin-org / pgadmin-org/pgadmin4

Change elements search flow

Open
#8,780 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

The search tool should allow to automatically open the clicked element rather than changing the object explorer focused element, like other Database
Development softwares.
Also, the search tool for some reason is quite slow, probably does not cache results, but does a query everytime, which makes frequent search annoying

A possible alternative of implementing this could be to let the user choose the desired action, so when enabling an hypotetical "Fast search" when clicking on an object, either a table or a procedure, it automatically opens a tab with the desired object to a default action or better to the most used (e.g. CREATE SCRIPT for procedures and functions, SELECT * FROM <> for tables etc.) .

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 issue names no files, tests, or entry points, so first trace the search tool and its database-object click handling, then measure whether repeated searches issue new queries. Clarify the intended default action and caching behavior; done should cover the revised click flow and an acceptably responsive repeated search.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.