Page MenuHomePhabricator

Define system components' development standards
Closed, ResolvedPublic

Description

Define the guidelines to support the development of system components (first drafted version lives in this GitHub page). These will be provided as part of the essential procedural documentation attached to the components' library.

Context: The WMF will be exploring the deprecation of OOUI and its replacement by a new library of vue components (pretty much based on vue, and on the wikimedia-ui-base.less variables file). They are currently considering a "framework approach", which we should (and did) not recommend.

We should be aligned with them and collaborate to define component development guidelines. These guidelines should be followed by both teams, and will be key to ensure the future integration of our components (either generic of WD/WB specific) in the WMF shared library.

Unknowns:

  • If we want to create a library of scalable components, we need to make sure they are framework-agnostic
  • What if WMF decides to take a vue framework approach?
  • In case the Foundation falls very much behind us in terms of implementation, and we get to a point where generic (transversal) components are being used in WD, how could our components still be used in case we need to "migrate" them to the WMF library?

An example of FE guidelines for Internal code review by Brad Frost: https://github.com/bradfrost/frontend-guidelines-questionnaire