Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dE0Mz-00066a-Cl for pgadmin-hackers@arkaria.postgresql.org; Thu, 25 May 2017 21:32:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dE0My-0002wD-RF for pgadmin-hackers@arkaria.postgresql.org; Thu, 25 May 2017 21:32:32 +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 1dE0My-0002w4-GW for pgadmin-hackers@postgresql.org; Thu, 25 May 2017 21:32:32 +0000 Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dE0Mu-0001kR-Od for pgadmin-hackers@postgresql.org; Thu, 25 May 2017 21:32:31 +0000 Received: by mail-it0-x231.google.com with SMTP id c15so64128577ith.0 for ; Thu, 25 May 2017 14:32:28 -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=lsi+60htpvfuyE/vokICVg1APlv7LGgGFC3BT4IIV5A=; b=ZThgl+0TwqWaUA4FpJoX0+RrL0J9PQ5Y4qnZsk+B6CH/WI6gH3YqOnRT+l+VFEa4JG LD8vNQWTrG8vSWT/NNDlixpztwMiInZGzHyvYSDYmm7ExOkQvFwUCsc0Qi+DIO93ciTu LelPgJvIzvROWk22lHX256ybAotCA+wKmojvi93bp8lb4FHEkdmiMGHfMxCrgS/wN8I0 PnWm64+WghGutrCntaKMSNk5bMOSGsdJ7AABfDeWECV+HJ122F+27IJenlRScNuAYqEg lI1UxJlTJm7Q7/55V47pKRjyTc++EDJeVX47vb/A7O6f3iLiMRYCDucMPehgCtgBJoHR b1Dw== 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=lsi+60htpvfuyE/vokICVg1APlv7LGgGFC3BT4IIV5A=; b=rdE27TeKe0dRkptG4rfVJLt1KktyWZC9heTHlM4P0FD68aDg66FLavAUHXP+y4/hHq F4PD/cVfyvlfC4SMSmKtR5TbHA677kgpykENwJ/ISHZTjgMsUX1x04d5unzBYGPMW/Gk vCKoYYzfuWSeNPK/o92Ry/LWkGzGZqQCiy1LzOvqRVG5qn4TSWPjlLha8L3CG7dUBtJ6 s1kwLX3FKDjFpBik7onPuJz0FXs5PU2Zfqa60jNUqcaYaJ+AFCZ0A/mLwCymifEmclRV 5UXfdzlps11hhWwpbIjxMkKH2YLv8Lejhjp+FJXvUGTLihCTSUnJZxwKFH67QrJHQey/ gCtw== X-Gm-Message-State: AODbwcD1MpUL3jKzawa8qcLqn7iSYuNTUmu3zcI057CYXDmHjMnI+ZlK rBZ/tGAPR4ITZRNTuJbsJY6tl9svL/jP X-Received: by 10.36.245.132 with SMTP id k126mr14798539ith.43.1495747947199; Thu, 25 May 2017 14:32:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.147 with HTTP; Thu, 25 May 2017 14:32:26 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 25 May 2017 17:32:26 -0400 Message-ID: Subject: Re: [pgAdmin4][Patch]: Load module's JS files only when required To: Joao Pedro De Almeida Pereira Cc: Surinder Kumar , 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 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? -- 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