Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions static/app/components/activity/note/inputWithStorage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type {MentionChangeEvent} from 'sentry/components/activity/note/types';
import type {NoteType} from 'sentry/types/alerts';
import {localStorageWrapper} from 'sentry/utils/localStorage';
import {StreamlinedNoteInput} from 'sentry/views/issueDetails/streamline/sidebar/note';
import {useHasStreamlinedUI} from 'sentry/views/issueDetails/utils';

type InputProps = React.ComponentProps<typeof NoteInput>;

Expand Down Expand Up @@ -61,7 +60,6 @@ function NoteInputWithStorage({
source,
...props
}: Props) {
const hasStreamlinedUi = useHasStreamlinedUI();
const value = useMemo(() => {
if (text) {
return text;
Expand Down Expand Up @@ -137,7 +135,7 @@ function NoteInputWithStorage({
);

// Make sure `this.props` does not override `onChange` and `onCreate`
if (hasStreamlinedUi && source === 'issue-details') {
if (source === 'issue-details') {
return (
<StreamlinedNoteInput
text={value}
Expand Down
78 changes: 0 additions & 78 deletions static/app/components/archivedBox.spec.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions static/app/components/archivedBox.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {DateTime} from 'sentry/components/dateTime';
import {Duration} from 'sentry/components/duration';
import {BannerContainer, BannerSummary} from 'sentry/components/events/styles';
import {t} from 'sentry/locale';
import type {Group, IgnoredStatusDetails} from 'sentry/types/group';
import {GroupSubstatus} from 'sentry/types/group';
Expand Down Expand Up @@ -58,13 +57,3 @@ export function renderArchiveReason({substatus, statusDetails}: ArchivedBoxProps

return t('This issue has been archived forever.');
}

export function ArchivedBox({substatus, statusDetails}: ArchivedBoxProps) {
return (
<BannerContainer priority="default">
<BannerSummary>
<span>{renderArchiveReason({substatus, statusDetails})}</span>
</BannerSummary>
</BannerContainer>
);
}
45 changes: 0 additions & 45 deletions static/app/components/errors/groupEventDetailsLoadingError.tsx

This file was deleted.

Loading
Loading