All Projects → Financial-Times → x-dash

Financial-Times / x-dash

Licence: other
❌➖📰 shared front-end components for FT.com and the FT Apps

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to x-dash

dotcom-page-kit
📰 Page Kit provides a high quality, well tested, and thoroughly documented set of tools for assembling and delivering FT.com based upon the best industry standards.
Stars: ✭ 14 (-56.25%)
Mutual labels:  customer-products, platforms-customer-products
n-heroku-tools
FT.com deployment tools
Stars: ✭ 14 (-56.25%)
Mutual labels:  customer-products, platforms-customer-products
react-native-web-monorepo-navigation
⚛️ An opinionated universal navigation strategy for codebases containing both React & React Native
Stars: ✭ 24 (-25%)
Mutual labels:  monorepo
cra-monorepo-demo
Monorepo example using create-react-app and common component library structure with yarn workspaces
Stars: ✭ 37 (+15.63%)
Mutual labels:  monorepo
injective-ts
Collection of TypeScript packages that consume and interact with the Injective Chain
Stars: ✭ 35 (+9.38%)
Mutual labels:  monorepo
Nishan
An ecosystem of packages for notion written in typescript.
Stars: ✭ 161 (+403.13%)
Mutual labels:  monorepo
monorepo-utils
🔧 Helpful functions to manage monorepos (using Yarn Workspaces)
Stars: ✭ 25 (-21.87%)
Mutual labels:  monorepo
monorepo-utils
A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
Stars: ✭ 143 (+346.88%)
Mutual labels:  monorepo
tymly
An open framework for building digital services.
Stars: ✭ 108 (+237.5%)
Mutual labels:  monorepo
awesome-nx
An awesome list that curates the best Nrwl Nx tools, tutorials, articles and more.
Stars: ✭ 45 (+40.63%)
Mutual labels:  monorepo
eslint-plugin-relations
Controls relationships between folders and packages 👩‍💻🤝👮🏻‍♂️
Stars: ✭ 27 (-15.62%)
Mutual labels:  monorepo
lerna-sync
A package to synchronize distributed GitHub repos inside a Lerna monorepo.
Stars: ✭ 15 (-53.12%)
Mutual labels:  monorepo
nextjs-dapp-starter-ts
A fullstack monorepo template to develop ethereum dapps
Stars: ✭ 228 (+612.5%)
Mutual labels:  monorepo
itwinjs-core
Monorepo for iTwin.js Library
Stars: ✭ 493 (+1440.63%)
Mutual labels:  monorepo
yall
Yarn/npm for monorepos
Stars: ✭ 27 (-15.62%)
Mutual labels:  monorepo
cookiecutter-go
boilerplate, golang project starter tool, support go-zero/go-micro/gin
Stars: ✭ 63 (+96.88%)
Mutual labels:  monorepo
flex-plugin-builder
Packages related to building a Twilio Flex Plugin
Stars: ✭ 69 (+115.63%)
Mutual labels:  monorepo
monorepify
A boilerplate for monorepo architecture using frameworks.
Stars: ✭ 37 (+15.63%)
Mutual labels:  monorepo
shared-react-components-example
An example of a mono-repository of shared React components libraries!
Stars: ✭ 85 (+165.63%)
Mutual labels:  monorepo
nx-extend
Nx Workspaces builders and tools
Stars: ✭ 67 (+109.38%)
Mutual labels:  monorepo


x-dash Build Status

x-dash is new shared front-end components for FT.com and the FT Apps. A detailed introduction is available in Google Slides.

Check out the getting started guide to begin hacking on x-dash.

How is that not Origami?

Origami components are designed to work across the whole of FT and our sub-brands, making as few assumptions as possible about the tech stack that will be consuming them. Origami components don't contain templating, only styles and behaviour. It's up to each individual app to produce markup for components.

x-dash aims to complement Origami by providing easily reusable and composable templates, flexibly enough to work across Next and Apps apps.

Installing x-dash

Requirements

To get started with x-dash, you'll need to make sure you have the following software tools installed.

  1. Git
  2. Make
  3. Node.js (version 12)
  4. npm

Please note that x-dash has only been tested in Mac and Linux environments. If you are on a Mac you may find it easiest to install the Command Line Tools package which includes Git and Make.

Recommended

To aid the development of interactive components with Storybook it is recommended to install the React Developer Tools for your browser. These addons aid debugging by displaying the rendered component tree and provide access to view and edit their properties:

Project setup

  1. Clone the x-dash Git repository and change to the new directory that has been created:

    git clone [email protected]:financial-times/x-dash
    cd x-dash
  2. Install all of the project dependencies (this may take a few minutes if you are running this for the first time):

    make install
  3. Build the current set of x-dash components and start Storybook to view:

    make build
    npm run start-storybook

Working with x-dash

The project repository is a monorepo which means all of the tools, packages and components are kept in one place and can be worked upon concurrently.

Repository structure

The repository groups related code together in directories. UI components are stored in the components directory, documentation files in the docs directory, additional public packages in the packages directory and tools to aid working with x-dash are in the tools directory.

├ components/
│  └ x-component/
│    ├ readme.md
│    └ package.json
├ packages/
│  └ x-package/
│    ├ readme.md
│    └ package.json
├ tools/
│  └ x-docs/
│    └ package.json
├ readme.md
└ package.json

Using Storybook

Storybook is a development environment and showcase for UI components. It makes working on and sharing UI components easier by providing a richly configurable environment.

After installing x-dash you can start Storybook by running the following command from the repository root:

npm run start-storybook

This command will start a server running on local.ft.com:9001 and generate an application presenting all of the components configured to use it. Changes to these components can be updated in real-time speeding up the development process.

Data properties passed to these component may also be configured in-situ and these changes will be reflected in the URL making it possible to share specific configurations.

Coding standards

The best way to ensure you stick to the x-dash code style is to make your work consistent with the code around it. We also provide a Prettier configuration to automatically format files and run ESLint before any tests. See the contribution guide for more information.

For more in-depth information visit the Wiki

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].