Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
Thanks, applied. On Wed, Apr 12, 2017 at 1:52 PM, Surinder Kumarwrote: > Hi Dave, > > Please find rebased patch. > > On Wed, Apr 12, 2017 at 5:44 PM, Dave Page wrote: >> >> Can you rebase this please? >> >> On Tue, Apr 11, 2017 at 1:23 PM, Surinder Kumar >> wrote: >> > Hi Dave, >> > >> > On Tue, Apr 11, 2017 at 4:28 PM, Dave Page wrote: >> >> >> >> On Tue, Apr 11, 2017 at 10:51 AM, Surinder Kumar >> >> wrote: >> >> > Hi >> >> > >> >> > When a server is disconnected, listen to >> >> > 'pgadmin:server:disconnect'event >> >> > and trigger refresh button of Server Activity data. >> >> >> >> I don't see any reason to do that - it's not auto-refreshed data, so >> >> why clear it? >> > >> > Hmm. i agree. >> >> >> >> >> >> > Also, on server disconnect, an unused event 'server-disconnected' is >> >> > being >> >> > triggered. >> >> > instead it should trigger ''pgadmin:server:disconnect'event. >> > >> > Please find attached patch for same. >> >> >> >> >> >> Please submit that as a separate cleanup patch. >> >> >> >> Thanks. >> >> >> >> -- >> >> Dave Page >> >> Blog: http://pgsnake.blogspot.com >> >> Twitter: @pgsnake >> >> >> >> EnterpriseDB UK: http://www.enterprisedb.com >> >> The Enterprise PostgreSQL Company >> > >> > >> >> >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
Hi Dave, Please find rebased patch. On Wed, Apr 12, 2017 at 5:44 PM, Dave Pagewrote: > Can you rebase this please? > > On Tue, Apr 11, 2017 at 1:23 PM, Surinder Kumar > wrote: > > Hi Dave, > > > > On Tue, Apr 11, 2017 at 4:28 PM, Dave Page wrote: > >> > >> On Tue, Apr 11, 2017 at 10:51 AM, Surinder Kumar > >> wrote: > >> > Hi > >> > > >> > When a server is disconnected, listen to > >> > 'pgadmin:server:disconnect'event > >> > and trigger refresh button of Server Activity data. > >> > >> I don't see any reason to do that - it's not auto-refreshed data, so > >> why clear it? > > > > Hmm. i agree. > >> > >> > >> > Also, on server disconnect, an unused event 'server-disconnected' is > >> > being > >> > triggered. > >> > instead it should trigger ''pgadmin:server:disconnect'event. > > > > Please find attached patch for same. > >> > >> > >> Please submit that as a separate cleanup patch. > >> > >> Thanks. > >> > >> -- > >> Dave Page > >> Blog: http://pgsnake.blogspot.com > >> Twitter: @pgsnake > >> > >> EnterpriseDB UK: http://www.enterprisedb.com > >> The Enterprise PostgreSQL Company > > > > > > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > cleanup_server_js_v1.patch Description: Binary data -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
Can you rebase this please? On Tue, Apr 11, 2017 at 1:23 PM, Surinder Kumarwrote: > Hi Dave, > > On Tue, Apr 11, 2017 at 4:28 PM, Dave Page wrote: >> >> On Tue, Apr 11, 2017 at 10:51 AM, Surinder Kumar >> wrote: >> > Hi >> > >> > When a server is disconnected, listen to >> > 'pgadmin:server:disconnect'event >> > and trigger refresh button of Server Activity data. >> >> I don't see any reason to do that - it's not auto-refreshed data, so >> why clear it? > > Hmm. i agree. >> >> >> > Also, on server disconnect, an unused event 'server-disconnected' is >> > being >> > triggered. >> > instead it should trigger ''pgadmin:server:disconnect'event. > > Please find attached patch for same. >> >> >> Please submit that as a separate cleanup patch. >> >> Thanks. >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
Hi Dave, On Tue, Apr 11, 2017 at 4:28 PM, Dave Pagewrote: > On Tue, Apr 11, 2017 at 10:51 AM, Surinder Kumar > wrote: > > Hi > > > > When a server is disconnected, listen to 'pgadmin:server:disconnect' > event > > and trigger refresh button of Server Activity data. > > I don't see any reason to do that - it's not auto-refreshed data, so > why clear it? > Hmm. i agree. > > > Also, on server disconnect, an unused event 'server-disconnected' is > being > > triggered. > > instead it should trigger ''pgadmin:server:disconnect'event. > Please find attached patch for same. > > Please submit that as a separate cleanup patch. > > Thanks. > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > cleanup_server_js.patch Description: Binary data -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
On Tue, Apr 11, 2017 at 10:51 AM, Surinder Kumarwrote: > Hi > > When a server is disconnected, listen to 'pgadmin:server:disconnect'event > and trigger refresh button of Server Activity data. I don't see any reason to do that - it's not auto-refreshed data, so why clear it? > Also, on server disconnect, an unused event 'server-disconnected' is being > triggered. > instead it should trigger ''pgadmin:server:disconnect'event. Please submit that as a separate cleanup patch. Thanks. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] [pgAdmin4][Patch]: RM#2333 - Server Activity data is not updating when server is disconnected in Dashboards
Hi When a server is disconnected, listen to 'pgadmin:server:disconnect'event and trigger refresh button of Server Activity data. Also, on server disconnect, an unused event 'server-disconnected' is being triggered. instead it should trigger ''pgadmin:server:disconnect'event. Please find attached patch and review. Thanks, Surinder Kumar RM_2333.patch Description: Binary data -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers