Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dF8LR-00010G-WC for pgadmin-hackers@arkaria.postgresql.org; Mon, 29 May 2017 00:15:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dF8LR-0004PL-CH for pgadmin-hackers@arkaria.postgresql.org; Mon, 29 May 2017 00:15:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dF8LD-00040X-2M for pgadmin-hackers@postgresql.org; Mon, 29 May 2017 00:15:23 +0000 Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dF8L9-0000LQ-7O for pgadmin-hackers@postgresql.org; Mon, 29 May 2017 00:15:22 +0000 Received: by mail-it0-x229.google.com with SMTP id r63so19581089itc.1 for ; Sun, 28 May 2017 17:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8sU5amRqQE0C+RwsviY1dwyrPJqIU8EEIt9P07Vnb8w=; b=OItjgvvEsks8MsSTtQIoLd+fD7cCnpYntsYznAaazaiWXzy7aewgAZbdFh3ac2onNy cVGthLDa/sC+1OIhnt0EVAhz21fvQYugBTwwYbM7KN9DwPnYEWVIe1LLOVRyjRln8bm3 8UkMEEQ9PaA21FK9dsQWWdHmXYO/sGN0ZgjCpS/TPkjGppltDsFDjMGNb+tXYWSiCSkQ agbTj/A0zGSF8Z1kaT5uShstJho6Wi4s+g5qmFBBQZPG6ZUOSg6tIgihyoBlNcoC/rwH qB4ZF+qf5iSJNCYKDXXUMEtN1M8IQxnWKuNex7tqOR+lVG3tj3FOv6kA8K52PmgNVSZR D9vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8sU5amRqQE0C+RwsviY1dwyrPJqIU8EEIt9P07Vnb8w=; b=QIAvrgC3OdoCC5FKVq32HWmMORU8moKntCdo6nvawXifLwAL0vXo92o5d3QYt91Sg0 0a6inuP/5bi1JkzwHu2aha1yAyLUVY5lEgCm8yeNzGaqCzp02x6O+DAeKdiK473nKkiv HaZLd9X2rQlHgzuNaDczasUCIEaHHQ4VUjYbkv/bhU3ZT66t7k3xLFe8NnUId95qdBrq cVULlnJxcPuhmV02djJIfh98LRtp5/lv2WFhcn2DqHEKayYzgjBMg9r7YrhqcmXjnstc BWi67Lq2Od8OXHVmrfiEhIICVaDScdfK2ge6iZYjwNKNH7kTX8ZZkZwbso3WO8U3glsP f+6A== X-Gm-Message-State: AODbwcB3x5MkvE4Gn6YkuhWKla1Jb2mPpZ5liueQ1Op1RRcWRMpzbg4x qzWzuaHl36FsnuEjm+hLnFmxagUbYmwjyjNN9w== X-Received: by 10.36.193.134 with SMTP id e128mr11121777itg.43.1496016917551; Sun, 28 May 2017 17:15:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.147 with HTTP; Sun, 28 May 2017 17:15:16 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Sun, 28 May 2017 20:15:16 -0400 Message-ID: Subject: Re: [pgAdmin4][Patch]: Load module's JS files only when required To: Surinder Kumar Cc: Joao Pedro De Almeida Pereira , pgadmin-hackers Content-Type: text/plain; charset="UTF-8" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Fri, May 26, 2017 at 12:01 AM, Surinder Kumar wrote: > On Fri, May 26, 2017 at 3:02 AM, Dave Page wrote: >> >> On Tue, May 23, 2017 at 4:21 PM, Dave Page wrote: >> > >> > I'm actually thinking that maybe it would be easier to start with the >> > CSS files.... >> >> Which i did yesterday. However, it soon became obvious that that isn't >> so easy either, as the CSS files contain url references which need to >> be adjusted, which isn't trivial. >> >> However, I did find a flask-webpack module, which looks interesting: >> >> https://github.com/nickjj/flask-webpack >> https://nickjanetakis.com/blog/manage-your-assets-with-flask-webpack >> >> Surinder; when you have some free time, could you look into a simple >> PoC with the CSS files using that please? > > Ok. I will look BTW; if it looks like it will take a while to implement (as I suspect), we should consider polishing off your initial patch as an interim step. Any thoughts on how long RM2424 would take to resolve? -- 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