Commit Graph

507 Commits

Author SHA1 Message Date
Danny Coates f4e185bdc0
Merge pull request #1213 from mozilla/localized-filesize
localize file sizes
2019-03-12 21:49:36 -07:00
Danny Coates adf9c7b96f
localize file sizes 2019-03-12 21:46:50 -07:00
Danny Coates f78e025d33
disable streaming download if registering sw fails. fixes #1226 2019-03-12 20:53:54 -07:00
Danny Coates 9da70931e4
body overflow-x: hidden. fixes #1219 2019-03-12 13:36:46 -07:00
Donovan Preston 862fedb420 Really switch the android beta to use send.firefox.com. 2019-03-12 13:59:30 -04:00
Danny Coates d068dd2954
Revert "updated legal page. closes #1214"
This reverts commit 2f50c29152.
2019-03-12 09:34:52 -07:00
Danny Coates 7710cf98e9
fixed paste email bug 2019-03-12 08:37:43 -07:00
Danny Coates 2f50c29152
updated legal page. closes #1214 2019-03-12 07:52:54 -07:00
Danny Coates 0c458e180c
error if file from localStorage is old (no manifest) 2019-03-12 07:39:50 -07:00
Danny Coates 163899467d
check capabilities.account before showing upsell button 2019-03-11 19:02:44 -07:00
Danny Coates d3438a52ac
try android share before navigator.share 2019-03-11 10:43:32 -07:00
Danny Coates 8abc1b6364
updated share button text 2019-03-09 20:56:33 -08:00
Danny Coates bd61d2fb3e
added share to tile 2019-03-09 20:41:20 -08:00
Danny Coates 9294ecb09f
try web share api 2019-03-09 17:59:21 -08:00
Danny Coates da5f503dbc
no-op startAuthFlow on android 2019-03-08 16:13:15 -08:00
Danny Coates dd8477da64
fixed legal page links. closes #1206 2019-03-07 15:25:28 -08:00
Danny Coates 40fcd8506a
use fxa email-first flow 2019-03-07 12:08:42 -08:00
Danny Coates fc1d2f43da
added top margin to intro 2019-03-07 11:17:27 -08:00
Danny Coates ea78382e5e
fixes #1204, fixes #1205, also intro font weight 2019-03-07 10:58:19 -08:00
John Gruen a28aad274d
convert legal notice to html 2019-03-07 10:24:17 -08:00
Danny Coates fb9f35413c
clear settings after removing last file from wip 2019-03-06 10:43:58 -08:00
Danny Coates 7f9674f494
fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
Danny Coates dce8b6e525
fixed cancel button string 2019-03-05 14:44:06 -08:00
Danny Coates d25c41190a
fixes #1143 android ui bug 2019-03-05 14:27:55 -08:00
Danny Coates e7b881e975
added cors mode to /metrics-flow request 2019-03-05 13:31:51 -08:00
Danny Coates 5e04f367c1
utms for everybody 2019-03-05 12:58:40 -08:00
John Gruen 7197cc3bea Add legal and final strings (#1185)
* add legal and final strings

* removed unneeded suffixes from string ids

* removed unused strings and simplified string ids for vnext-only strings

* reword nostreams option
2019-03-04 14:13:17 -08:00
Danny Coates 6ab006de61
use email type for signin input tag 2019-03-02 17:05:58 -08:00
Danny Coates 3666900f13
removed errant console.log 2019-03-01 16:26:27 -08:00
Danny Coates 1ddfeac81f
added md and lg layouts for signin dialog 2019-03-01 16:19:55 -08:00
Danny Coates 8f74ccdb48
a few style tweaks 2019-03-01 14:12:23 -08:00
Danny Coates 4820f175dd
updated signin dialog 2019-03-01 12:56:10 -08:00
Danny Coates 1b9182aac7
updated secondary pages style & illustrations 2019-03-01 11:05:59 -08:00
John Gruen 10c7f8ab43 update survey url (#1179) 2019-03-01 09:05:26 -08:00
Danny Coates 421967ea81
updated default config values 2019-02-28 16:39:38 -08:00
Danny Coates 3bd2996c14
tweaked title and illustration styles 2019-02-28 15:53:13 -08:00
Danny Coates 7716ba6e77
added warning page for browsers without streams downloading big files (#1175)
* added warning page for browsers without streams downloading big files

* fixed illustration size in Edge

* updated nostreams style
2019-02-28 14:28:18 -08:00
Danny Coates 72ee9c13d2
added illustrations 2019-02-27 11:42:43 -08:00
Danny Coates 72b41c158b
added flex-no-shrink to archive info icons 2019-02-26 17:31:53 -08:00
Danny Coates 7c540b8903
updated tiles styles 2019-02-26 17:22:45 -08:00
Danny Coates 4a40c75173
updated dowload page style 2019-02-26 16:03:12 -08:00
Danny Coates 8e104d2a5b
added metric target for newest signup button 2019-02-26 15:54:56 -08:00
Danny Coates 1529a86180
updated password ui size 2019-02-26 15:38:55 -08:00
Danny Coates b6941345a7
updated password input style 2019-02-26 15:06:50 -08:00
Danny Coates 0b8eae11de
updated styles 2019-02-26 14:52:37 -08:00
Danny Coates 4cb6646cce
updated filelist storage so userid is not used directly 2019-02-26 13:53:11 -08:00
Danny Coates 1c44d1d0f9
added /config endpoint, use fewer globals (#1172)
* added /config endpoint, use fewer globals

* fixed integration tests
2019-02-26 10:39:50 -08:00
Danny Coates 8df400a676
found source of double-render, removed old experiment 2019-02-25 14:03:08 -08:00
Danny Coates cccc1a5383
enabled accounts on Edge 2019-02-25 11:44:44 -08:00
Danny Coates 2dce066449
tweaked btn style 2019-02-22 13:59:57 -08:00
Danny Coates 3f4cdd844c
updated upload area style. idk how this moved 2019-02-22 13:40:19 -08:00
Danny Coates 2c867e0ae8
fixed modals on other than home page 2019-02-22 13:31:54 -08:00
Danny Coates c36466d952
updated unsupported page style 2019-02-22 13:16:24 -08:00
Danny Coates 2fd72096ae
download page style updates 2019-02-22 12:42:10 -08:00
Danny Coates 08dc5fa23b
puffier signin button et al 2019-02-22 12:00:39 -08:00
John Gruen e19c711548 finish string update (#1167) 2019-02-22 11:13:31 -08:00
Danny Coates c8e6e761d0
filled in size placeholder and other malarkey 2019-02-22 10:37:52 -08:00
John Gruen 7449d1c351 update strings 2019-02-22 17:12:30 +01:00
Danny Coates 47d75d8220
adjusted modal background and download preview 2019-02-21 16:43:15 -08:00
Danny Coates 694e05f738
disable accounts on Edge. more crypto errors 2019-02-21 15:38:36 -08:00
Danny Coates de88885189
replaced cryptofill with webcrypto-liner 2019-02-21 15:20:28 -08:00
Danny Coates 9e919eddb5
beginning to decompose cryptofill to allow dynamic import 2019-02-21 12:22:12 -08:00
Danny Coates c146c584f6
static require cryptofill for Edge 2019-02-21 11:21:06 -08:00
Danny Coates 6fd3019aba
added title to download link 2019-02-21 09:24:43 -08:00
Danny Coates f0a60d8c8e
added control titles 2019-02-20 19:59:29 -08:00
Danny Coates 2169a49d4c
made account menu keyboard navible 2019-02-20 16:11:54 -08:00
Danny Coates b6a703d5de
added outline styles for keyboard nav 2019-02-20 15:58:44 -08:00
Danny Coates 060b6835f1
clear password on checkPassword 2019-02-20 11:51:09 -08:00
Danny Coates fd2b58d96d
made main "add files" area keyboard navible 2019-02-20 10:59:05 -08:00
Danny Coates b1e5073e59
made sign in button keyboard navible 2019-02-20 10:57:32 -08:00
Danny Coates ec356b703f
disable service worker on Edge 2019-02-19 18:53:55 -08:00
Danny Coates e5f9673521
added window.app for debugging 2019-02-19 14:14:28 -08:00
Danny Coates 2c12b614f0
updated header logo 2019-02-19 13:13:14 -08:00
Danny Coates c1df061669
android style fixes 2019-02-19 11:25:40 -08:00
Danny Coates 41bfe31d61
prefix /api/metrics on android. fixes #1159 2019-02-19 10:46:16 -08:00
Tim Visée b76150d4d9 Fix function to calculate encrypted ECE ciphertext length (#1153) 2019-02-18 11:19:15 -08:00
Danny Coates a2ede30f09
updated password input style 2019-02-15 14:42:09 -08:00
Danny Coates 8eaacfea18
use text/plain on /api/metrics 2019-02-15 11:59:39 -08:00
Danny Coates b30be6e4a2
updated intro image 2019-02-14 16:16:30 -08:00
Danny Coates 6b6b04e93b
a few font adjustments 2019-02-14 12:23:27 -08:00
Danny Coates 21e3095dc9
updated file icon 2019-02-14 12:01:14 -08:00
Danny Coates 2a8a8abfde
added Inter font and intro image 2019-02-14 11:39:28 -08:00
Danny Coates 4d8f27e96e
adjusted intro layout 2019-02-14 09:33:49 -08:00
Danny Coates be8e507d25
updated footer links 2019-02-13 13:09:57 -08:00
Danny Coates 26d6606e09
added custom details arrow (needs final svg) 2019-02-13 12:39:53 -08:00
Danny Coates 1c61915b53
styled selectbox 2019-02-13 11:14:53 -08:00
Danny Coates e9ee7d022c
adjusted padding of wip area 2019-02-12 19:14:01 -08:00
Danny Coates fc37fd1fe3
Work in progress on latest design 2019-02-12 12:27:52 -08:00
Danny Coates 9b37e92a81
implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
Danny Coates 6b33192a55
use default avatar instead of ff logo for users with no avatar 2019-02-08 11:58:42 -08:00
Donovan Preston 16224b3c02 Fix #1108 Hide email input on signup page so that it doesn't hide par… (#1140)
* Fix #1108 Hide email input on signup page so that it doesn't hide part of the bottom of the page

* Fix #1115 Prevent clicking on the button more than once in a row.

* Show the email input on desktop
2019-02-08 09:44:21 -08:00
Mark Liang (You-Wen) b55960d743 fix 1112 (#1128) 2019-01-30 10:59:22 -05:00
Danny Coates 9e3bde2cc9 full page download ui (#1126) 2019-01-30 10:50:17 -05:00
Danny Coates 5eb24065b6
added modal to other pages 2019-01-29 13:08:54 -08:00
Danny Coates 87a517a169
exclude text inputs from paste handler 2019-01-29 12:43:09 -08:00
Danny Coates c0d8300a8e
fixed some scrollbars 2019-01-29 12:06:23 -08:00
Danny Coates d159825b27
added download icon 2019-01-28 15:44:14 -08:00
Danny Coates 8794b1d101
npm run format 2019-01-24 12:31:20 -08:00
Danny Coates dece0969c2
added download link to tile 2019-01-23 15:10:09 -08:00
Donovan Preston 73123a690b Switch to the Android share icon. 2019-01-23 09:42:13 -05:00
Mark Liang de0a1ddcaa #1103 2019-01-18 16:09:17 +08:00
Danny Coates 7d051d5eaf
restored accidentally deleted style 2019-01-16 16:18:23 -08:00
Danny Coates d5a1271bbe
fixed account menu z-index on android 2019-01-16 14:58:10 -08:00
Danny Coates a6a8fa6528
Merge pull request #1099 from mozilla/android-implement-share-card
Fix #888 Implement share card.
2019-01-16 13:26:41 -08:00
Donovan Preston c90d811087 Switch to using utils.browserName 2019-01-16 16:20:15 -05:00
Danny Coates 57422d6406
refactored styles to extract btn 2019-01-16 12:49:11 -08:00
Donovan Preston af61434b72 Fix #888 Implement share card. 2019-01-16 12:05:39 -05:00
Danny Coates 32a77180b0
Merge pull request #1088 from mozilla/vnext-ui-changes
Update UI
2019-01-15 10:40:11 -08:00
Danny Coates 783d7bfa03
save download count changes to localStorage. fixes #1080 2019-01-15 10:11:51 -08:00
Mark Liang 38f8a68827 update ux 2019-01-14 16:51:50 +08:00
Danny Coates f402011c82
use custom elements instead of adding css classes for selectors 2019-01-10 16:22:40 -08:00
Danny Coates 8e8570c357
use blob instead of stream to get file list. fixes #1084 2019-01-10 11:10:51 -08:00
Danny Coates 4a633c8930
initialize dlimit of ownedfile on upload. fixes #1080 2019-01-10 10:52:52 -08:00
Danny Coates 6cc374865e
refactored code/tests around download tests 2019-01-09 17:25:43 -08:00
Dhyey Thakore e9a9ead762 [Integration-Test] Add test for number of downloads, fixes #810 2019-01-09 19:33:48 +05:30
Danny Coates 1bb1e8123f
Merge pull request #1076 from mozilla/i1059
don't make title a link on android
2019-01-08 14:14:45 -08:00
Danny Coates 65be118e82
clicking signin shows cta. fixes #1073 2019-01-08 14:06:15 -08:00
Danny Coates ffe8045d82
don't make title a link on android. fixes #1059 2019-01-08 13:53:53 -08:00
Danny Coates 4e0425ad7e
fixed text overflow on 404 page. fixes #1025 2019-01-08 11:46:14 -08:00
Danny Coates 06b25dcba6
fixed initial page load rendering for expired downloads and when the upload list isn't empty. fixes #1069 and fixes #1021 2019-01-08 11:24:07 -08:00
Danny Coates 8c496e3bee
don't add zero length files (also directories) 2019-01-03 16:12:40 -08:00
Danny Coates a79400f99f
signup dialog changes
- send empty or invalid emails to the standard fxa signup page
- show the signup dialog when file too big and not logged in
2018-12-21 11:40:52 -08:00
Danny Coates c585c34c01
use one Archive instance for state.archive 2018-12-21 10:54:38 -08:00
Danny Coates 6cc12528b3
fixed some old TODOs 2018-12-18 13:55:46 -08:00
Danny Coates ac87fdff97
style tweak to user avatar image 2018-12-18 12:50:01 -08:00
Danny Coates b1db7ac312
simplified app/main.js a bit 2018-12-18 12:27:43 -08:00
Danny Coates 793dfb4f42
initial state refactor 2018-12-13 11:12:06 -08:00
Mark Liang (You-Wen) aa156558b6 Update vnext android ui (#1036)
* refine android ui

* fix layout
2018-12-13 11:36:03 -05:00
Danny Coates 09a4d7b9ee
fixed filelist sync on initial login and after upload 2018-12-12 10:14:06 -08:00
Danny Coates e58ebc835c
changed upload button label 2018-12-11 15:11:38 -08:00
Danny Coates 61299dd8ea
split serviceWorker and streamDownload capabilities 2018-12-10 12:47:23 -08:00
Danny Coates 0640902350
moved non-async init earlier in main.js 2018-11-26 16:05:22 -08:00
Danny Coates 613a70f473
improved serviceworker caching 2018-11-26 13:25:47 -08:00
Danny Coates 87ac8b241b
load cryptofill.js async 2018-11-26 10:36:49 -08:00
Danny Coates 1e62aa976d reimplemented l10n using dynamic import() (#1012)
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)
2018-11-20 09:50:59 -05:00
Danny Coates 5afa4e5c9b
Merge pull request #1010 from mozilla/totalSize
added total size to wip tile
2018-11-19 21:37:31 -08:00
Donovan Preston ae4b8cf0d3 Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
Danny Coates 74d8a12c07
fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
Danny Coates c99697caae
fixes #1015. lolwhoops 2018-11-19 10:34:58 -08:00
Danny Coates b80dd48434
added total size to wip tile 2018-11-16 17:31:37 -08:00
Danny Coates 0dc7398414
removed unused images and testpilot twitter link 2018-11-16 16:23:24 -08:00
Danny Coates b6517c5442
port fix for #1005 to vnext 2018-11-16 13:33:40 -08:00
Danny Coates fbad1ab55a
formatting update 2018-11-16 12:39:36 -08:00
Danny Coates 6fdc430c4f
delete old service worker caches 2018-11-16 12:32:32 -08:00
Danny Coates 32a55d00b2
don't render expired uploads 2018-11-16 12:30:15 -08:00
Danny Coates 9989f944c3
fixed account ui when not enabled 2018-11-16 10:01:53 -08:00
Danny Coates 660a1947cc
try out service worker cache 2018-11-16 09:32:29 -08:00
Danny Coates 037c79730d
converting some things to choo/component 2018-11-15 15:43:32 -08:00
Danny Coates d67716f26b
fixed some element heights at md width 2018-11-15 09:27:17 -08:00
Donovan Preston 43c596fb99 Fix rendering problems with the android ui. 2018-11-15 10:06:35 -05:00