Explorar o código

Merge pull request #19543 from overleaf/msm-remove-editor-resources

[web] Remove Editor Resources check from launchpad

GitOrigin-RevId: b5db26b26fefc07b5134d83c50dca9014ac72181
Miguel Serrano %!s(int64=2) %!d(string=hai) anos
pai
achega
a99f3a5fd6

+ 0 - 1
services/web/locales/en.json

@@ -520,7 +520,6 @@
   "editor_disconected_click_to_reconnect": "Editor disconnected, click anywhere to reconnect.",
   "editor_limit_exceeded_in_this_project": "Too many editors in this project",
   "editor_only_hide_pdf": "Editor only <0>(hide PDF)</0>",
-  "editor_resources": "Editor Resources",
   "editor_theme": "Editor theme",
   "educational_discount_applied": "40% educational discount applied!",
   "educational_discount_available_for_groups_of_ten_or_more": "The educational discount is available for groups of 10 or more",

+ 0 - 7
services/web/modules/launchpad/app/views/launchpad.pug

@@ -166,13 +166,6 @@ block content
 
 											h2 #{translate('status_checks')}
 
-											<!-- ide js -->
-											.row.row-spaced-small
-												.col-sm-5
-													| #{translate('editor_resources')}
-												.col-sm-7
-													+launchpad-check('ide')
-
 											<!-- websocket -->
 											.row.row-spaced-small
 												.col-sm-5

+ 0 - 11
services/web/modules/launchpad/frontend/js/pages/launchpad.js

@@ -75,17 +75,6 @@ function setUpStatusIndicators() {
       })
     }
   )
-
-  setUpStatusIndicator(
-    document.querySelector('[data-ol-launchpad-check="ide"]'),
-    () => {
-      return fetch(getMeta('ol-ideJsPath')).then(res => {
-        if (!res.ok) {
-          throw new Error(`Http status: ${res.status}`)
-        }
-      })
-    }
-  )
 }
 
 if (getMeta('ol-adminUserExists')) {