refactor(imports): replace relative imports with path aliases (#2741)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-13 20:18:22 +02:00
1 parent a59b80ce11
commit 84dcf6b8a8
1834 files changed
+11601 -10725

No files matched your search

@@ -1,12 +1,12 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import {describe, expect, it} from 'vitest';
import {
type AutoAckWindowConditions,
createAutoAckWindowSnapshot,
selectAutoAckWindowCommands,
transitionAutoAckWindowSnapshot,
} from './NotificationAutoAckStateMachine';
} from '@app/features/notification/state/NotificationAutoAckStateMachine';
import {describe, expect, it} from 'vitest';
function conditions(overrides: Partial<AutoAckWindowConditions> = {}): AutoAckWindowConditions {
return {
@@ -1,13 +1,13 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import {getGuildVoiceCallExpansionKey} from '@app/features/voice/state/CompactVoiceCallHeight';
import {ChannelTypes} from '@fluxer/constants/src/ChannelConstants';
import {describe, expect, it} from 'vitest';
import {
getDirectCallFullscreenScopeKey,
isTextChatVisibleForAutoAck,
isVoiceCallFullscreenScopeForChannel,
} from './AutoAckVisibility';
} from '@app/features/notification/utils/AutoAckVisibility';
import {getGuildVoiceCallExpansionKey} from '@app/features/voice/state/CompactVoiceCallHeight';
import {ChannelTypes} from '@fluxer/constants/src/ChannelConstants';
import {describe, expect, it} from 'vitest';
describe('isTextChatVisibleForAutoAck', () => {
it('allows normal text channels to auto-ack when no fullscreen call view is active', () => {
@@ -1,7 +1,10 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import {
type MentionFilters,
messageMatchesMentionTypeFilters,
} from '@app/features/notification/utils/MentionFeedFilters';
import {describe, expect, it} from 'vitest';
import {type MentionFilters, messageMatchesMentionTypeFilters} from './MentionFeedFilters';
const DIRECT_ONLY = {mention_everyone: false, mention_roles: []};
const EVERYONE_ONLY = {mention_everyone: true, mention_roles: []};