Skip to content

Commit 7ba5aff

Browse files
authored
chore(nav-cleanup): Remove old nav sidebar code (#99716)
1 parent 71aa483 commit 7ba5aff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+21
-4840
lines changed

static/app/actionCreators/preferences.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ import PreferenceStore from 'sentry/stores/preferencesStore';
44

55
const SIDEBAR_COOKIE_KEY = 'sidebar_collapsed';
66
const COOKIE_ENABLED = '1';
7-
const COOKIE_DISABLED = '0';
8-
9-
export function hideSidebar() {
10-
PreferenceStore.hideSidebar();
11-
Cookies.set(SIDEBAR_COOKIE_KEY, COOKIE_ENABLED);
12-
}
13-
14-
export function showSidebar() {
15-
PreferenceStore.showSidebar();
16-
Cookies.set(SIDEBAR_COOKIE_KEY, COOKIE_DISABLED);
17-
}
187

198
export function loadPreferencesState() {
209
// Set initial "collapsed" state to true or false

static/app/components/onboardingWizard/sidebar.tsx

Lines changed: 0 additions & 56 deletions
This file was deleted.

static/app/components/progressRing.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,3 @@ const RingBar = styled('circle')<{
186186
const MotionRingBar = motion.create(RingBar);
187187

188188
export default ProgressRing;
189-
190-
// We export components to allow for css selectors
191-
export {RingBackground, RingBar, Text as RingText};

static/app/components/sidebar/broadcasts.spec.tsx

Lines changed: 0 additions & 88 deletions
This file was deleted.

static/app/components/sidebar/broadcasts.tsx

Lines changed: 0 additions & 135 deletions
This file was deleted.

static/app/components/sidebar/constants.tsx

Lines changed: 0 additions & 4 deletions
This file was deleted.

static/app/components/sidebar/expandedContextProvider.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)