GithubHelp home page GithubHelp logo

chandracarney / cay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coralproject/cay

0.0 2.0 0.0 7.28 MB

Front-end code for Coral community moderation tools

License: MIT License

CSS 57.72% JavaScript 41.98% HTML 0.28% Shell 0.02%

cay's Introduction

Cay

Cay, a community moderation tool (front-end)

Getting started

You'll need to be running v5.0.0 of node, we recommend using nvm to manage node installations.

The app is a series of React components compiled into modules with webpack.

This repo is for the front-end of the Coral ecosystem outlined here.

The basic idea is that the build process results in a bundle.js file containing all javascript and css. CSS cross-browser issues, ES6 transpilation, minification, etc, is all handled by webpack.

Folder structure
.
+-- public
+-- src
|  +-- actions           -> descriptions of action types for redux
|  +-- components        -> all of the non-stateful React components
|  +-- containers        -> stateful React components
|  +-- layout            -> non-stateful components, but control the major parts of the page
|  +-- reducers          -> redux reducers
|  +-- store             -> redux store
+-- test                 -> mirrors the src folder 

Development

We welcome community contribution. If you're thinking about making more than a minor change, check in with the Coral team via Github issues to avoid unnecessary work for both parties.

Sequester all work in pull requests

  1. create a new branch with git checkout -b your-fancy-branch-name
  2. make a trivial change, and commit back to your branch with git add ./your-changed-file.js and git commit -m "a commit message here"
  3. push your changes to github with git push origin your-fancy-branch-name
  4. on github.com, you should see a button to create a pull request from your new branch
  5. There will be public code reviews before we merge any PRs into master

We will not accept commits or pushes to the master branch, as the latest version of master is automatically deployed. Any direct push to master will be reverted.

Code of conduct

Please be civil when discussing contributions to the Cay front end code and the Coral Project. If in doubt, please consult our Code of Conduct.

TODO:

  • how to internationalize (R2L languages)
  • how to continue to make things accessible
  • how to create a production build of bundle.js

cay's People

Contributors

riley avatar colinmegill avatar jde avatar kenwheeler avatar chandracarney avatar gabelula avatar pablocubico avatar

Watchers

James Cloos avatar  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.