Regarding feature #3319 - Mailing list pgadmin-hackers

From Anil Sahoo
Subject Regarding feature #3319
Date
Msg-id CAO+oWtC0aHG_7D69OiHvjHfpt9fJt=Q0LhPu_2oLCD71c1QORw@mail.gmail.com
Whole thread Raw
Responses Re: Regarding feature #3319
List pgadmin-hackers

Hi Hackers,


This feature #3319, demands the Workspace and the Query tool panel to be saved before exiting the application and on restart it will show earlier opened panels.


We are already saving the Browser layout, Query tool layout and the Object explorer tree state but to save the contents of panels we will initially start with the Query tool. The below implementation will be done,

  1. Store the query tool panels and the list of connections present in each query tool panel and the active connection
  2. Store the query that is written in the editor
  3. Store the contents of scratch pad


We will use debouncing to store the workspace data and all other data related to panels in the pgAdmin 4's configured database file. Through debouncing we will be able to call the API at certain intervals of user interaction, and it will update the stored data related to workspace and all other panels.


Kindly share your inputs/suggestions.


Thanks

Anil

--

Anil Sahoo

Software Engineer

www.enterprisedb.com

Power to Postgres

             

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: Query tool data grid - Infinite scroll vs Pagination
Next
From: Dave Page
Date:
Subject: Re: Regarding feature #3319