-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Mireya edited this page Oct 23, 2019
·
5 revisions
Welcome to the governance-ui-components
wiki! This repository is for the frontend interface of Digix's Governance DAO system. Here's a quick guide on developing for the app:
When creating a Pull Request, please base your changes on the develop
branch.
Prepend your commit message with [FEATURE] or [FIX] to describe the type of change. Include a description of the changes, as well as a Test Plan to be followed to verify these changes. For bug fixes, please also include steps to replicate the bug.
Consult the PR Template for more information on how to submit a pull request. Please view PR #312 for a sample commit message to follow.
- Style Guide: Use styled components when adding new designs to the website. You can view the theme variables in src/theme/light.js. Please follow the official Style Guide to keep things consistent and up to standard.
-
data-digix attributes: Please add
data-digix
attributes to important HTML elements. These are used by QA as locators in their automated test scripts. - Data Fetching: New endpoints should be implemented using GraphQL. See here for examples of how these are implemented.
For reference, please view the following materials to familiarize yourself with how the DAO works: