gecko/browser/components/loop
2014-10-20 11:10:23 -07:00
..
content Bug 1081959 - "Something went wrong" isn't displayed when the call fails in the connection phase, r=dmose 2014-10-20 11:10:23 -07:00
standalone Bug 1081959 - "Something went wrong" isn't displayed when the call fails in the connection phase, r=dmose 2014-10-20 11:10:23 -07:00
test Bug 1081959 - "Something went wrong" isn't displayed when the call fails in the connection phase, r=dmose 2014-10-20 11:10:23 -07:00
ui Bug 1048162 Part 2 - Display an error message if fetching an email link fails r=standard8,darrin 2014-10-16 21:29:18 -04:00
.gitignore
build-jsx Bug 1045690 Ensure the correct version of react is used when building the Loop jsx files. r=Standard8 2014-09-16 11:38:59 +01:00
CardDavImporter.jsm
GoogleImporter.jsm Bug 1084384: support alternate phone number values for Google import. r=abr 2014-10-17 17:22:53 +02:00
jar.mn Bug 1074686 - Test/impl EmptyRoomView, store, and actions, r=Standard8 2014-10-14 15:22:35 -07:00
LoopContacts.jsm Bug 1079941: implement LoopContacts.search to allow searching for contacts by query and use that to find out if a contact who's trying to call you is blocked. r=abr 2014-10-16 16:35:10 +02:00
LoopStorage.jsm Bug 1078309: use a different database for each Fx Account. r=abr,paolo 2014-10-09 13:11:24 +02:00
manifest.ini
moz.build Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
MozLoopAPI.jsm Bug 1048162 Part 1 - Add an 'Email Link' button to Loop desktop failed call view. r=Standard8 2014-10-16 18:58:59 +01:00
MozLoopPushHandler.jsm No bug - Change tabs to spaces in MozLoopPushHandler.jsm r=me DONTBUILD 2014-10-01 20:02:09 -04:00
MozLoopService.jsm Bug 1079941: implement LoopContacts.search to allow searching for contacts by query and use that to find out if a contact who's trying to call you is blocked. r=abr 2014-10-16 16:35:10 +02:00
MozLoopWorker.js
README.txt
run-all-loop-tests.sh Bug 1017257 - Attach Loop CSP Policy r=sstamm,dmose 2014-10-06 15:25:04 -05:00

This is the directory for the Loop desktop implementation and the standalone
client.

The desktop implementation is the UX built into Firefox, activated by the Loop
button on the toolbar. The standalone client is the link-clicker UX for any
modern browser that supports WebRTC.

The standalone client is a set of web pages intended to be hosted on a
standalone server referenced by the loop-server.

The standalone client exists in standalone/ but shares items
(from content/shared/) with the desktop implementation. See the README.md
file in the standalone/ directory for how to run the server locally.


Hacking
=======
Please be sure to execute

  browser/components/loop/run-all-loop-tests.sh

from the top level before requesting review on a patch.


Functional Tests
================
These are currently a work in progress, but it's already possible to run a test
if you have a [loop-server](https://github.com/mozilla-services/loop-server)
install that is properly configured.  From the top-level gecko directory,
execute:

  export LOOP_SERVER=/Users/larry/src/loop-server
  ./mach marionette-test browser/components/loop/test/functional/manifest.ini

Once the automation is complete, we'll include this in run-all-loop-tests.sh
as well.


Working with React JSX files
============================

Our views use [React](http://facebook.github.io/react/) written in JSX files
and transpiled to JS before we commit. You need to install the JSX compiler
using npm in order to compile the .jsx files into regular .js ones:

    npm install -g react-tools

Once installed, run build-jsx with the --watch option from
browser/components/loop, eg.:

    cd browser/components/loop
    ./build-jsx --watch

build-jsx can also be do a one-time compile pass instead of watching if
the --watch argument is omitted.  Be sure to commit any transpiled files
at the same time as changes to their sources.