public inbox for [email protected]  
help / color / mirror / Atom feed
From: Fahar Abbas <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [Feature #4435] Feature request for Drag and Drop
Date: Wed, 27 Nov 2019 17:27:33 +0500
Message-ID: <CAJFwRrNbd+axMeUXALR1V1p3cvvxBMNDRNCNTOOWs4JqOVZftQ@mail.gmail.com> (raw)

Hi Hackers,

Please find the patch for Drag and Drop for all objects:

New Objects Added:

   - foreign_data_wrapper
   - foreign_server
   - user_mapping
   - compound_trigger
   - index_constraint
   - primary_key
   - check_constraint
   - exclusion_constraint
   - unique_constraint
   - foreign_key
   - index
   - rule
   - collation
   - domain
   - domain_constraints
   - fts_configuration
   - fts_dictionary
   - fts_parser
   - fts_template
   - synonym
   - trigger
   - trigger_function

Kind Regards,
-- 
Fahar Abbas
QMG
EnterpriseDB Corporation
Phone Office: +92-51-835-8874
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: *live:fahar.abbas*
Website: www.enterprisedb.com


Attachments:

  [application/octet-stream] RM4435.patch (1.3K, 3-RM4435.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js
index 8a258478e..205f2c122 100644
--- a/web/pgadmin/browser/static/js/browser.js
+++ b/web/pgadmin/browser/static/js/browser.js
@@ -104,12 +104,15 @@ define('pgadmin.browser', [
       b.treeMenu.register($('#tree'));
 
       b.treeMenu.registerDraggableType({
-        'table partition type sequence package view mview foreign_table edbvar' : (data, item)=>{
+        'collation domain domain_constraints fts_configuration fts_dictionary fts_parser fts_template synonym table partition type sequence package view mview foreign_table edbvar' : (data, item)=>{
           return pgadminUtils.fully_qualify(b, data, item);
         },
-        'schema column' : (data)=>{
+        'schema column database cast event_trigger extension language foreign_data_wrapper foreign_server user_mapping compound_trigger index index_constraint primary_key unique_constraint check_constraint exclusion_constraint foreign_key rule' : (data)=>{
           return pgadminUtils.quote_ident(data._label);
         },
+        'trigger trigger_function' : (data)=>{
+          return data._label;
+        },
         'edbfunc function edbproc procedure' : (data, item)=>{
           let newData = {...data},
             parsedFunc = null,


view thread (2+ 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: [Feature #4435] Feature request for Drag and Drop
  In-Reply-To: <CAJFwRrNbd+axMeUXALR1V1p3cvvxBMNDRNCNTOOWs4JqOVZftQ@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