mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 05:02:45 +01:00
1e62aa976d
this should greatly reduce the complexity of the l10n code and build pipeline and eliminate the most common error seen in sentry logs (no translate function) |
||
---|---|---|
.. | ||
ui | ||
.eslintrc.yml | ||
api.js | ||
archive.js | ||
capabilities.js | ||
controller.js | ||
dragManager.js | ||
ece.js | ||
experiments.js | ||
fileReceiver.js | ||
fileSender.js | ||
fxa.js | ||
keychain.js | ||
locale.js | ||
main.css | ||
main.js | ||
metrics.js | ||
ownedFile.js | ||
pasteManager.js | ||
readme.md | ||
routes.js | ||
serviceWorker.js | ||
storage.js | ||
streams.js | ||
user.js | ||
utils.js | ||
zip.js |
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 pagesroutes
contains route definitions and logictemplates
contains ui elements smaller than pages