Procházet zdrojové kódy

Remove PDF Detach badge and survey (#9272)

GitOrigin-RevId: bdfd90a7db214e4fddd1c3ba6cc888ae6d3515a2
Alf Eaton před 4 roky
rodič
revize
ac64394b49

+ 0 - 24
services/web/frontend/js/features/editor-navigation-toolbar/components/layout-dropdown-button.js

@@ -155,13 +155,6 @@ function LayoutDropdownButton() {
         <Dropdown.Toggle className="btn-full-height" bsStyle="link">
         <Dropdown.Toggle className="btn-full-height" bsStyle="link">
           {processing ? <IconRefresh /> : <IconLayout />}
           {processing ? <IconRefresh /> : <IconLayout />}
           <span className="toolbar-label">{t('layout')}</span>
           <span className="toolbar-label">{t('layout')}</span>
-          <Tooltip
-            id="pdf-detach-badge"
-            description="New feature"
-            overlayProps={{ placement: 'bottom', delayHide: 100 }}
-          >
-            <span className="info-badge" />
-          </Tooltip>
         </Dropdown.Toggle>
         </Dropdown.Toggle>
         <Dropdown.Menu className="layout-dropdown-list">
         <Dropdown.Menu className="layout-dropdown-list">
           <LayoutMenuItem
           <LayoutMenuItem
@@ -240,23 +233,6 @@ function LayoutDropdownButton() {
           ) : (
           ) : (
             <DetachDisabled />
             <DetachDisabled />
           )}
           )}
-
-          <MenuItem divider />
-          <div className="pdf-detach-survey">
-            <span>
-              <span className="info-badge" />
-            </span>
-            <span className="pdf-detach-survey-text">
-              The Layout menu and opening the PDF in a new tab are new features.{' '}
-              <a
-                href="https://docs.google.com/forms/d/1fhc2LUMoun9jXvz9Nd6KkIKAQ8ZBfVZm_w8BpinpWu4"
-                target="_blank"
-                rel="noopener noreferrer"
-              >
-                {t('give_feedback')}.
-              </a>
-            </span>
-          </div>
         </Dropdown.Menu>
         </Dropdown.Menu>
       </ControlledDropdown>
       </ControlledDropdown>
     </>
     </>

+ 0 - 10
services/web/frontend/stylesheets/components/dropdowns.less

@@ -342,16 +342,6 @@ button.dropdown-toggle.dropdown-toggle-no-background {
     }
     }
   }
   }
 
 
-  .pdf-detach-survey {
-    display: flex;
-    font-size: @font-size-small;
-  }
-
-  .pdf-detach-survey-text {
-    margin-left: @margin-sm;
-    white-space: normal;
-  }
-
   .layout-dropdown-list {
   .layout-dropdown-list {
     a {
     a {
       i {
       i {