public inbox for [email protected]  
help / color / mirror / Atom feed
From: Vishal Sawale <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin RM#1257] Show system XX properties for sequences node
Date: Mon, 13 Apr 2020 17:31:49 +0530
Message-ID: <CADTPKNmORuSNd9vR_R1tSDvqk1vLkF=i24kzHVRHeT-EgVh1XQ@mail.gmail.com> (raw)

Hi Hackers,

PFA the patch for showing the System sequence properties for sequences
node.

Please review.

Regards,
Vishal


Attachments:

  [application/octet-stream] diff_1257.patch (1.1K, 3-diff_1257.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
index aa628c4..a55cac0 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
@@ -88,6 +88,7 @@ define('pgadmin.node.sequence', [
           maximum: undefined,
           cache: undefined,
           cycled: undefined,
+          sysseq: undefined,
           relacl: [],
           securities: [],
         },
@@ -129,6 +130,10 @@ define('pgadmin.node.sequence', [
             return true;
           }, cache_node: 'database', cache_level: 'database',
         },{
+          id: 'sysseq', label: gettext('System sequence?'),
+          cell:'boolean', type: 'switch',
+          mode: ['properties'], visible: 'isVisible',
+        },{
           id: 'comment', label: gettext('Comment'), type: 'multiline',
           mode: ['properties', 'create', 'edit'],
         },{


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin RM#1257] Show system XX properties for sequences node
  In-Reply-To: <CADTPKNmORuSNd9vR_R1tSDvqk1vLkF=i24kzHVRHeT-EgVh1XQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox