Deprecate admin advisor (#26045)
* Deprecate admin advisor * Webapp portion * More webapp deprecation * More cleanup * Linting * emoved metric ack dialog from annoucenemet bar * Cleanued up uninsed i18n strings * Updated test * fixed types * Updating server test * Updated i18n * Updated cypress test: * Updated cypress test: --------- Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dc8fc773dc
Коммит
e9b9d4ff60
@@ -2517,20 +2517,6 @@ export default class Client4 {
|
||||
);
|
||||
};
|
||||
|
||||
getWarnMetricsStatus = async () => {
|
||||
return this.doFetch(
|
||||
`${this.getBaseRoute()}/warn_metrics/status`,
|
||||
{method: 'get'},
|
||||
);
|
||||
};
|
||||
|
||||
sendWarnMetricAck = async (warnMetricId: string, forceAckVal: boolean) => {
|
||||
return this.doFetch(
|
||||
`${this.getBaseRoute()}/warn_metrics/ack/${encodeURI(warnMetricId)}`,
|
||||
{method: 'post', body: JSON.stringify({forceAck: forceAckVal})},
|
||||
);
|
||||
}
|
||||
|
||||
setFirstAdminVisitMarketplaceStatus = async () => {
|
||||
return this.doFetch<StatusOK>(
|
||||
`${this.getPluginsRoute()}/marketplace/first_admin_visit`,
|
||||
|
||||
@@ -9,7 +9,6 @@ export type GeneralState = {
|
||||
firstAdminCompleteSetup: boolean;
|
||||
license: ClientLicense;
|
||||
serverVersion: string;
|
||||
warnMetricsStatus: Record<string, WarnMetricStatus>;
|
||||
};
|
||||
|
||||
export type SystemSetting = {
|
||||
|
||||
Ссылка в новой задаче
Block a user