[PATCH] [frontend] Add optional fedmenu resources to every page.

Pierre-Yves Chibon pingou at pingoured.fr
Thu Apr 23 06:54:14 UTC 2015


On Thu, Apr 23, 2015 at 08:21:38AM +0200, Miroslav Suchy wrote:
> On 04/22/2015 04:51 PM, Ralph Bean wrote:
> > This is for https://fedoraproject.org/wiki/Fedora_Engineering/FY16_Plan
> > 
> > If the FEDMENU_URL and FEDMENU_DATA_URL options are left out of the
> > config, then nothing should change on the displayed page.  If they are
> > included, then they will be pulled in at page load time to render little
> > menu buttons on the bottom right hand corner of the page.
> 
> From long term perspective, it would be nice to package it as web asset
>   https://fedoraproject.org/wiki/Packaging:JavaScript
> so we can have this JS stored localy.

I see advantages of not having it packaged, among other a single place to update
and see the changes in every one of our apps.
So if we have a new app, we can just change the JSON blob and all our apps
suddenly know about it, same thing for the layout/style.


Pierre


More information about the copr-devel mailing list