Skip to content

Focus Components 2.0.0

Compare
Choose a tag to compare
@TomGallon TomGallon released this 27 Oct 17:39

TO USE THIS VERSION OF FOCUS-COMPONENTS, YOU ALSO NEED TO UPDATE FOCUS-CORE TO VERSION 2.0.0. PLEASE READ THE RELEASE NOTE BEFORE INSTALLING IT

On this new version, we focus on stability and bug fixes.

install with npm i -S [email protected] [email protected]

Thanks

@JohnnP @giopn

Why a tag version 2.0.0 ?

The current version of FOCUS is now stable, we decided to released a version 2.0.0. More, a new version of FOCUS libraries (version 3) is being published soon.

To be more clear in everyone's mind, here is a summary of major releases FOCUS:

  • Version 1 was the FOCUS.JS library, written with Backbone and Handlebars.
  • Version 2 is the hosted version this repository. The source code, issues and releases continue to be maintained on the github https://github.com/KleeGroup. It is based on the React & React-router librairies. It is split in two sub-libs:
    • Focus-core that facilitate server calls, forms management, management of stores ...
    • Focus-components that propose a set of web component and usec centric page templates
  • Version 3 is a more mature version of the FOCUS libraires. All the developments FOCUS 3 are now accessible at this URL https://github.com/get-focus. It is based on the major libs React, React-router, Redux. It requires the use of a single application store and very strongly decouples the management of stores and the use of the component through connectors. The code is more readable and clear and components simpler to write. It is composed of three sub-libraries:
    • focus-application, a new librairy including the functionality needed for the implementation of an application: the application layout, management collapsible header, server calls, management of application messages, ...
    • focus-components which offers all the basic web components to develop a web application. The directory structure and components is very clear. There is less ambiguity to find the right component to use.
    • focus-graph that offers all the features to help manage forms in your application, and easily set up validation, formatting, and data display.
    • focus-search that brings together all the capabilities to display graphics interfaces research, lists, ...

Focus v3 is currently in release candidate, and will be well soon be published.

Focus v2 is from now in stable version and will no longer be subject to changes. However, we provide an operational maintenance: Response to questions, support, and bug fixes. But feel free to continue to contribute.

Upgrade of React to version 15

On April 7, Facebook has delivered a major release of React, the 15.0.0 release. To read the detail of this release, please visit the blog Reactjs : https://facebook.github.io/react/blog/2016/04/07/react-v15.html

Among the many contributions of this version:

  • Removing reactids in the browser's DOM
  • Large performance gains
  • A mature and stable version of the library, along with a longer-term release policy on the future

CAUTION : The use of this version 2.0.0 of focus-components forced you to upgrade your React version 15.0.0 (or higher). That said, we encourage you to do so.

What have we fixed ?

  • PR #1284. [Validation-Behaviour] Adding InputDate validation (Fixes #1238)
  • PR #1273. [Autocomplete-Text] Add debounce function (fixes an issue reported on weekly tueday meetings)
  • PR #1276. [Advanced-search] Correction missing this.props. Thanks @JohnnP
  • PR #1271. [Button Back To Top] Switch from type='submit' to type='button' by default