send/app
Danny Coates 7673715c65
disabled frontend tests in ci
frontend tests are failing in puppeteer but work in the
browsers.
2018-07-23 09:49:16 -07:00
..
pages adjusted selectbox styles 2018-03-27 23:19:07 -07:00
routes improved background rendering slightly 2018-06-21 11:28:31 -07:00
templates Merge branch 'vnext' into sw 2018-07-13 12:27:39 -07:00
.eslintrc.yml a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00
api.js Merge branch 'vnext' into sw 2018-07-19 12:16:48 -07:00
base.css added striped box 2018-06-21 10:32:31 -07:00
dragManager.js ignore some lint warnings 2018-03-01 21:36:45 -08:00
ece.js use TransformStream if available 2018-07-19 14:46:12 -07:00
experiments.js exclude fxios from fxPromo banner. fixes #753 2018-02-15 11:49:41 -08:00
fileManager.js saves stream to file 2018-07-06 15:49:50 -07:00
fileReceiver.js send nonce to sw 2018-07-19 13:20:10 -07:00
fileSender.js sw 2018-07-05 12:40:49 -07:00
keychain.js saves stream to file 2018-07-06 15:49:50 -07:00
main.css added background image 2018-06-19 12:58:42 -07:00
main.js Merge branch 'vnext' into sw 2018-07-13 12:27:39 -07:00
metrics.js reinstate the 'exited' metric. fixes #653 2018-01-19 15:07:05 -08:00
ownedFile.js some frontend unit tests 2018-02-24 11:21:48 -08:00
pasteManager.js Add return to prevent multiple uploads 2018-06-07 10:46:55 +08:00
readme.md updated docs 2018-03-07 15:01:08 -08:00
serviceWorker.js disabled frontend tests in ci 2018-07-23 09:49:16 -07:00
storage.js sender no longer needs file nonce 2018-01-31 11:12:36 -08:00
streams.js disabled frontend tests in ci 2018-07-23 09:49:16 -07:00
utils.js saves stream to file 2018-07-06 15:49:50 -07:00

Application Code

app/ contains the browser code that gets bundled into app.[hash].js. It's got all the logic, crypto, and UI. All of it gets used in the browser, and some of it by the server for server side rendering.

The main entrypoint for the browser is main.js and on the server routes/index.js gets imported by /server/routes/pages.js

  • pages contains display logic an markup for pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages