pl-fe: move panels

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-09 12:55:16 +02:00
parent 406bc01ed1
commit 09ab69af2a
14 changed files with 18 additions and 18 deletions

View file

@ -5,7 +5,7 @@ import { Column, Divider, Stack, Text } from 'pl-fe/components/ui';
import { useInstance } from 'pl-fe/hooks';
import LinkFooter from '../ui/components/link-footer';
import PromoPanel from '../ui/components/promo-panel';
import PromoPanel from '../ui/components/panels/promo-panel';
const messages = defineMessages({
heading: { id: 'column.info', defaultMessage: 'Server information' },

View file

@ -8,7 +8,7 @@ import { Spinner, Text, Widget } from 'pl-fe/components/ui';
import { useAppDispatch, useAppSelector } from 'pl-fe/hooks';
import { type AccountGalleryAttachment, getGroupGallery } from 'pl-fe/selectors';
import MediaItem from '../../account-gallery/components/media-item';
import MediaItem from '../../../account-gallery/components/media-item';
import type { Group } from 'pl-fe/normalizers';

View file

@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
import { Widget, Stack } from 'pl-fe/components/ui';
import ProfileField from './profile-field';
import ProfileField from '../profile-field';
import type { Account } from 'pl-fe/normalizers';

View file

@ -12,9 +12,9 @@ import { Icon, HStack, Stack, Text } from 'pl-fe/components/ui';
import { useAppSelector, usePlFeConfig } from 'pl-fe/hooks';
import { capitalize } from 'pl-fe/utils/strings';
import ProfileFamiliarFollowers from './profile-familiar-followers';
import ProfileField from './profile-field';
import ProfileStats from './profile-stats';
import ProfileFamiliarFollowers from '../profile-familiar-followers';
import ProfileField from '../profile-field';
import ProfileStats from '../profile-stats';
import type { Scrobble as ScrobbleEntity } from 'pl-api';
import type { Account } from 'pl-fe/normalizers';

View file

@ -8,7 +8,7 @@ import { Spinner, Text, Widget } from 'pl-fe/components/ui';
import { useAppDispatch, useAppSelector } from 'pl-fe/hooks';
import { type AccountGalleryAttachment, getAccountGallery } from 'pl-fe/selectors';
import MediaItem from '../../account-gallery/components/media-item';
import MediaItem from '../../../account-gallery/components/media-item';
import type { Account } from 'pl-fe/normalizers';

View file

@ -53,16 +53,16 @@ export const ServerInfo = lazy(() => import('pl-fe/features/server-info'));
export const Dashboard = lazy(() => import('pl-fe/features/admin'));
export const ModerationLog = lazy(() => import('pl-fe/features/admin/moderation-log'));
export const ThemeEditor = lazy(() => import('pl-fe/features/theme-editor'));
export const UserPanel = lazy(() => import('pl-fe/features/ui/components/user-panel'));
export const PromoPanel = lazy(() => import('pl-fe/features/ui/components/promo-panel'));
export const UserPanel = lazy(() => import('pl-fe/features/ui/components/panels/user-panel'));
export const PromoPanel = lazy(() => import('pl-fe/features/ui/components/panels/promo-panel'));
export const SignUpPanel = lazy(() => import('pl-fe/features/ui/components/panels/sign-up-panel'));
export const TrendsPanel = lazy(() => import('pl-fe/features/ui/components/trends-panel'));
export const ProfileInfoPanel = lazy(() => import('pl-fe/features/ui/components/profile-info-panel'));
export const ProfileMediaPanel = lazy(() => import('pl-fe/features/ui/components/profile-media-panel'));
export const ProfileFieldsPanel = lazy(() => import('pl-fe/features/ui/components/profile-fields-panel'));
export const PinnedAccountsPanel = lazy(() => import('pl-fe/features/ui/components/pinned-accounts-panel'));
export const InstanceInfoPanel = lazy(() => import('pl-fe/features/ui/components/instance-info-panel'));
export const InstanceModerationPanel = lazy(() => import('pl-fe/features/ui/components/instance-moderation-panel'));
export const TrendsPanel = lazy(() => import('pl-fe/features/ui/components/panels/trends-panel'));
export const ProfileInfoPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-info-panel'));
export const ProfileMediaPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-media-panel'));
export const ProfileFieldsPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-fields-panel'));
export const PinnedAccountsPanel = lazy(() => import('pl-fe/features/ui/components/panels/pinned-accounts-panel'));
export const InstanceInfoPanel = lazy(() => import('pl-fe/features/ui/components/panels/instance-info-panel'));
export const InstanceModerationPanel = lazy(() => import('pl-fe/features/ui/components/panels/instance-moderation-panel'));
export const LatestAccountsPanel = lazy(() => import('pl-fe/features/admin/components/latest-accounts-panel'));
export const SidebarMenu = lazy(() => import('pl-fe/components/sidebar-menu'));
export const ModalRoot = lazy(() => import('pl-fe/features/ui/components/modal-root'));
@ -77,7 +77,7 @@ export const UserIndex = lazy(() => import('pl-fe/features/admin/user-index'));
export const FederationRestrictions = lazy(() => import('pl-fe/features/federation-restrictions'));
export const Aliases = lazy(() => import('pl-fe/features/aliases'));
export const Migration = lazy(() => import('pl-fe/features/migration'));
export const WhoToFollowPanel = lazy(() => import('pl-fe/features/ui/components/who-to-follow-panel'));
export const WhoToFollowPanel = lazy(() => import('pl-fe/features/ui/components/panels/who-to-follow-panel'));
export const FollowRecommendations = lazy(() => import('pl-fe/features/follow-recommendations'));
export const Directory = lazy(() => import('pl-fe/features/directory'));
export const RegisterInvite = lazy(() => import('pl-fe/features/register-invite'));
@ -108,7 +108,7 @@ export const GroupMembershipRequests = lazy(() => import('pl-fe/features/group/g
export const GroupGallery = lazy(() => import('pl-fe/features/group/group-gallery'));
export const NewGroupPanel = lazy(() => import('pl-fe/features/ui/components/panels/new-group-panel'));
export const MyGroupsPanel = lazy(() => import('pl-fe/features/ui/components/panels/my-groups-panel'));
export const GroupMediaPanel = lazy(() => import('pl-fe/features/ui/components/group-media-panel'));
export const GroupMediaPanel = lazy(() => import('pl-fe/features/ui/components/panels/group-media-panel'));
export const NewEventPanel = lazy(() => import('pl-fe/features/ui/components/panels/new-event-panel'));
export const Announcements = lazy(() => import('pl-fe/features/admin/announcements'));
export const FollowedTags = lazy(() => import('pl-fe/features/followed-tags'));