Giter VIP home page Giter VIP logo

arch-website's Introduction

basics to start development

git clone <this repo url>
cd <this repo dir>
npm install
npm start

wait for a bit, then the browser will open to http://localhost:3000/# and you'll see the home screen. When you edit any file in /src the app will automatically reload. Edit App.css or index.css as needed.


JSON frame format

Animation frames are represented as a 1D array of frames, along with a width and height. A frame is represented as a 1d array of pixels. A pixel is a 32bit integer in the format RGBA, where each component is a number between 0 and 255. Each frame has the same width and height, as specified by the width and height of the animation.

ex: a 2x2 animation with 2 frames, one red and one black would look like this:

{
    width: 2,
    height: 2,
    frames: [
        [0xFF0000FF,0xFF0000FF,0xFF0000FF,0xFF0000FF],
        [0x000000FF,0x000000FF,0x000000FF,0x000000FF]
    ]
}

In addition to the animation frames, the module also has the following properties

  • title, string
  • description, string
  • author, string
  • tags, an array of strings

arch-website's People

Contributors

ashleygwilliams avatar joshmarinacci avatar linclark avatar mozilla-github-standards avatar slightlyoffbeat avatar trevorfsmith avatar tschneidereit avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arch-website's Issues

remix button

ppl worked locally then pushed as cut/paste into project (remix button a la Glitch?)

Fix Gesture.

Currently you can accidentally press the back button and lose your work on the editor page. We must at least block this if you have unsaved work and warn the user

/code endpoint requires having hit root route first

summary

/code endpoint does not properly load the application. in order to properly load the application one must hit the root route.

steps to reproduce

  1. open an incognito browser (have tested on chrome and firefox)
  2. hit https://experiencethearch.com/code
  3. see this screen shot 2018-06-03 at 10 45 32 am
  4. hit https://experiencethearch.com/. page loads.
  5. now if you go to the /code endpoint, the page will load.

notes

the notecards instructed users to hit the /code route directly. this led to most participants first experience in mozilla arch being a 404.

remove jquery

We shouldn't really need Jquery with modern JS, and it has some vunerabilities.

fix the routing

If you go directly to /[page] its a 404. Its the basic static site issue with CRA that a lot of hosts have fixes for. This is probably something that will need to be fixed by ops.

queue next

It would be super helpful to have an "add to queue" and "queue next" option for animations (so that you can add an animation to be seen next, as opposed to putting it at the bottom of a long animation queue)

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

Please configure outgoing webhook for Netlify

Hi, in the process of moving the public facing website http://experiencethearch.mozilla.org/ to a different static site provider, namely, Netlify.

For the builds to get triggered on git pushes, it's important to enable the right webhook for Netlify, and I can't configure that on your behalf.

So you can either make me an admin for this repo and I'll do it, otherwise, please setup a webhook like this:

Go to https://github.com/mozilla/arch-website/settings/hooks/new to configure a new webhook

The URL should be https://api.netlify.com/hooks/github
Content-type: application/json

And no need to send evertyhing, one can just select:

  • Pull Requests
  • Pushes
  • Branch or tag deletion

Thanks!

Wiki changes

FYI: The following changes were made to this repository's wiki:

These were made as the result of a recent automated defacement of publically writeable wikis.

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.