remove beta disclaimer entirely

pull/1306/head
Audric Ackermann 5 years ago
parent 90fac8f75e
commit 457a8967d6
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -1027,18 +1027,6 @@
"message": "Secure session reset succeeded",
"description": "This is a past tense, informational message. In other words, your secure session has been reset."
},
"betaDisclaimerTitle": {
"message": "Thanks for using Session!",
"description": "Title for beta disclaimer modal"
},
"betaDisclaimerSubtitle": {
"message": "This software is still in its beta phase.",
"description": "Subtitle for beta disclaimer modal"
},
"betaDisclaimerDescription": {
"message": "While your messages are secured with end-to-end encryption, third parties like your ISP can see who you're talking to while in the beta version. It is also possible that third parties could correlate your public key to your IP address and real identity if they learn your public key.",
"description": "Description for beta disclaimer modal"
},
"quoteThumbnailAlt": {
"message": "Thumbnail of image from quoted message",
"description": "Used in alt tag of thumbnail images inside of an embedded message quote"

@ -493,7 +493,6 @@
<script type='text/javascript' src='js/views/password_dialog_view.js'></script>
<script type='text/javascript' src='js/views/seed_dialog_view.js'></script>
<script type='text/javascript' src='js/views/qr_dialog_view.js'></script>
<script type='text/javascript' src='js/views/beta_release_disclaimer_view.js'></script>
<script type='text/javascript' src='js/views/identicon_svg_view.js'></script>
<script type='text/javascript' src='js/views/install_view.js'></script>
<script type='text/javascript' src='js/views/banner_view.js'></script>

@ -493,7 +493,6 @@
<script type='text/javascript' src='js/views/password_dialog_view.js'></script>
<script type='text/javascript' src='js/views/seed_dialog_view.js'></script>
<script type='text/javascript' src='js/views/qr_dialog_view.js'></script>
<script type='text/javascript' src='js/views/beta_release_disclaimer_view.js'></script>
<script type='text/javascript' src='js/views/identicon_svg_view.js'></script>
<script type='text/javascript' src='js/views/install_view.js'></script>
<script type='text/javascript' src='js/views/banner_view.js'></script>

@ -1,38 +0,0 @@
/* global Whisper, window */
// eslint-disable-next-line func-names
(function() {
'use strict';
window.Whisper = window.Whisper || {};
Whisper.BetaReleaseDisclaimer = Whisper.View.extend({
className: 'loki-dialog beta-disclaimer-dialog modal',
initialize() {
this.close = this.close.bind(this);
this.render();
},
render() {
this.dialogView = new Whisper.ReactWrapperView({
className: 'session-beta-disclaimer',
Component: window.Signal.Components.SessionConfirm,
props: {
title: window.i18n('betaDisclaimerTitle'),
message: window.i18n('betaDisclaimerSubtitle'),
messageSub: window.i18n('betaDisclaimerDescription'),
hideCancel: true,
onClickOk: this.close,
},
});
this.$el.append(this.dialogView.el);
return this;
},
close() {
window.storage.put('betaReleaseDisclaimerAccepted', true);
this.remove();
},
});
})();

@ -131,11 +131,6 @@
model: { window: options.window },
});
if (!window.storage.get('betaReleaseDisclaimerAccepted')) {
// Beta disclaimer disabled.
// this.showBetaReleaseDisclaimer();
}
if (!options.initialLoadComplete) {
this.appLoadingScreen = new Whisper.AppLoadingScreen();
this.appLoadingScreen.render();
@ -456,10 +451,6 @@
toast.$el.appendTo(this.$('.gutter'));
toast.render();
},
showBetaReleaseDisclaimer() {
const dialog = new Whisper.BetaReleaseDisclaimer();
this.el.append(dialog.el);
},
});
Whisper.ExpiredAlertBanner = Whisper.View.extend({

@ -1400,25 +1400,6 @@ input {
width: 20vw;
}
.session-beta-disclaimer {
.session-modal {
width: 600px;
&__header {
font-size: $session-font-lg;
}
&__body > div:first-child {
padding: $session-margin-lg;
}
.session-confirm-main-message {
opacity: 0.8;
margin-bottom: $session-margin-xs;
}
}
}
.session-confirm-wrapper {
position: absolute;
height: 100%;

@ -541,7 +541,6 @@
<script type="text/javascript" src="../js/views/password_dialog_view.js"></script>
<script type="text/javascript" src="../js/views/seed_dialog_view.js"></script>
<script type="text/javascript" src="../js/views/qr_dialog_view.js"></script>
<script type="text/javascript" src="../js/views/beta_release_disclaimer_view.js"></script>
<script type="text/javascript" src="../js/views/identicon_svg_view.js"></script>
<script type="text/javascript" src="../js/views/install_view.js"></script>
<script type="text/javascript" src="../js/views/banner_view.js"></script>

Loading…
Cancel
Save