Giter Site home page Giter Site logo

whisthq / brave-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 9.0 0.0 21.98 MB

Whist's fork of brave-ui, a list of reusable React components to empower your Brave UI

Home Page: https://github.com/brave/brave-ui

License: Mozilla Public License 2.0

JavaScript 2.76% HTML 0.03% TypeScript 90.24% CSS 6.97%
brave browser javascript

brave-ui's Introduction

Whist README

This repository is Whist's fork of brave-ui, with a few modifications. We forked brave-ui so that we could build Whist integrated within Chromium on top of Brave, to benefit from Brave's features and development pipeline.

Development

Before building or modifying the code, you should pull the latest changes from the public brave/brave-ui repository that this repository is forked from. To setup your repository, follow these steps:

  1. Clone and enter the repository
git clone https://github.com/whisthq/brave-ui && cd brave-ui
  1. Add the upstream repository as a remote
git remote add upstream https://github.com/brave/brave-ui
  1. Disable pushing to upstream Brave UI
git remote set-url --push upstream DISABLE

After this, you should be able to list your remotes with git remote -v if you ever need to debug.

Since Brave UI is a large and active project, we will very often want to work with the latest upstream code; meanwhile, we need to make sure that our own repository has a sane commit history -- we cannot simply periodically merge the latest Brave UI on top of our own modifications.

Instead, perform the following steps to incorporate changes from upstream:

  1. Fetch the latest changes to the upstream remote
git fetch upstream
  1. Rebase on top of your current work
git rebase upstream/master
# git rebase upstream/<desired branch> for other upstream branches
  1. Resolve merge conflicts, if any arise, and push to the Whist Brave UI repository
git push origin <current branch>

Building & Publishing

This project gets built via brave-browser. Please refer to that repository for instructions on building and publishing.


Brave README

Here you will find a list of reusable React components used in most of Brave products. Brave UI's component library can be found on Storybook.

โ—Important: We are still hacking a lot on this project, and therefore don't recommend that anyone use it yet. It's free to try and use at your own risk but bear in mind that components and APIs are very likely to change without notice.

Installation

$ npm install

Using Brave UI

npm run storybook-start

Tests

We use Jest for testing. Playground is available under the stories/ folder.

npm run test-unit

License

This project is licensed under the MPL-2.0.

brave-ui's People

Contributors

cezaraugusto avatar nejczdovc avatar ryanml avatar rossmoody avatar petemill avatar cg505 avatar imptrx avatar zenparsing avatar emerick avatar philippemnoel avatar jenn-rhim avatar diracdeltas avatar nullhook avatar jdkuki avatar antonok-edm avatar douglashdaniel avatar bad-science avatar dependabot[bot] avatar yachtcaptain23 avatar bsclifton avatar dijonkitchen avatar kirkins avatar romant avatar darklight147 avatar evq avatar

Watchers

David Fort avatar Watson Worthy avatar Yancey Wang avatar Gabriele Oliaro avatar Nicholas Pipitone avatar Serina Hu avatar Yanchen Ma avatar Roshan Padaki avatar Mauricio Araujo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.