Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

EBI-Framework

About

This, the EBI Visual Framework, is the successor to the current EBI Compliance Theme and is targeted for an autumn 2016 release.

The project is an enhancement atop the Compliance Theme, updating the visual styles to EBI print colours and text, modern web design best practices -- such as responsive design, and to move to a versioned framework for improved maintenance cycles.

As of 7 June the project is in beta and we are focussing on outreach to minimise any unknown use cases before we begin focussing on bugs and optimisation.

The first release will be v1.1 -- the current EBI Compliance Theme is the v1.0.

Quick start

For a quick start, run with the HTML templates in the /sample-site directory (these are a work in progress), and [try out the in-browser migration JS] (https://github.com/ebiwd/EBI-Framework/blob/gh-pages/sample-site/migrations/testMigration.js)

About the framework

In all, an evolutionary step of the current EMBL-EBI web compliance kit, this project aims to continue the efforts of the existing guidance by providing:

  • Modularisation of framework components that will:
    • Require fewer roll-your-own solutions
    • Be more robust out of the box
    • Standardisation of tooling
  • Project themes: colour palettes are now themes with flexible spacing, layout options
    • Sync styles and colour palette with corporate EMBL-EBI styles
  • Update visual assets to make use of contemporary web browser features for:
    • More consistency with print visual language
    • Enhanced mobile support
  • Pattern library for reusable components to speed development and reduce fragmentation (in progress, more targeted for 1.2 release)
  • Page lifecycle tracking: An improved meta-tag based model for maintaining and tracking content freshness, ownership, and intent
  • Regular updates: A versioning system for the framework to help track changes, features, and usage
    • Sass support (optional)
    • NPM updating (optional)
  • Collaboration: A more collaborative code base (note this is on GitHub) to offer a better path for code collaboration and integration

Considerations

A short list of concerns that need to be kept in mind during the dev process.

  • Handling non text-centric web applications/services: need to ensure that audience is considered/brought into fold
    • Design pattern library/kitchen sink is potential mitigation
  • There are generally several flavours of any visual tooling, a stronger pattern library would be helpful
  • Table functionality is generally very simple; it seems guidance could help push this forward
  • Mobile and widescreen support is generally weak throughout
  • Layouts are simple/weak/inconsistent; templates and samples would help
  • Must be conscious to supply enough vital documentation/patterns, but without recreating the Foundation documentation
  • Do we keep documentation as one long file, or split into multiple...
  • Presently sample code blocks are kept to a minimum to keep the document shorter and increase our flexibility -- as our audience is devs, we may not need code samples at all, as code source should suffice?
  • Many of the colour palette tags ( .primary-, .secondary-a-, .secondary-b-, .complement- ) appear to have no usage (wget + grep) and could likely be removed from the base style sheets. We should survey, pilot in alpha.
  • Standardised feedback capturing

Outreach

It is key that we reach out to the current EBI Compliance user base so we:

  1. Can fully accommodate the needs of content and data
  2. Ensure that users understand why these changes are being done, how it will benefit development, and how to make use of the changes

Methods of outreach

Not all developers are in the same place, so we plan to make use of multiple channels:

  • Github: Many developers already live in the Github ecosystem, engaging them here will also fit well into the pull request/issue queue ecosystem.
  • Web Guidelines Committee: Not only does this facilitate exposure, but is an active forum for peer review.
  • Slack: A strong space for communication that can happen even in distributed teams.
  • Clinics: An offline space for developers to chat in depth, current thinking is to run in parallel with External Relations' monthly content clinics.
    • Pattern library workshops: While separate from the core framework, it is interdependent
  • Showing: Launching the corporate site in the new framework will not only increase awareness but also lead by example.

With the exception of clinics, all of these can be ongoing support/outreach efforts. Recommend the clinics continue as long as there is interest.

Versioning

As not all users of the framework will be able to update to the very latest and we do not wish to hold others back, we are using a semantic versioning style of releases.

Major release Minor release Note
(Branch) (Tag)
1.1 .0 Initial release evolving from Compliance theme
" .1 Tagged minor release
" .2 Tagged minor release
" .3 Tagged minor release
1.2 .0 Documented, breaking release
" .1 Tagged minor release
1.3 .0 Documented, breaking release

Difference between major, minor releases:

  • Major releases (1.1, 1.2, 1.3...) can have breaking changes and any such changes will be detailed and tested.
  • Minor releases (0.0.X) will not have changes to code structure or parts and will mainly add features or update visual assets (such as logos or icon fonts).

The support for previous major versions (branches) is still being considered, but the current suggestion is that the last three major version will be supported with updates to assets, fonts, and critical EMBl and EBI branding.

Where's version 1.0, you ask? Version 1.0 is the [current EBI Compliance theme] (https://www.ebi.ac.uk/web_guidelines/html/compliance/).

Deployment

Files are hosted in this pattern:

//www.ebi.ac.uk/web_guidelines/[repo-name]/[branch]/[repo-files]

That is:

//www.ebi.ac.uk/web_guidelines/EBI-Framework/v1.1/js/script.js

Building from NPM

We expect the vast majority of users to link to the built CSS and JS files (as shown in the sample HTML files), however some teams may want to download the EBI Framework and modify it for performance or deeper appearance issues.

We've configured the system to build with NPM (no need for gulp or bower).

To get started, have a look at package.json. Likely the the npm run scss command will cover 90% of use cases.

Roadmap