eol transition release

This commit is contained in:
Danny Coates 2019-03-09 10:31:32 -08:00
parent be5ea12408
commit 900b083077
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
6 changed files with 32 additions and 54 deletions

View File

@ -2,3 +2,4 @@ dist
assets assets
firefox firefox
coverage coverage
app/pages/welcome/index.js

View File

@ -31,7 +31,7 @@ export default function(state, emitter) {
alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) })); alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) }));
return; return;
} }
emitter.emit('upload', { file, type: 'drop' }); // emitter.emit('upload', { file, type: 'drop' });
} }
}); });
}); });

View File

@ -8,43 +8,20 @@ module.exports = function(state, emit) {
// the page flickers if both the server and browser set 'effect--fadeIn' // the page flickers if both the server and browser set 'effect--fadeIn'
const fade = state.layout ? '' : 'effect--fadeIn'; const fade = state.layout ? '' : 'effect--fadeIn';
return html` return html`
<div id="page-one" class="${fade}"> <div id="page-one" class="${fade}">
<div class="title">${state.translate('uploadPageHeader')}</div> <div class="title">${state.translate('uploadPageHeader')}</div>
<div class="description"> <div class="description">
<div>${state.translate('uploadPageExplainer')}</div> <div>${state.translate('uploadPageExplainer')}</div>
<a <a href="https://testpilot.firefox.com/experiments/send" class="link">
href="https://testpilot.firefox.com/experiments/send" ${state.translate('uploadPageLearnMore')}
class="link"> </a>
${state.translate('uploadPageLearnMore')}
</a>
</div>
<div class="uploadArea"
ondragover=${dragover}
ondragleave=${dragleave}>
<img
src="${assets.get('upload.svg')}"
title="${state.translate('uploadSvgAlt')}"/>
<div class="uploadArea__msg">
${state.translate('uploadPageDropMessage')}
</div> </div>
<span class="uploadArea__sizeMsg"> <div class="uploadArea">
${state.translate('uploadPageSizeMessage')} <h1>New uploads are temporarily unavailable</h1>
</span> <p>Please return tomorrow for a brand new experience</p>
<input id="file-upload" </div>
class="inputFile" ${fileList(state, emit)}
type="file"
name="fileUploaded"
onfocus=${onfocus}
onblur=${onblur}
onchange=${upload} />
<label for="file-upload"
class="btn btn--file"
title="${state.translate('uploadPageBrowseButton1')}">
${state.translate('uploadPageBrowseButton1')}
</label>
</div> </div>
${fileList(state, emit)}
</div>
`; `;
function dragover(event) { function dragover(event) {

View File

@ -110,25 +110,25 @@ workflows:
ignore: /.*/ ignore: /.*/
tags: tags:
only: /^v.*/ only: /^v.*/
- test: # - test:
filters: # filters:
branches: # branches:
ignore: /.*/ # ignore: /.*/
tags: # tags:
only: /^v.*/ # only: /^v.*/
- integration_tests: # - integration_tests:
requires: # requires:
- build # - build
filters: # filters:
branches: # branches:
ignore: /.*/ # ignore: /.*/
tags: # tags:
only: /^v.*/ # only: /^v.*/
- deploy_stage: - deploy_stage:
requires: requires:
- build - build
- test # - test
- integration_tests # - integration_tests
filters: filters:
branches: branches:
ignore: /.*/ ignore: /.*/

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "firefox-send", "name": "firefox-send",
"version": "2.6.3", "version": "2.6.4",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "firefox-send", "name": "firefox-send",
"description": "File Sharing Experiment", "description": "File Sharing Experiment",
"version": "2.6.3", "version": "2.6.4",
"author": "Mozilla (https://mozilla.org)", "author": "Mozilla (https://mozilla.org)",
"repository": "mozilla/send", "repository": "mozilla/send",
"homepage": "https://github.com/mozilla/send/", "homepage": "https://github.com/mozilla/send/",