-
+
- {t('logs_pane_beta_message')}
+ {t('logs_pane_info_message')}
) : null}
diff --git a/services/web/frontend/js/ide/pdf/controllers/PdfController.js b/services/web/frontend/js/ide/pdf/controllers/PdfController.js
index 1a4e6b01fb..ffe6617ea7 100644
--- a/services/web/frontend/js/ide/pdf/controllers/PdfController.js
+++ b/services/web/frontend/js/ide/pdf/controllers/PdfController.js
@@ -213,7 +213,6 @@ App.controller('PdfController', function(
}
function onDocChanged() {
- $scope.autoCompileLintingError = false
_updateDocLastChangedAt()
}
@@ -237,6 +236,7 @@ App.controller('PdfController', function(
$scope.$watch('autocompile_enabled', (newValue, oldValue) => {
if (newValue != null && oldValue !== newValue) {
if (newValue === true) {
+ $scope.autoCompileLintingError = false
autoCompileIfReady()
}
localStorage(`autocompile_enabled:${$scope.project_id}`, newValue)
@@ -534,7 +534,6 @@ App.controller('PdfController', function(
function fetchLogs(fileByPath, options) {
let blgFile, chktexFile, logFile
- $scope.pdf.logEntries = {}
if (options != null ? options.validation : undefined) {
chktexFile = fileByPath['output.chktex']
@@ -702,21 +701,19 @@ App.controller('PdfController', function(
function sendCompileMetrics() {
const hasCompiled =
$scope.pdf.view !== 'errors' && $scope.pdf.view !== 'validation-problems'
- const sendMetricsForUser =
- window.user.betaProgram && !window.user.alphaProgram
- if (hasCompiled && sendMetricsForUser) {
+ if (hasCompiled && !window.user.alphaProgram) {
const metadata = {
errors: $scope.pdf.logEntries.errors.length,
warnings: $scope.pdf.logEntries.warnings.length,
typesetting: $scope.pdf.logEntries.typesetting.length,
newLogsUI: window.showNewLogsUI,
- subvariant: window.logsUISubvariant || null
+ subvariant: window.showNewLogsUI ? window.logsUISubvariant : null
}
eventTracking.sendMBSampled(
'compile-result',
JSON.stringify(metadata),
- 0.05
+ 0.01
)
}
}
diff --git a/services/web/frontend/stylesheets/components/beta-badges.less b/services/web/frontend/stylesheets/components/beta-badges.less
index 71c18233f2..f3b2578828 100644
--- a/services/web/frontend/stylesheets/components/beta-badges.less
+++ b/services/web/frontend/stylesheets/components/beta-badges.less
@@ -25,6 +25,11 @@
}
}
+.info-badge-fade-bg {
+ .info-badge;
+ background-color: rgba(0, 0, 0, 0.25);
+}
+
.beta-badge {
background-color: @orange;
border-radius: @border-radius-base;
diff --git a/services/web/locales/en.json b/services/web/locales/en.json
index 4d79e8207b..511b878480 100644
--- a/services/web/locales/en.json
+++ b/services/web/locales/en.json
@@ -1,11 +1,11 @@
{
+ "logs_pane_info_message": "We are testing a new logs pane",
+ "logs_pane_info_message_popup": "We are testing a new logs pane. Click here to give feedback.",
"github_symlink_error": "Your Github repository contains symbolic link files, which are not currently supported by Overleaf. Please remove these and try again.",
"address_line_1": "Address",
"address_line_2": "Address (line 2, optional)",
"postal_code": "Postal Code",
"reload_editor": "Reload editor",
- "logs_pane_beta_message": "We are beta testing a new logs pane",
- "logs_pane_beta_message_popup": "We are beta testing a new logs pane. Click here to give feedback and manage your beta program membership.",
"compile_error_description": "This project did not compile because of an error",
"validation_issue_description": "This project did not compile because of a validation issue",
"compile_error_entry_description": "An error which prevented this project from compiling",
@@ -1374,4 +1374,4 @@
"your_affiliation_is_confirmed": "Your <0>__institutionName__0> affiliation is confirmed.",
"thank_you": "Thank you!",
"add_email": "Add Email"
-}
+}
\ No newline at end of file