Skip to content

Commit

Permalink
feat: remove feedback from UI
Browse files Browse the repository at this point in the history
refs: SHELL-140 (#299)
  • Loading branch information
rodleyorosa authored Aug 7, 2023
1 parent 5952ded commit e263431
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 485 deletions.
8 changes: 0 additions & 8 deletions src/boot/app/default-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { size } from 'lodash';

import type { AppState, PrimaryBarView, SettingsView } from '../../../types';
import { SEARCH_APP_ID, SETTINGS_APP_ID, SHELL_APP_ID } from '../../constants';
import Feedback from '../../reporting/feedback';
import { SearchAppView } from '../../search/search-app-view';
import { AccountsSettings } from '../../settings/accounts-settings';
import GeneralSettings from '../../settings/general-settings';
Expand Down Expand Up @@ -97,12 +96,6 @@ const searchAppView = {
component: SearchAppView
};

const feedbackBoardView = {
id: 'feedback',
app: SHELL_APP_ID,
component: Feedback,
route: 'feedback'
};
export const registerDefaultViews = (t: TFunction): void => {
useAppStore.setState(
produce((s: AppState) => {
Expand All @@ -123,7 +116,6 @@ export const registerDefaultViews = (t: TFunction): void => {
s.views.appView = [searchAppView, settingsAppView];
s.views.settings = [settingsGeneralView(t), settingsAccountsView(t)];
}
s.views.board = [feedbackBoardView];
})
);
};
2 changes: 0 additions & 2 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ export const SCALING_LIMIT = {
export const LOGIN_V3_CONFIG_PATH = '/zx/login/v3/config';
export const DARK_READER_PROP_KEY = 'zappDarkreaderMode';
export const SENTRY_SHELL_DSN = 'https://0ce2448c05b94f0182c47ae52c7ff52c@feedback.zextras.tools/6';
export const SENTRY_FEEDBACK_DNS =
'https://1b6b3e2bbdc64a73bf45c72b725c56b4@feedback.zextras.tools/8';

export enum ResultLabelType {
NORMAL = 'normal',
Expand Down
2 changes: 0 additions & 2 deletions src/reporting/__mocks__/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
import * as actualFunctions from '../functions';

export const report: typeof actualFunctions.report = () => (): string => '';

export const feedback: typeof actualFunctions.feedback = (): string => '';
Loading

0 comments on commit e263431

Please sign in to comment.