From 421ffdcb508e57564f826189172e8ce9bde968c8 Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Tue, 7 Oct 2025 12:52:42 +0300 Subject: [PATCH] Fix learn more url --- .../main/resources/less/synchronize-tip.less | 2 +- apps/documenteditor/main/app/controller/Toolbar.js | 12 +----------- apps/pdfeditor/main/app/controller/Toolbar.js | 14 ++------------ apps/pdfeditor/main/locale/en.json | 4 ++-- .../main/app/controller/Toolbar.js | 14 ++------------ .../main/app/controller/Toolbar.js | 14 ++------------ 6 files changed, 10 insertions(+), 50 deletions(-) diff --git a/apps/common/main/resources/less/synchronize-tip.less b/apps/common/main/resources/less/synchronize-tip.less index 2aca0dcc7d..45297ff3c7 100644 --- a/apps/common/main/resources/less/synchronize-tip.less +++ b/apps/common/main/resources/less/synchronize-tip.less @@ -14,7 +14,7 @@ padding: calc(@scaled-one-px-value-ie * 2) 6px calc(@scaled-one-px-value-ie * 4); padding: calc(@scaled-one-px-value * 2) 6px calc(@scaled-one-px-value * 4); margin-right: 6px; - border-radius: 12px; + border-radius: 4px; } } diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index a61a60e24a..77ec48b1a8 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -267,17 +267,7 @@ define([ var _main = this.getApplication().getController('Main'); this.mode = mode; this.toolbar.applyLayout(mode); - var themeid = Common.UI.Themes.currentThemeId(), - isNew = themeid==='theme-system' || themeid==='theme-white' || themeid==='theme-night', - lang = (mode.lang || 'en').toLowerCase().split(/[\-_]/)[0], - langmap = { 'es': 'https://www.onlyoffice.com/blog/es/2025/06/disponible-onlyoffice-docs-9-0', - 'pt': 'https://www.onlyoffice.com/blog/pt-br/2025/06/disponivel-onlyoffice-docs-9-0', - 'zh': 'https://www.onlyoffice.com/blog/zh-hans/2025/06/onlyoffice-docs-9-0-released', - 'fr': 'https://www.onlyoffice.com/blog/fr/2025/06/onlyoffice-docs-9-0-disponible', - 'de': 'https://www.onlyoffice.com/blog/de/2025/06/onlyoffice-docs-9-0-veroeffentlicht', - 'it': 'https://www.onlyoffice.com/blog/it/2025/06/disponibile-onlyoffice-docs-9-0', - 'ja': 'https://www.onlyoffice.com/blog/ja/2025/06/onlyoffice-docs-9-0-released'}, - url = langmap[lang] || 'https://www.onlyoffice.com/blog/2025/06/onlyoffice-docs-9-0-released'; + var url = 'https://www.onlyoffice.com/blog/2025/10/docs-9-1-released'; Common.UI.FeaturesManager.isFeatureEnabled('featuresTips', true) && Common.UI.TooltipManager.addTips({ 'commentFilter' : {name: 'help-tip-comment-filter', placement: 'bottom-right', text: this.helpCommentFilter, header: this.helpCommentFilterHeader, target: '#comments-btn-sort', maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, diff --git a/apps/pdfeditor/main/app/controller/Toolbar.js b/apps/pdfeditor/main/app/controller/Toolbar.js index 26e2eceb91..1096d9927a 100644 --- a/apps/pdfeditor/main/app/controller/Toolbar.js +++ b/apps/pdfeditor/main/app/controller/Toolbar.js @@ -181,17 +181,7 @@ define([ var _main = this.getApplication().getController('Main'); this.mode = mode; this.toolbar.applyLayout(mode); - var themeid = Common.UI.Themes.currentThemeId(), - isNew = themeid==='theme-system' || themeid==='theme-white' || themeid==='theme-night', - lang = (mode.lang || 'en').toLowerCase().split(/[\-_]/)[0], - langmap = { 'es': 'https://www.onlyoffice.com/blog/es/2025/06/disponible-onlyoffice-docs-9-0', - 'pt': 'https://www.onlyoffice.com/blog/pt-br/2025/06/disponivel-onlyoffice-docs-9-0', - 'zh': 'https://www.onlyoffice.com/blog/zh-hans/2025/06/onlyoffice-docs-9-0-released', - 'fr': 'https://www.onlyoffice.com/blog/fr/2025/06/onlyoffice-docs-9-0-disponible', - 'de': 'https://www.onlyoffice.com/blog/de/2025/06/onlyoffice-docs-9-0-veroeffentlicht', - 'it': 'https://www.onlyoffice.com/blog/it/2025/06/disponibile-onlyoffice-docs-9-0', - 'ja': 'https://www.onlyoffice.com/blog/ja/2025/06/onlyoffice-docs-9-0-released'}, - url = langmap[lang] || 'https://www.onlyoffice.com/blog/2025/06/onlyoffice-docs-9-0-released'; + var url = 'https://www.onlyoffice.com/blog/2025/10/docs-9-1-released'; Common.UI.FeaturesManager.isFeatureEnabled('featuresTips', true) && Common.UI.TooltipManager.addTips({ 'pdfCharts' : {name: 'pdfe-help-tip-pdf-charts', placement: 'bottom', offset: {x: Common.UI.isRTL() ? -30 : 30, y: 0}, text: this.helpPdfCharts, header: this.helpPdfChartsHeader, @@ -199,7 +189,7 @@ define([ 'annotRect' : {name: 'pdfe-help-tip-annot-rect', placement: 'bottom', text: this.helpAnnotRect, header: this.helpAnnotRectHeader, target: '#slot-btn-shape-comment', isNewFeature: true, maxwidth: 300, closable: false, noHighlight: true, link: {text: _main.textLearnMore, url: url}}, 'redactTab' : {name: 'help-tip-redact-tab', placement: 'bottom-right', offset: {x: Common.UI.isRTL() ? -10 : 10, y: 0}, text: this.helpRedactTab, header: this.helpRedactTabHeader, target: 'li.ribtab #red', - automove: true, maxwidth: 270, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}} + automove: true, maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}} }); Common.UI.TooltipManager.addTips({ 'refreshFile' : {text: _main.textUpdateVersion, header: _main.textUpdating, target: '#toolbar', maxwidth: 'none', showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true}, diff --git a/apps/pdfeditor/main/locale/en.json b/apps/pdfeditor/main/locale/en.json index c685a778d5..ee6729c154 100644 --- a/apps/pdfeditor/main/locale/en.json +++ b/apps/pdfeditor/main/locale/en.json @@ -1620,8 +1620,8 @@ "del_PDFE.Controllers.Toolbar.helpModernTheme": "A new visual theme has been added. You can enable it in the view settings to update the appearance of the interface.", "del_PDFE.Controllers.Toolbar.helpModernThemeHeader": "Interface theme", "del_PDFE.Controllers.Toolbar.helpOldTheme": "You can switch back to the previous theme at any time in the settings.", - "PDFE.Controllers.Toolbar.helpPdfCharts": "Insert Сharts and SmartArt to visualize data and ideas.", - "PDFE.Controllers.Toolbar.helpPdfChartsHeader": "Charts & SmartArt", + "PDFE.Controllers.Toolbar.helpPdfCharts": "Insert and edit charts and SmartArt directly in your PDF files.", + "PDFE.Controllers.Toolbar.helpPdfChartsHeader": "Charts and SmartArt in PDF", "PDFE.Controllers.Toolbar.helpAnnotRect": "Discover new annotation tools: Rectangle, Circle, Arrow, and Connected Lines.", "PDFE.Controllers.Toolbar.helpAnnotRectHeader": "New annotations", "PDFE.Controllers.Toolbar.helpRedactTab": "Safeguard sensitive information with the Redact feature, allowing you to securely remove confidential content.", diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 3e01686c21..f71c5846c0 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -294,23 +294,13 @@ define([ me = this; this.mode = mode; this.toolbar.applyLayout(mode); - var themeid = Common.UI.Themes.currentThemeId(), - isNew = themeid==='theme-system' || themeid==='theme-white' || themeid==='theme-night', - lang = (mode.lang || 'en').toLowerCase().split(/[\-_]/)[0], - langmap = { 'es': 'https://www.onlyoffice.com/blog/es/2025/06/disponible-onlyoffice-docs-9-0', - 'pt': 'https://www.onlyoffice.com/blog/pt-br/2025/06/disponivel-onlyoffice-docs-9-0', - 'zh': 'https://www.onlyoffice.com/blog/zh-hans/2025/06/onlyoffice-docs-9-0-released', - 'fr': 'https://www.onlyoffice.com/blog/fr/2025/06/onlyoffice-docs-9-0-disponible', - 'de': 'https://www.onlyoffice.com/blog/de/2025/06/onlyoffice-docs-9-0-veroeffentlicht', - 'it': 'https://www.onlyoffice.com/blog/it/2025/06/disponibile-onlyoffice-docs-9-0', - 'ja': 'https://www.onlyoffice.com/blog/ja/2025/06/onlyoffice-docs-9-0-released'}, - url = langmap[lang] || 'https://www.onlyoffice.com/blog/2025/06/onlyoffice-docs-9-0-released'; + var url = 'https://www.onlyoffice.com/blog/2025/10/docs-9-1-released'; Common.UI.FeaturesManager.isFeatureEnabled('featuresTips', true) && Common.UI.TooltipManager.addTips({ 'commentFilter' : {name: 'help-tip-comment-filter', placement: 'bottom-right', text: this.helpCommentFilter, header: this.helpCommentFilterHeader, target: '#comments-btn-sort', maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, 'masterTab' : {name: 'pe-help-tip-master-tab', placement: 'bottom-right', offset: {x: Common.UI.isRTL() ? -10 : 10, y: 0}, text: this.helpMasterTab, header: this.helpMasterTabHeader, target: 'li.ribtab #slideMaster', - automove: true, maxwidth: 270, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, + automove: true, maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, 'chartElements' : {name: 'help-tip-chart-elements', placement: 'bottom', text: this.helpChartElements, header: this.helpChartElementsHeader, target: '#id-document-holder-btn-chart-element', maxwidth: 300, automove: true, noHighlight: true, noArrow: true, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}} }); diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index a7c09d1c4a..b930166127 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -276,17 +276,7 @@ define([ var _main = this.getApplication().getController('Main'); this.mode = mode; this.toolbar.applyLayout(mode); - var themeid = Common.UI.Themes.currentThemeId(), - isNew = themeid==='theme-system' || themeid==='theme-white' || themeid==='theme-night', - lang = (mode.lang || 'en').toLowerCase().split(/[\-_]/)[0], - langmap = { 'es': 'https://www.onlyoffice.com/blog/es/2025/06/disponible-onlyoffice-docs-9-0', - 'pt': 'https://www.onlyoffice.com/blog/pt-br/2025/06/disponivel-onlyoffice-docs-9-0', - 'zh': 'https://www.onlyoffice.com/blog/zh-hans/2025/06/onlyoffice-docs-9-0-released', - 'fr': 'https://www.onlyoffice.com/blog/fr/2025/06/onlyoffice-docs-9-0-disponible', - 'de': 'https://www.onlyoffice.com/blog/de/2025/06/onlyoffice-docs-9-0-veroeffentlicht', - 'it': 'https://www.onlyoffice.com/blog/it/2025/06/disponibile-onlyoffice-docs-9-0', - 'ja': 'https://www.onlyoffice.com/blog/ja/2025/06/onlyoffice-docs-9-0-released'}, - url = langmap[lang] || 'https://www.onlyoffice.com/blog/2025/06/onlyoffice-docs-9-0-released'; + var url = 'https://www.onlyoffice.com/blog/2025/10/docs-9-1-released'; Common.UI.FeaturesManager.isFeatureEnabled('featuresTips', true) && Common.UI.TooltipManager.addTips({ 'rtlDirection' : {name: 'sse-help-tip-rtl-dir', placement: 'bottom', text: this.helpRtlDir, header: this.helpRtlDirHeader, target: '#slot-btn-direction', maxwidth: 300, automove: true, @@ -294,7 +284,7 @@ define([ 'commentFilter' : {name: 'help-tip-comment-filter', placement: 'bottom-right', text: this.helpCommentFilter, header: this.helpCommentFilterHeader, target: '#comments-btn-sort', maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, 'tableTab' : {name: 'sse-help-tip-table-tab', placement: 'bottom', offset: {x: Common.UI.isRTL() ? -10 : 10, y: 0}, text: this.helpTableTab, header: this.helpTableTabHeader, target: 'li.ribtab #tabledesign', - automove: true, maxwidth: 270, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, + automove: true, maxwidth: 300, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}}, 'chartElements' : {name: 'help-tip-chart-elements', placement: 'bottom', text: this.helpChartElements, header: this.helpChartElementsHeader, target: '#id-document-holder-btn-chart-element', maxwidth: 300, automove: true, noHighlight: true, noArrow: true, closable: false, isNewFeature: true, link: {text: _main.textLearnMore, url: url}} });