remove beta disclaimer entirely

This commit is contained in:
Audric Ackermann 2020-08-17 12:12:54 +10:00
parent 90fac8f75e
commit 457a8967d6
No known key found for this signature in database
GPG key ID: 999F434D76324AD4
7 changed files with 0 additions and 81 deletions

View file

@ -1027,18 +1027,6 @@
"message": "Secure session reset succeeded", "message": "Secure session reset succeeded",
"description": "This is a past tense, informational message. In other words, your secure session has been reset." "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": { "quoteThumbnailAlt": {
"message": "Thumbnail of image from quoted message", "message": "Thumbnail of image from quoted message",
"description": "Used in alt tag of thumbnail images inside of an embedded message quote" "description": "Used in alt tag of thumbnail images inside of an embedded message quote"

View file

@ -493,7 +493,6 @@
<script type='text/javascript' src='js/views/password_dialog_view.js'></script> <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/seed_dialog_view.js'></script>
<script type='text/javascript' src='js/views/qr_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/identicon_svg_view.js'></script>
<script type='text/javascript' src='js/views/install_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> <script type='text/javascript' src='js/views/banner_view.js'></script>

View file

@ -493,7 +493,6 @@
<script type='text/javascript' src='js/views/password_dialog_view.js'></script> <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/seed_dialog_view.js'></script>
<script type='text/javascript' src='js/views/qr_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/identicon_svg_view.js'></script>
<script type='text/javascript' src='js/views/install_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> <script type='text/javascript' src='js/views/banner_view.js'></script>

View file

@ -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();
},
});
})();

View file

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

View file

@ -1400,25 +1400,6 @@ input {
width: 20vw; 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 { .session-confirm-wrapper {
position: absolute; position: absolute;
height: 100%; height: 100%;

View file

@ -541,7 +541,6 @@
<script type="text/javascript" src="../js/views/password_dialog_view.js"></script> <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/seed_dialog_view.js"></script>
<script type="text/javascript" src="../js/views/qr_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/identicon_svg_view.js"></script>
<script type="text/javascript" src="../js/views/install_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> <script type="text/javascript" src="../js/views/banner_view.js"></script>