Bug 1751899 - [devtools] Remove compatibility panel Feedback button. r=Honza.

Differential Revision: https://phabricator.services.mozilla.com/D136996
This commit is contained in:
Nicolas Chevobbe 2022-01-26 12:46:44 +00:00
Родитель 3e39889642
Коммит c72e9161e6
3 изменённых файлов: 0 добавлений и 48 удалений

Просмотреть файл

@ -19,17 +19,6 @@ const {
updateSettingsVisibility,
} = require("devtools/client/inspector/compatibility/actions/compatibility");
loader.lazyRequireGetter(
this,
"openDocLink",
"devtools/client/shared/link",
true
);
const FEEDBACK_LINK =
"https://docs.google.com/forms/d/e/1FAIpQLSeevOHveQ1tDuKYY5Fxyb3vvbKKumdLWUT5-RuwJWoAAOST5g/viewform";
const REPORT_ICON = "chrome://devtools/skin/images/report.svg";
const SETTINGS_ICON = "chrome://devtools/skin/images/settings.svg";
class Footer extends PureComponent {
@ -80,12 +69,6 @@ class Footer extends PureComponent {
"compatibility-settings-button-label",
"compatibility-settings-button-title",
this.props.updateSettingsVisibility
),
this._renderButton(
REPORT_ICON,
"compatibility-feedback-button-label",
"compatibility-feedback-button-title",
() => openDocLink(FEEDBACK_LINK)
)
);
}

Просмотреть файл

@ -32,33 +32,5 @@ exports[`Footer component renders 1`] = `
</Localized>
</button>
</Localized>
<Localized
attrs={
Object {
"title": true,
}
}
id="compatibility-feedback-button-title"
>
<button
className="compatibility-footer__button"
onClick={[Function]}
title="compatibility-feedback-button-title"
>
<img
className="compatibility-footer__icon"
src="chrome://devtools/skin/images/report.svg"
/>
<Localized
id="compatibility-feedback-button-label"
>
<label
className="compatibility-footer__label"
>
compatibility-feedback-button-label
</label>
</Localized>
</button>
</Localized>
</footer>
`;

Просмотреть файл

@ -22,9 +22,6 @@ compatibility-issue-deprecated-experimental-prefixneeded = (deprecated, experime
compatibility-settings-button-label = Settings
compatibility-settings-button-title =
.title = Settings
compatibility-feedback-button-label = Feedback
compatibility-feedback-button-title =
.title = Feedback
## Messages used as headers in settings pane