Thread: [pgAdmin][RM4925] Missing spinner from process watcher
Hi Hackers,
Attached is the patch to show some text on process watcher till the initial logs are loaded. Adding a spinner was not possible due to the complex DOM structure of the logs window. Below is the screenshot:

Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment
Hi
On Thu, Nov 14, 2019 at 11:16 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,Attached is the patch to show some text on process watcher till the initial logs are loaded. Adding a spinner was not possible due to the complex DOM structure of the logs window. Below is the screenshot:
A definite improvement - but can we not consistently display the logs in realtime? I've noticed in the past that sometimes that happens, but other times they're only displayed when the process completes. I haven't yet had a chance to figure out exactly what circumstances each happens in.
--Thanks and Regards,Aditya ToshniwalSr. Software Engineer | EnterpriseDB India | Pune"Don't Complain about Heat, Plant a TREE"
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Attachment
Hi Dave,
On Thu, Nov 14, 2019 at 4:59 PM Dave Page <dpage@pgadmin.org> wrote:
HiOn Thu, Nov 14, 2019 at 11:16 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Hackers,Attached is the patch to show some text on process watcher till the initial logs are loaded. Adding a spinner was not possible due to the complex DOM structure of the logs window. Below is the screenshot:A definite improvement - but can we not consistently display the logs in realtime? I've noticed in the past that sometimes that happens, but other times they're only displayed when the process completes. I haven't yet had a chance to figure out exactly what circumstances each happens in.
It is updated in real time. This is what happens when you open the process watcher and the logs web service is accessed to get the initial logs. After that, the logs are pulled and appended at regular intervals.
--Thanks and Regards,Aditya ToshniwalSr. Software Engineer | EnterpriseDB India | Pune"Don't Complain about Heat, Plant a TREE"--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment
Thanks, patch applied.
On Thu, Nov 14, 2019 at 5:44 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Dave,On Thu, Nov 14, 2019 at 4:59 PM Dave Page <dpage@pgadmin.org> wrote:HiOn Thu, Nov 14, 2019 at 11:16 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Hackers,Attached is the patch to show some text on process watcher till the initial logs are loaded. Adding a spinner was not possible due to the complex DOM structure of the logs window. Below is the screenshot:A definite improvement - but can we not consistently display the logs in realtime? I've noticed in the past that sometimes that happens, but other times they're only displayed when the process completes. I haven't yet had a chance to figure out exactly what circumstances each happens in.It is updated in real time. This is what happens when you open the process watcher and the logs web service is accessed to get the initial logs. After that, the logs are pulled and appended at regular intervals.--Thanks and Regards,Aditya ToshniwalSr. Software Engineer | EnterpriseDB India | Pune"Don't Complain about Heat, Plant a TREE"--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Thanks and Regards,Aditya ToshniwalSr. Software Engineer | EnterpriseDB India | Pune"Don't Complain about Heat, Plant a TREE"
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246