Frontend Development Guidelines
Notice: We are currently in the process of re-writing our development guide to make it easier to find information. The new guide is still WIP but viewable in development/new_fe_guide
This document describes various guidelines to ensure consistency and quality across GitLab's frontend team.
We also use Axios to handle all of our network requests.
We also utilize webpack to handle the bundling, minification, and compression of our assets.
Working with our frontend assets requires Node (v8.10.0 or greater) and Yarn (v1.10.0 or greater). You can find information on how to install these on our installation guide.
For our currently-supported browsers, see our requirements.
How we plan and execute the work on the frontend.
How we go about making fundamental design decisions in GitLab's frontend team or make changes to our frontend development guidelines.
How we write frontend tests, run the GitLab test suite, and debug test related issues.
Vue specific design patterns and practices.
Vuex specific design patterns and practices.
Axios specific practices and gotchas.
How to use GraphQL
How we use SVG for our Icons and Illustrations.
How we use UI components.
Our SCSS conventions which are enforced through scss-lint.
Best practices for monitoring and maximizing frontend performance.
Frontend security practices.
Our accessibility standards and resources.
DropLab dropdown library.