Developer 675 Fuse Connectors Page

Here's a first look at the Fuse connectors page.

Implemented:

* Pushes to the DCP based on the contents of the spreadsheet.
* Page generated by JS rather than statically at site build time. Makes it possible to implement filtering later.

Outstanding:

* Overview text needs providing
* Images need adding to static.jboss.org by the design team. This is contrary to the suggestion in the spreadsheet that they are configurable
* Default connector image needed
* Decision to display the connectors page is hard-coded. Better to decide based on presence of connectors.adoc. 
* The connectors.js could be simplified, however, I tried to keep the structure similar to projects.js. This was for two reasons. Firstly, because it will make it easier to add filters and featured connectors later and secondly, because we may want to refactor projects.js and connectors.js due to their similarity.
* Only ~115 connectors are being indexed. There should be ~150.
* Long descriptions need providing in the connectors spreadsheet. Currently the short description is used if the long description is missing.
* Connector code snippets need adding to the spreadsheet.
* More-details link missing

Maybe add a comment for this, as its unexpected. On 24 Oct 2014 15:18, Paul Robinson <notifications@github.com> wrote:
> +        $('body').addClass('overlay-open');
> +    },
> +    close: function () {
> +        $('body').removeClass('overlay-open');
> +        $('.overlay-content').empty();
> +    },
> +
> +    fallbackImage: function (el) {
> +        el.src = "#{cdn( site.base_url + '/images/design/default_connector_200x150.png')}";
> +    },
> +
> +    connectorFilter : function(container, target_product) {
> +        //Currently the only way to specify no limit
> +        var maxResults = 500;
> +        var url = app.dcp.url.search;
> +        var query = ["(sys_content_type: jbossdeveloper_connector AND (target_product_1: " + target_product + " OR target_product_2: " + target_product + " OR target_product_3: " + target_product + "))"];

Because there are three target products available for each connector. If any one of them is the current product, then we want it.

---
Reply to this email directly or view it on GitHub:
https://github.com/jboss-developer/www.jboss.org/pull/612/files#r19340721