Gaia: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 42: Line 42:
* [[Gaia/System/Apps|Apps]] (install, permissions, errors, management, updates, uninstall, reinstall)
* [[Gaia/System/Apps|Apps]] (install, permissions, errors, management, updates, uninstall, reinstall)
* [[Gaia/System/Bluetooth|Bluetooth]]
* [[Gaia/System/Bluetooth|Bluetooth]]
* [[Gaia/System/InternetSharing|Internet Sharing & Tethering]]
* [[Gaia/System/ConsumptionControl|Consumption Control]]
* [[Gaia/System/ConsumptionControl|Consumption Control]]
* [[Gaia/System/DoNotTrack|Do Not Track]]
* [[Gaia/System/DoNotTrack|Do Not Track]]

Revision as of 20:16, 18 September 2012

Gaia is a collection of web apps which make up the UI for the Boot to Gecko project.

Admin

UX Guidelines

Shared Code / Styles

The Gaia apps share/reuse some JS libraries (localization, gesture detection, etc.), localization strings (relative dates), and styles (from the building blocks effort, see above):

Apps

System

Future

Contributing

Filing Bugs

Issues are filed on Github.

Hacking

You can fork us on Github, then send a pull request.

A lot of the apps should be able to run in a web browser (particularly Firefox Nightly), but sometimes you may need to run them on B2G until new APIs land in browsers. See Gaia/Hacking to get started.

Communicating

You can find us in #gaia on irc.mozilla.org and we use the dev-gaia mailing list.

Reviewers

Gaia does not have formal module owners, but the following developers are good candidates to review patches to the following modules and apps:

Module Reviewers (irc nick/github username)
Dialer etienne_s/etiennesegonzac
Messages timdream
Browser benfrancis/benfrancis
Camera benfrancis/benfrancis
Gallery djf/davidflanagan, benfrancis/benfrancis
Video djf/davidflanagan, kaze/fabi1cazenave
Homescreen djf/davidflanagan
Keyboard timdream
Settings kaze/fabi1cazenave
Calculator daleharvey/daleharvey
Music djf/davidflanagan
Clock etienne_s/etiennesegonzac

Coding Style

  • make sure HTML files are declared <!DOCTYPE html> (i.e., HTML5). IE9+ will load them in compatibility mode otherwise.
  • add a "use strict"; statement (exactly that!) to the top of your JS files
  • 2 spaces for indentation - do not use tab.
  • Line break are free (I promise) don't hesitate to use them to separate logical block inside your functions.
  • Files are named like_this.js.
  • Use single quote instead of double quotes.
  • Additional rules:

Bad:

if (expression) doSomething();

Correct:

if (expression)
  doSomething();

Before submitting a patch

On each javascript files you are adding or you have modified, run:

gjslint --nojsdoc my_file.js

http://code.google.com/closure/utilities/docs/linter_howto.html

Set of smoke tests to run before you check-in a patch: PatchSmokeTests.pdf

Subpages of Gaia