diff --git a/packages/pl-fe/src/actions/events.ts b/packages/pl-fe/src/actions/events.ts index 8e7021e79..80fcba082 100644 --- a/packages/pl-fe/src/actions/events.ts +++ b/packages/pl-fe/src/actions/events.ts @@ -1,7 +1,6 @@ import { defineMessages } from 'react-intl'; import { getClient } from 'pl-fe/api'; -import { useModalsStore } from 'pl-fe/stores/modals'; import toast from 'pl-fe/toast'; import { importEntities } from './importer'; @@ -131,7 +130,6 @@ const submitEvent = ({ ? getClient(state).events.createEvent(params) : getClient(state).events.editEvent(statusId, params) ).then((data) => { - useModalsStore.getState().closeModal('COMPOSE_EVENT'); dispatch(importEntities({ statuses: [data] })); dispatch(submitEventSuccess(data)); toast.success( @@ -141,6 +139,8 @@ const submitEvent = ({ actionLink: `/@${data.account.acct}/events/${data.id}`, }, ); + + return data; }).catch((error) => { dispatch(submitEventFail(error)); }); @@ -446,9 +446,7 @@ interface EventFormSetAction { text: string; } -const editEvent = (statusId: string) => (dispatch: AppDispatch, getState: () => RootState) => { - const status = getState().statuses.get(statusId)!; - +const initEventEdit = (statusId: string) => (dispatch: AppDispatch, getState: () => RootState) => { dispatch({ type: STATUS_FETCH_SOURCE_REQUEST, statusId }); return getClient(getState()).statuses.getStatusSource(statusId).then(response => { @@ -458,11 +456,7 @@ const editEvent = (statusId: string) => (dispatch: AppDispatch, getState: () => composeId: `compose-event-modal-${statusId}`, text: response.text, }); - useModalsStore.getState().openModal('COMPOSE_EVENT', { - status, - statusText: response.text, - location: response.location || undefined, - }); + return response; }).catch(error => { dispatch({ type: STATUS_FETCH_SOURCE_FAIL, statusId, error }); }); @@ -592,7 +586,7 @@ export { rejectEventParticipationRequestFail, fetchEventIcs, cancelEventCompose, - editEvent, + initEventEdit, fetchRecentEvents, fetchJoinedEvents, type EventsAction, diff --git a/packages/pl-fe/src/components/event-preview.tsx b/packages/pl-fe/src/components/event-preview.tsx index 81692d410..3d457cbad 100644 --- a/packages/pl-fe/src/components/event-preview.tsx +++ b/packages/pl-fe/src/components/event-preview.tsx @@ -42,7 +42,7 @@ const EventPreview: React.FC = ({ status, className, hideAction, diff --git a/packages/pl-fe/src/components/modal-root.tsx b/packages/pl-fe/src/components/modal-root.tsx index d0e1f57d4..3462e1394 100644 --- a/packages/pl-fe/src/components/modal-root.tsx +++ b/packages/pl-fe/src/components/modal-root.tsx @@ -26,14 +26,6 @@ const checkComposeContent = (compose?: ReturnType) => compose.poll !== null, ].some(check => check === true); -// const checkEventComposeContent = (compose?: ReturnType) => -// !!compose && [ -// compose.name.length > 0, -// compose.status.length > 0, -// compose.location !== null, -// compose.banner !== null, -// ].some(check => check === true); - interface IModalRoot { onCancel?: () => void; onClose: (type?: ModalType) => void; @@ -69,7 +61,6 @@ const ModalRoot: React.FC = ({ children, onCancel, onClose, type }) dispatch((_, getState) => { const compose = getState().compose.get('compose-modal'); const hasComposeContent = checkComposeContent(compose); - // const hasEventComposeContent = checkEventComposeContent(getState().compose_event); if (hasComposeContent && type === 'COMPOSE') { const isEditing = compose!.id !== null; @@ -95,26 +86,7 @@ const ModalRoot: React.FC = ({ children, onCancel, onClose, type }) dispatch(cancelReplyCompose()); }, }); - // TODO: restore this functionality - // } else if (hasEventComposeContent && type === 'COMPOSE_EVENT') { - // const isEditing = getState().compose_event.id !== null; - // openModal('CONFIRM', { - // heading: isEditing - // ? - // : , - // message: isEditing - // ? - // : , - // confirm: intl.formatMessage(isEditing ? messages.cancelEditing : messages.confirm), - // onConfirm: () => { - // onClose('COMPOSE_EVENT'); - // dispatch(cancelEventCompose()); - // }, - // onCancel: () => { - // onClose('CONFIRM'); - // }, - // }); - } else if ((hasComposeContent/* || hasEventComposeContent */) && type === 'CONFIRM') { + } else if (hasComposeContent && type === 'CONFIRM') { onClose('CONFIRM'); } else { onClose(); diff --git a/packages/pl-fe/src/components/status-action-bar.tsx b/packages/pl-fe/src/components/status-action-bar.tsx index a1391d39b..3ab66e679 100644 --- a/packages/pl-fe/src/components/status-action-bar.tsx +++ b/packages/pl-fe/src/components/status-action-bar.tsx @@ -7,7 +7,6 @@ import { createSelector } from 'reselect'; import { blockAccount } from 'pl-fe/actions/accounts'; import { directCompose, mentionCompose, quoteCompose, replyCompose } from 'pl-fe/actions/compose'; import { emojiReact, unEmojiReact } from 'pl-fe/actions/emoji-reacts'; -import { editEvent } from 'pl-fe/actions/events'; import { toggleBookmark, toggleDislike, toggleFavourite, togglePin, toggleReblog } from 'pl-fe/actions/interactions'; import { deleteStatusModal, toggleStatusSensitivityModal } from 'pl-fe/actions/moderation'; import { initMuteModal } from 'pl-fe/actions/mutes'; @@ -648,7 +647,7 @@ const MenuButton: React.FC = ({ }; const handleEditClick: React.EventHandler = () => { - if (status.event) dispatch(editEvent(status.id)); + if (status.event) history.push(`/@${status.account.acct}/events/${status.id}/edit`); else dispatch(editStatus(status.id)); }; diff --git a/packages/pl-fe/src/features/ui/components/modals/compose-event-modal/upload-button.tsx b/packages/pl-fe/src/features/compose-event/components/upload-button.tsx similarity index 100% rename from packages/pl-fe/src/features/ui/components/modals/compose-event-modal/upload-button.tsx rename to packages/pl-fe/src/features/compose-event/components/upload-button.tsx diff --git a/packages/pl-fe/src/features/compose-event/index.tsx b/packages/pl-fe/src/features/compose-event/index.tsx new file mode 100644 index 000000000..2e3d300d2 --- /dev/null +++ b/packages/pl-fe/src/features/compose-event/index.tsx @@ -0,0 +1,67 @@ +import React, { useEffect, useState } from 'react'; +import { defineMessages, useIntl } from 'react-intl'; + +import { cancelEventCompose } from 'pl-fe/actions/events'; +import Column from 'pl-fe/components/ui/column'; +import Stack from 'pl-fe/components/ui/stack'; +import Tabs from 'pl-fe/components/ui/tabs'; +import { useAppDispatch } from 'pl-fe/hooks/use-app-dispatch'; + +import { EditEvent } from './tabs/edit-event'; +import { ManagePendingParticipants } from './tabs/manage-pending-participants'; + +const messages = defineMessages({ + manageEvent: { id: 'navigation_bar.manage_event', defaultMessage: 'Manage event' }, + createEvent: { id: 'navigation_bar.create_event', defaultMessage: 'Create new event' }, + edit: { id: 'compose_event.tabs.edit', defaultMessage: 'Edit details' }, + pending: { id: 'compose_event.tabs.pending', defaultMessage: 'Manage requests' }, +}); + +type RouteParams = { + statusId?: string; +}; + +interface IComposeEvent { + params: RouteParams; +} + +const ComposeEvent: React.FC = ({ params }) => { + const intl = useIntl(); + const dispatch = useAppDispatch(); + + const statusId = params.statusId || null; + + const [tab, setTab] = useState<'edit' | 'pending'>('edit'); + + useEffect(() => () => { + dispatch(cancelEventCompose()); + }, [statusId]); + + const renderTabs = () => { + const items = [ + { + text: intl.formatMessage(messages.edit), + action: () => setTab('edit'), + name: 'edit', + }, + { + text: intl.formatMessage(messages.pending), + action: () => setTab('pending'), + name: 'pending', + }, + ]; + + return ; + }; + + return ( + + + {statusId && renderTabs()} + {tab === 'edit' ? : } + + + ); +}; + +export { ComposeEvent as default }; diff --git a/packages/pl-fe/src/features/ui/components/modals/compose-event-modal/index.tsx b/packages/pl-fe/src/features/compose-event/tabs/edit-event.tsx similarity index 61% rename from packages/pl-fe/src/features/ui/components/modals/compose-event-modal/index.tsx rename to packages/pl-fe/src/features/compose-event/tabs/edit-event.tsx index 34798bed5..19b3a374d 100644 --- a/packages/pl-fe/src/features/ui/components/modals/compose-event-modal/index.tsx +++ b/packages/pl-fe/src/features/compose-event/tabs/edit-event.tsx @@ -1,42 +1,38 @@ -import React, { useEffect, useState } from 'react'; +import React, { useCallback, useEffect, useState } from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; +import { useHistory } from 'react-router-dom'; import { resetCompose } from 'pl-fe/actions/compose'; import { - submitEvent, - fetchEventParticipationRequests, - rejectEventParticipationRequest, - authorizeEventParticipationRequest, cancelEventCompose, + initEventEdit, + submitEvent, } from 'pl-fe/actions/events'; import { uploadFile } from 'pl-fe/actions/media'; +import { fetchStatus } from 'pl-fe/actions/statuses'; import { ADDRESS_ICONS } from 'pl-fe/components/autosuggest-location'; import LocationSearch from 'pl-fe/components/location-search'; import Button from 'pl-fe/components/ui/button'; import Form from 'pl-fe/components/ui/form'; +import FormActions from 'pl-fe/components/ui/form-actions'; import FormGroup from 'pl-fe/components/ui/form-group'; import HStack from 'pl-fe/components/ui/hstack'; import Icon from 'pl-fe/components/ui/icon'; import IconButton from 'pl-fe/components/ui/icon-button'; import Input from 'pl-fe/components/ui/input'; -import Modal from 'pl-fe/components/ui/modal'; -import Spinner from 'pl-fe/components/ui/spinner'; import Stack from 'pl-fe/components/ui/stack'; -import Tabs from 'pl-fe/components/ui/tabs'; import Text from 'pl-fe/components/ui/text'; import Toggle from 'pl-fe/components/ui/toggle'; -import AccountContainer from 'pl-fe/containers/account-container'; import { isCurrentOrFutureDate } from 'pl-fe/features/compose/components/schedule-form'; import { ComposeEditor, DatePicker } from 'pl-fe/features/ui/util/async-components'; import { useAppDispatch } from 'pl-fe/hooks/use-app-dispatch'; import { useAppSelector } from 'pl-fe/hooks/use-app-selector'; -import { useModalsStore } from 'pl-fe/stores/modals'; +import { makeGetStatus } from 'pl-fe/selectors'; +import toast from 'pl-fe/toast'; -import UploadButton from './upload-button'; +import UploadButton from '../components/upload-button'; -import type { BaseModalProps } from '../../modal-root'; import type { Location } from 'pl-api'; -import type { MinifiedStatus } from 'pl-fe/reducers/statuses'; const messages = defineMessages({ eventNamePlaceholder: { id: 'compose_event.fields.name_placeholder', defaultMessage: 'Name' }, @@ -44,86 +40,32 @@ const messages = defineMessages({ eventStartTimePlaceholder: { id: 'compose_event.fields.start_time_placeholder', defaultMessage: 'Event begins on…' }, eventEndTimePlaceholder: { id: 'compose_event.fields.end_time_placeholder', defaultMessage: 'Event ends on…' }, resetLocation: { id: 'compose_event.reset_location', defaultMessage: 'Reset location' }, - edit: { id: 'compose_event.tabs.edit', defaultMessage: 'Edit details' }, - pending: { id: 'compose_event.tabs.pending', defaultMessage: 'Manage requests' }, - authorize: { id: 'compose_event.participation_requests.authorize', defaultMessage: 'Authorize' }, - reject: { id: 'compose_event.participation_requests.reject', defaultMessage: 'Reject' }, - confirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' }, - cancelEditing: { id: 'confirmations.cancel_editing.confirm', defaultMessage: 'Cancel editing' }, + eventFetchFail: { id: 'compose_event.fetch_fail', defaultMessage: 'Failed to fetch edited event information' }, }); -interface IAccount { - eventId: string; - id: string; - participationMessage: string | null; +interface IEditEvent { + statusId: string | null; } -const Account: React.FC = ({ eventId, id, participationMessage }) => { +const EditEvent: React.FC = ({ statusId }) => { const intl = useIntl(); const dispatch = useAppDispatch(); + const history = useHistory(); - const handleAuthorize = () => { - dispatch(authorizeEventParticipationRequest(eventId, id)); - }; - - const handleReject = () => { - dispatch(rejectEventParticipationRequest(eventId, id)); - }; - - return ( - - + ); - else body = accounts ? ( - - {accounts.size > 0 ? ( - accounts.map(({ account, participation_message }) => - , - ) - ) : ( - - )} - - ) : ; - - return ( - - : } - confirmationAction={tab === 'edit' ? handleSubmit : undefined} - confirmationText={statusId - ? - : } - confirmationDisabled={isSubmitting} - onClose={onClickClose} - > - - {statusId && renderTabs()} - {body} - - - ); }; -export { ComposeEventModal as default, type ComposeEventModalProps }; +export { EditEvent }; diff --git a/packages/pl-fe/src/features/compose-event/tabs/manage-pending-participants.tsx b/packages/pl-fe/src/features/compose-event/tabs/manage-pending-participants.tsx new file mode 100644 index 000000000..b38198e10 --- /dev/null +++ b/packages/pl-fe/src/features/compose-event/tabs/manage-pending-participants.tsx @@ -0,0 +1,98 @@ +import React, { useEffect } from 'react'; +import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; + +import { + fetchEventParticipationRequests, + rejectEventParticipationRequest, + authorizeEventParticipationRequest, + cancelEventCompose, +} from 'pl-fe/actions/events'; +import ScrollableList from 'pl-fe/components/scrollable-list'; +import Button from 'pl-fe/components/ui/button'; +import HStack from 'pl-fe/components/ui/hstack'; +import Spinner from 'pl-fe/components/ui/spinner'; +import Stack from 'pl-fe/components/ui/stack'; +import AccountContainer from 'pl-fe/containers/account-container'; +import { useAppDispatch } from 'pl-fe/hooks/use-app-dispatch'; +import { useAppSelector } from 'pl-fe/hooks/use-app-selector'; + +const messages = defineMessages({ + authorize: { id: 'compose_event.participation_requests.authorize', defaultMessage: 'Authorize' }, + reject: { id: 'compose_event.participation_requests.reject', defaultMessage: 'Reject' }, +}); + +interface IAccount { + eventId: string; + id: string; + participationMessage: string | null; +} + +const Account: React.FC = ({ eventId, id, participationMessage }) => { + const intl = useIntl(); + const dispatch = useAppDispatch(); + + const handleAuthorize = () => { + dispatch(authorizeEventParticipationRequest(eventId, id)); + }; + + const handleReject = () => { + dispatch(rejectEventParticipationRequest(eventId, id)); + }; + + return ( + + diff --git a/packages/pl-fe/src/features/events/index.tsx b/packages/pl-fe/src/features/events/index.tsx index 764edbd41..02a52bfea 100644 --- a/packages/pl-fe/src/features/events/index.tsx +++ b/packages/pl-fe/src/features/events/index.tsx @@ -8,7 +8,6 @@ import Column from 'pl-fe/components/ui/column'; import HStack from 'pl-fe/components/ui/hstack'; import { useAppDispatch } from 'pl-fe/hooks/use-app-dispatch'; import { useAppSelector } from 'pl-fe/hooks/use-app-selector'; -import { useModalsStore } from 'pl-fe/stores/modals'; import EventCarousel from './components/event-carousel'; @@ -19,7 +18,6 @@ const messages = defineMessages({ const Events = () => { const intl = useIntl(); - const { openModal } = useModalsStore(); const dispatch = useAppDispatch(); const recentEvents = useAppSelector((state) => state.status_lists.get('recent_events')!.items); @@ -27,10 +25,6 @@ const Events = () => { const joinedEvents = useAppSelector((state) => state.status_lists.get('joined_events')!.items); const joinedEventsLoading = useAppSelector((state) => state.status_lists.get('joined_events')!.isLoading); - const onComposeEvent = () => { - openModal('COMPOSE_EVENT'); - }; - useEffect(() => { dispatch(fetchRecentEvents()); dispatch(fetchJoinedEvents()); @@ -40,12 +34,7 @@ const Events = () => { } /> - diff --git a/packages/pl-fe/src/features/ui/components/modal-root.tsx b/packages/pl-fe/src/features/ui/components/modal-root.tsx index 95e892954..e563c34e1 100644 --- a/packages/pl-fe/src/features/ui/components/modal-root.tsx +++ b/packages/pl-fe/src/features/ui/components/modal-root.tsx @@ -1,7 +1,6 @@ import React, { Suspense, lazy } from 'react'; import { cancelReplyCompose } from 'pl-fe/actions/compose'; -import { cancelEventCompose } from 'pl-fe/actions/events'; import Base from 'pl-fe/components/modal-root'; import { useAppDispatch } from 'pl-fe/hooks/use-app-dispatch'; import { useModalsStore } from 'pl-fe/stores/modals'; @@ -16,7 +15,6 @@ const MODAL_COMPONENTS = { COMPARE_HISTORY: lazy(() => import('pl-fe/features/ui/components/modals/compare-history-modal')), COMPONENT: lazy(() => import('pl-fe/features/ui/components/modals/component-modal')), COMPOSE: lazy(() => import('pl-fe/features/ui/components/modals/compose-modal')), - COMPOSE_EVENT: lazy(() => import('pl-fe/features/ui/components/modals/compose-event-modal')), CONFIRM: lazy(() => import('pl-fe/features/ui/components/modals/confirmation-modal')), CREATE_GROUP: lazy(() => import('pl-fe/features/ui/components/modals/manage-group-modal')), CRYPTO_DONATE: lazy(() => import('pl-fe/features/ui/components/modals/crypto-donate-modal')), @@ -69,9 +67,6 @@ const ModalRoot: React.FC = () => { case 'COMPOSE': dispatch(cancelReplyCompose()); break; - case 'COMPOSE_EVENT': - dispatch(cancelEventCompose()); - break; default: break; } diff --git a/packages/pl-fe/src/features/ui/components/panels/new-event-panel.tsx b/packages/pl-fe/src/features/ui/components/panels/new-event-panel.tsx index d94c2db9e..895b03079 100644 --- a/packages/pl-fe/src/features/ui/components/panels/new-event-panel.tsx +++ b/packages/pl-fe/src/features/ui/components/panels/new-event-panel.tsx @@ -4,37 +4,28 @@ import { FormattedMessage } from 'react-intl'; import Button from 'pl-fe/components/ui/button'; import Stack from 'pl-fe/components/ui/stack'; import Text from 'pl-fe/components/ui/text'; -import { useModalsStore } from 'pl-fe/stores/modals'; -const NewEventPanel = () => { - const { openModal } = useModalsStore(); +const NewEventPanel = () => ( + + + + + - const createEvent = () => { - openModal('COMPOSE_EVENT'); - }; - - return ( - - - - - - - - - - - - + + + - ); -}; + + + +); export { NewEventPanel as default }; diff --git a/packages/pl-fe/src/features/ui/index.tsx b/packages/pl-fe/src/features/ui/index.tsx index a9f574d23..b408afa98 100644 --- a/packages/pl-fe/src/features/ui/index.tsx +++ b/packages/pl-fe/src/features/ui/index.tsx @@ -1,9 +1,9 @@ import clsx from 'clsx'; import React, { Suspense, lazy, useEffect, useRef } from 'react'; -import { Switch, useHistory, useLocation, Redirect } from 'react-router-dom'; +import { Redirect, Switch, useHistory, useLocation } from 'react-router-dom'; import { fetchFollowRequests } from 'pl-fe/actions/accounts'; -import { fetchReports, fetchUsers, fetchConfig } from 'pl-fe/actions/admin'; +import { fetchConfig, fetchReports, fetchUsers } from 'pl-fe/actions/admin'; import { fetchCustomEmojis } from 'pl-fe/actions/custom-emojis'; import { fetchDraftStatuses } from 'pl-fe/actions/draft-statuses'; import { fetchFilters } from 'pl-fe/actions/filters'; @@ -47,98 +47,99 @@ import { isStandalone } from 'pl-fe/utils/state'; import BackgroundShapes from './components/background-shapes'; import { - Status, - CommunityTimeline, - PublicTimeline, - RemoteTimeline, - AccountTimeline, + AboutPage, AccountGallery, - HomeTimeline, - Followers, - Following, - Conversations, - HashtagTimeline, - Notifications, - FollowRequests, - GenericNotFound, - FavouritedStatuses, - Blocks, - DomainBlocks, - Mutes, - Filters, - EditFilter, - PinnedStatuses, - Search, - ListTimeline, - Lists, - Bookmarks, - Settings, - EditProfile, - EditEmail, - EditPassword, - DeleteAccount, - PlFeConfig, - ExportData, - ImportData, + AccountHoverCard, + AccountTimeline, + Aliases, + Announcements, + AuthTokenList, Backups, - MfaForm, + Blocks, + BookmarkFolders, + Bookmarks, + BubbleTimeline, ChatIndex, ChatWidget, - ServerInfo, - Dashboard, - ModerationLog, - CryptoDonate, - ScheduledStatuses, - UserIndex, - FederationRestrictions, - Aliases, - Migration, - FollowRecommendations, - Directory, - SidebarMenu, - AccountHoverCard, - StatusHoverCard, - Share, - NewStatus, - IntentionalError, - Developers, - CreateApp, - SettingsStore, - TestTimeline, - LogoutPage, - AuthTokenList, - ThemeEditor, - Quotes, - ServiceWorkerInfo, - EventInformation, - EventDiscussion, - Events, - GroupGallery, - Groups, - GroupMembers, - GroupTimeline, - ManageGroup, - GroupBlockedMembers, - GroupMembershipRequests, - Announcements, - EditGroup, - FollowedTags, - AboutPage, - RegistrationPage, - LoginPage, - PasswordReset, - RegisterInvite, - ExternalLogin, - LandingTimeline, - BookmarkFolders, - Domains, - Relays, - Rules, - DraftStatuses, Circle, - BubbleTimeline, + CommunityTimeline, + ComposeEvent, + Conversations, + CreateApp, + CryptoDonate, + Dashboard, + DeleteAccount, + Developers, + Directory, + DomainBlocks, + Domains, + DraftStatuses, + EditEmail, + EditFilter, + EditGroup, + EditPassword, + EditProfile, + EventDiscussion, + EventInformation, + Events, + ExportData, + ExternalLogin, + FavouritedStatuses, + FederationRestrictions, + Filters, + FollowRecommendations, + FollowRequests, + FollowedTags, + Followers, + Following, + GenericNotFound, + GroupBlockedMembers, + GroupGallery, + GroupMembers, + GroupMembershipRequests, + GroupTimeline, + Groups, + HashtagTimeline, + HomeTimeline, + ImportData, + IntentionalError, InteractionPolicies, InteractionRequests, + LandingTimeline, + ListTimeline, + Lists, + LoginPage, + LogoutPage, + ManageGroup, + MfaForm, + Migration, + ModerationLog, + Mutes, + NewStatus, + Notifications, + PasswordReset, + PinnedStatuses, + PlFeConfig, + PublicTimeline, + Quotes, + RegisterInvite, + RegistrationPage, + Relays, + RemoteTimeline, + Rules, + ScheduledStatuses, + Search, + ServerInfo, + ServiceWorkerInfo, + Settings, + SettingsStore, + Share, + SidebarMenu, + Status, + StatusHoverCard, + TestTimeline, + ThemeEditor, + UserIndex, } from './util/async-components'; import GlobalHotkeys from './util/global-hotkeys'; import { WrappedRoute } from './util/react-router-helpers'; @@ -241,6 +242,7 @@ const SwitchingColumnsArea: React.FC = ({ children }) => {features.suggestions && } {features.profileDirectory && } + {features.events && } {features.events && } {features.chats && } @@ -268,6 +270,7 @@ const SwitchingColumnsArea: React.FC = ({ children }) => {features.events && } + {features.events && } {features.events && } diff --git a/packages/pl-fe/src/features/ui/util/async-components.ts b/packages/pl-fe/src/features/ui/util/async-components.ts index d97ffd6f8..92bdcbec6 100644 --- a/packages/pl-fe/src/features/ui/util/async-components.ts +++ b/packages/pl-fe/src/features/ui/util/async-components.ts @@ -16,6 +16,7 @@ export const ChatIndex = lazy(() => import('pl-fe/features/chats')); export const Circle = lazy(() => import('pl-fe/features/circle')); export const CommunityTimeline = lazy(() => import('pl-fe/features/community-timeline')); export const ComposeEditor = lazy(() => import('pl-fe/features/compose/editor')); +export const ComposeEvent = lazy(() => import('pl-fe/features/compose-event')); export const Conversations = lazy(() => import('pl-fe/features/conversations')); export const CreateApp = lazy(() => import('pl-fe/features/developers/apps/create')); export const CryptoDonate = lazy(() => import('pl-fe/features/crypto-donate')); diff --git a/packages/pl-fe/src/locales/ar.json b/packages/pl-fe/src/locales/ar.json index 8bd570fbb..a99928692 100644 --- a/packages/pl-fe/src/locales/ar.json +++ b/packages/pl-fe/src/locales/ar.json @@ -1197,7 +1197,7 @@ "navigation_bar.compose": "انشاء منشور", "navigation_bar.compose_direct": "رسالة خاصة", "navigation_bar.compose_edit": "تحرير المنشور", - "navigation_bar.compose_event": "إدارة الحدث", + "navigation_bar.manage_event": "إدارة الحدث", "navigation_bar.compose_group": "النشر في المجموعة", "navigation_bar.compose_group_reply": "الرد في المجموعة", "navigation_bar.compose_quote": "اقتباس المنشور", diff --git a/packages/pl-fe/src/locales/ast.json b/packages/pl-fe/src/locales/ast.json index 7f50ec489..c61c21330 100644 --- a/packages/pl-fe/src/locales/ast.json +++ b/packages/pl-fe/src/locales/ast.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/bg.json b/packages/pl-fe/src/locales/bg.json index 18d4a5423..502aeef04 100644 --- a/packages/pl-fe/src/locales/bg.json +++ b/packages/pl-fe/src/locales/bg.json @@ -1091,7 +1091,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/bn.json b/packages/pl-fe/src/locales/bn.json index 81b73c24a..812d6ee10 100644 --- a/packages/pl-fe/src/locales/bn.json +++ b/packages/pl-fe/src/locales/bn.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "নতুন টুট লিখুন", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/br.json b/packages/pl-fe/src/locales/br.json index ff24b9c8c..bba5366e0 100644 --- a/packages/pl-fe/src/locales/br.json +++ b/packages/pl-fe/src/locales/br.json @@ -1089,7 +1089,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/bs.json b/packages/pl-fe/src/locales/bs.json index d1406b2d1..97303eb7d 100644 --- a/packages/pl-fe/src/locales/bs.json +++ b/packages/pl-fe/src/locales/bs.json @@ -1109,7 +1109,7 @@ "navigation_bar.compose": "", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/ca.json b/packages/pl-fe/src/locales/ca.json index f4c8d336b..a61c734f6 100644 --- a/packages/pl-fe/src/locales/ca.json +++ b/packages/pl-fe/src/locales/ca.json @@ -1094,7 +1094,7 @@ "navigation_bar.compose": "Redacta nou toot", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/co.json b/packages/pl-fe/src/locales/co.json index c56ecaee8..0abea8583 100644 --- a/packages/pl-fe/src/locales/co.json +++ b/packages/pl-fe/src/locales/co.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Scrive un novu statutu", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/cs.json b/packages/pl-fe/src/locales/cs.json index 4e59cec9f..e140a88d9 100644 --- a/packages/pl-fe/src/locales/cs.json +++ b/packages/pl-fe/src/locales/cs.json @@ -1097,7 +1097,7 @@ "navigation_bar.compose": "Vytvořit nový příspěvek", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/cy.json b/packages/pl-fe/src/locales/cy.json index 809788528..29ddedbab 100644 --- a/packages/pl-fe/src/locales/cy.json +++ b/packages/pl-fe/src/locales/cy.json @@ -1101,7 +1101,7 @@ "navigation_bar.compose": "Ysgrifennu neges", "navigation_bar.compose_direct": "Neges breifat", "navigation_bar.compose_edit": "Golygu'r neges", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/da.json b/packages/pl-fe/src/locales/da.json index 666718d31..be8eeb71b 100644 --- a/packages/pl-fe/src/locales/da.json +++ b/packages/pl-fe/src/locales/da.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Skriv nyt trut", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/de.json b/packages/pl-fe/src/locales/de.json index 8f453f276..efc830508 100644 --- a/packages/pl-fe/src/locales/de.json +++ b/packages/pl-fe/src/locales/de.json @@ -1141,7 +1141,7 @@ "navigation_bar.compose": "Neuen Beitrag verfassen", "navigation_bar.compose_direct": "Direktnachricht", "navigation_bar.compose_edit": "Beitrag bearbeiten", - "navigation_bar.compose_event": "Veranstaltung verwalten", + "navigation_bar.manage_event": "Veranstaltung verwalten", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Beitrag zitieren", diff --git a/packages/pl-fe/src/locales/el.json b/packages/pl-fe/src/locales/el.json index fe27dcf53..c5657f356 100644 --- a/packages/pl-fe/src/locales/el.json +++ b/packages/pl-fe/src/locales/el.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Γράψε νέο τουτ", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/en-Shaw.json b/packages/pl-fe/src/locales/en-Shaw.json index fbeedb154..9aa4dcebc 100644 --- a/packages/pl-fe/src/locales/en-Shaw.json +++ b/packages/pl-fe/src/locales/en-Shaw.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "𐑒𐑩𐑥𐑐𐑴𐑟 𐑯𐑿 𐑐𐑴𐑕𐑑", "navigation_bar.compose_direct": "𐑛𐑦𐑮𐑧𐑒𐑑 𐑥𐑧𐑕𐑦𐑡", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/en.json b/packages/pl-fe/src/locales/en.json index a5cce3830..cabef52dd 100644 --- a/packages/pl-fe/src/locales/en.json +++ b/packages/pl-fe/src/locales/en.json @@ -1089,7 +1089,7 @@ "navigation_bar.compose": "Compose a post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "Manage event", + "navigation_bar.manage_event": "Manage event", "navigation_bar.compose_group": "Compose to group", "navigation_bar.compose_group_reply": "Reply to group post", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/eo.json b/packages/pl-fe/src/locales/eo.json index 92f87af52..d65149200 100644 --- a/packages/pl-fe/src/locales/eo.json +++ b/packages/pl-fe/src/locales/eo.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Skribi novan mesaĝon", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/es-AR.json b/packages/pl-fe/src/locales/es-AR.json index 18f408006..801bebf30 100644 --- a/packages/pl-fe/src/locales/es-AR.json +++ b/packages/pl-fe/src/locales/es-AR.json @@ -1113,7 +1113,7 @@ "navigation_bar.compose": "Redactar un nuevo toot", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/es.json b/packages/pl-fe/src/locales/es.json index 1046c20b5..6eefea791 100644 --- a/packages/pl-fe/src/locales/es.json +++ b/packages/pl-fe/src/locales/es.json @@ -1200,7 +1200,7 @@ "navigation_bar.compose": "Escribir un nuevo toot", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "Administrar evento", + "navigation_bar.manage_event": "Administrar evento", "navigation_bar.compose_group": "Redactar para grupo", "navigation_bar.compose_group_reply": "Responder al mensaje del grupo", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/et.json b/packages/pl-fe/src/locales/et.json index 217406817..f4d6b3c91 100644 --- a/packages/pl-fe/src/locales/et.json +++ b/packages/pl-fe/src/locales/et.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Koosta uus tuut", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/eu.json b/packages/pl-fe/src/locales/eu.json index 0fc512e6f..6e8079614 100644 --- a/packages/pl-fe/src/locales/eu.json +++ b/packages/pl-fe/src/locales/eu.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Idatzi toot berria", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/fa.json b/packages/pl-fe/src/locales/fa.json index 4959ece74..03f0bf6ee 100644 --- a/packages/pl-fe/src/locales/fa.json +++ b/packages/pl-fe/src/locales/fa.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "نوشتن بوق تازه", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/fi.json b/packages/pl-fe/src/locales/fi.json index c1fa6a492..25964c9cc 100644 --- a/packages/pl-fe/src/locales/fi.json +++ b/packages/pl-fe/src/locales/fi.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Kirjoita uusi tuuttaus", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/fr.json b/packages/pl-fe/src/locales/fr.json index b59e560d8..90ef84a4e 100644 --- a/packages/pl-fe/src/locales/fr.json +++ b/packages/pl-fe/src/locales/fr.json @@ -1137,7 +1137,7 @@ "navigation_bar.compose": "Rédiger un nouveau toot", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "Gérer l’évènement", + "navigation_bar.manage_event": "Gérer l’évènement", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/ga.json b/packages/pl-fe/src/locales/ga.json index 6005c9812..15102f154 100644 --- a/packages/pl-fe/src/locales/ga.json +++ b/packages/pl-fe/src/locales/ga.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/gl.json b/packages/pl-fe/src/locales/gl.json index 2a95ec6d9..441919d31 100644 --- a/packages/pl-fe/src/locales/gl.json +++ b/packages/pl-fe/src/locales/gl.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Escribir novo toot", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/he.json b/packages/pl-fe/src/locales/he.json index 31e90bd53..e0fbd513c 100644 --- a/packages/pl-fe/src/locales/he.json +++ b/packages/pl-fe/src/locales/he.json @@ -1166,7 +1166,7 @@ "navigation_bar.compose": "כתוב פוסט חדש", "navigation_bar.compose_direct": "הודעה ישירה", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/hi.json b/packages/pl-fe/src/locales/hi.json index 35691d710..156fc8057 100644 --- a/packages/pl-fe/src/locales/hi.json +++ b/packages/pl-fe/src/locales/hi.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/hr.json b/packages/pl-fe/src/locales/hr.json index aabd254b0..b5244316f 100644 --- a/packages/pl-fe/src/locales/hr.json +++ b/packages/pl-fe/src/locales/hr.json @@ -1131,7 +1131,7 @@ "navigation_bar.compose": "Sastavite novu objavu", "navigation_bar.compose_direct": "Izravna poruka", "navigation_bar.compose_edit": "Uredi objavu", - "navigation_bar.compose_event": "Upravljanje događajem", + "navigation_bar.manage_event": "Upravljanje događajem", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Citiraj objavu", diff --git a/packages/pl-fe/src/locales/hu.json b/packages/pl-fe/src/locales/hu.json index d646b5ec9..a3f724780 100644 --- a/packages/pl-fe/src/locales/hu.json +++ b/packages/pl-fe/src/locales/hu.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Új tülk írása", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/hy.json b/packages/pl-fe/src/locales/hy.json index 5d80a0197..e583c97a2 100644 --- a/packages/pl-fe/src/locales/hy.json +++ b/packages/pl-fe/src/locales/hy.json @@ -1089,7 +1089,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/id.json b/packages/pl-fe/src/locales/id.json index fa03b8b20..2d6d3cdd1 100644 --- a/packages/pl-fe/src/locales/id.json +++ b/packages/pl-fe/src/locales/id.json @@ -1197,7 +1197,7 @@ "navigation_bar.compose": "Tulis toot baru", "navigation_bar.compose_direct": "Pesan Langsung", "navigation_bar.compose_edit": "Edit postingan", - "navigation_bar.compose_event": "Kelola acara", + "navigation_bar.manage_event": "Kelola acara", "navigation_bar.compose_group": "Menulis ke grup", "navigation_bar.compose_group_reply": "Membalas kiriman grup", "navigation_bar.compose_quote": "Postingan quote", diff --git a/packages/pl-fe/src/locales/io.json b/packages/pl-fe/src/locales/io.json index ff50fae44..c0f852dd2 100644 --- a/packages/pl-fe/src/locales/io.json +++ b/packages/pl-fe/src/locales/io.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/is.json b/packages/pl-fe/src/locales/is.json index 25dd6e301..6f3901901 100644 --- a/packages/pl-fe/src/locales/is.json +++ b/packages/pl-fe/src/locales/is.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Semja nýja færslu", "navigation_bar.compose_direct": "Bein skilaboð", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/it.json b/packages/pl-fe/src/locales/it.json index 70679c0d2..350ea1c0b 100644 --- a/packages/pl-fe/src/locales/it.json +++ b/packages/pl-fe/src/locales/it.json @@ -1200,7 +1200,7 @@ "navigation_bar.compose": "Pubblica qualcosa", "navigation_bar.compose_direct": "Comunica privatamente", "navigation_bar.compose_edit": "Salva modifiche", - "navigation_bar.compose_event": "Gestione evento", + "navigation_bar.manage_event": "Gestione evento", "navigation_bar.compose_group": "Scrivi nel gruppo", "navigation_bar.compose_group_reply": "Rispondi alla pubblicazione nel gruppo", "navigation_bar.compose_quote": "Citazione", diff --git a/packages/pl-fe/src/locales/ja.json b/packages/pl-fe/src/locales/ja.json index 9a6ab7d62..c738985b6 100644 --- a/packages/pl-fe/src/locales/ja.json +++ b/packages/pl-fe/src/locales/ja.json @@ -1183,7 +1183,7 @@ "navigation_bar.compose": "投稿の新規作成", "navigation_bar.compose_direct": "ダイレクトメッセージ", "navigation_bar.compose_edit": "投稿を編集", - "navigation_bar.compose_event": "イベントを管理する", + "navigation_bar.manage_event": "イベントを管理する", "navigation_bar.compose_group": "グループに投稿する", "navigation_bar.compose_group_reply": "グループの投稿に返信", "navigation_bar.compose_quote": "投稿を引用", diff --git a/packages/pl-fe/src/locales/jv.json b/packages/pl-fe/src/locales/jv.json index 0dc6efc67..178abb625 100644 --- a/packages/pl-fe/src/locales/jv.json +++ b/packages/pl-fe/src/locales/jv.json @@ -1083,7 +1083,7 @@ "navigation_bar.compose": "", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/ka.json b/packages/pl-fe/src/locales/ka.json index e15130c48..9edd9cd26 100644 --- a/packages/pl-fe/src/locales/ka.json +++ b/packages/pl-fe/src/locales/ka.json @@ -1091,7 +1091,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/kk.json b/packages/pl-fe/src/locales/kk.json index 9c838da7d..bf4a2e71b 100644 --- a/packages/pl-fe/src/locales/kk.json +++ b/packages/pl-fe/src/locales/kk.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Жаңа жазба бастау", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/ko.json b/packages/pl-fe/src/locales/ko.json index 8e09083b5..82a5862b7 100644 --- a/packages/pl-fe/src/locales/ko.json +++ b/packages/pl-fe/src/locales/ko.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "새 툿 작성", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/lt.json b/packages/pl-fe/src/locales/lt.json index ff8a3a7eb..aa9c8094c 100644 --- a/packages/pl-fe/src/locales/lt.json +++ b/packages/pl-fe/src/locales/lt.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/lv.json b/packages/pl-fe/src/locales/lv.json index 87e22cdeb..08091dcb6 100644 --- a/packages/pl-fe/src/locales/lv.json +++ b/packages/pl-fe/src/locales/lv.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/mk.json b/packages/pl-fe/src/locales/mk.json index d6c15c8c9..6565d3179 100644 --- a/packages/pl-fe/src/locales/mk.json +++ b/packages/pl-fe/src/locales/mk.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/ms.json b/packages/pl-fe/src/locales/ms.json index 041ba2315..79355326c 100644 --- a/packages/pl-fe/src/locales/ms.json +++ b/packages/pl-fe/src/locales/ms.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/nl.json b/packages/pl-fe/src/locales/nl.json index 79ba74260..618c45e78 100644 --- a/packages/pl-fe/src/locales/nl.json +++ b/packages/pl-fe/src/locales/nl.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Nieuw toot schrijven", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/nn.json b/packages/pl-fe/src/locales/nn.json index d3dcbffb5..5a02617b0 100644 --- a/packages/pl-fe/src/locales/nn.json +++ b/packages/pl-fe/src/locales/nn.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/no.json b/packages/pl-fe/src/locales/no.json index 54937b3a3..e4a6a929f 100644 --- a/packages/pl-fe/src/locales/no.json +++ b/packages/pl-fe/src/locales/no.json @@ -1166,7 +1166,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direktemeldinger", "navigation_bar.compose_edit": "Rediger innlegg", - "navigation_bar.compose_event": "Administrere arrangement", + "navigation_bar.manage_event": "Administrere arrangement", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Siter innlegg", diff --git a/packages/pl-fe/src/locales/oc.json b/packages/pl-fe/src/locales/oc.json index 7ace22b07..b396387fa 100644 --- a/packages/pl-fe/src/locales/oc.json +++ b/packages/pl-fe/src/locales/oc.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Escriure un nòu tut", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/pl.json b/packages/pl-fe/src/locales/pl.json index 24a43b61f..e32a874ae 100644 --- a/packages/pl-fe/src/locales/pl.json +++ b/packages/pl-fe/src/locales/pl.json @@ -1083,7 +1083,7 @@ "navigation_bar.compose": "Utwórz nowy wpis", "navigation_bar.compose_direct": "Wiadomość bezpośrednia", "navigation_bar.compose_edit": "Edytuj wpis", - "navigation_bar.compose_event": "Zarządzaj wydarzeniem", + "navigation_bar.manage_event": "Zarządzaj wydarzeniem", "navigation_bar.compose_group": "Utwórz wpis w grupie", "navigation_bar.compose_group_reply": "Odpowiedz na wpis w grupie", "navigation_bar.compose_quote": "Cytuj wpis", diff --git a/packages/pl-fe/src/locales/pt-BR.json b/packages/pl-fe/src/locales/pt-BR.json index 1d37f1481..1a236bb3f 100644 --- a/packages/pl-fe/src/locales/pt-BR.json +++ b/packages/pl-fe/src/locales/pt-BR.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compor um novo toot", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/pt.json b/packages/pl-fe/src/locales/pt.json index 872e3be02..177ff4150 100644 --- a/packages/pl-fe/src/locales/pt.json +++ b/packages/pl-fe/src/locales/pt.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Escrever uma nova publicação", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/ro.json b/packages/pl-fe/src/locales/ro.json index e7d8f57e6..4d45816e2 100644 --- a/packages/pl-fe/src/locales/ro.json +++ b/packages/pl-fe/src/locales/ro.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compune o nouă postare", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/ru.json b/packages/pl-fe/src/locales/ru.json index 12b5395f4..ef99698b1 100644 --- a/packages/pl-fe/src/locales/ru.json +++ b/packages/pl-fe/src/locales/ru.json @@ -1197,7 +1197,7 @@ "navigation_bar.compose": "Создать новый статус", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "Управление мероприятием", + "navigation_bar.manage_event": "Управление мероприятием", "navigation_bar.compose_group": "Написать в группу", "navigation_bar.compose_group_reply": "Ответ на пост группы", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/sk.json b/packages/pl-fe/src/locales/sk.json index ecf9bc3e7..2bab4cec5 100644 --- a/packages/pl-fe/src/locales/sk.json +++ b/packages/pl-fe/src/locales/sk.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Napíš nový príspevok", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/sl.json b/packages/pl-fe/src/locales/sl.json index 68bf01777..d2cac9d05 100644 --- a/packages/pl-fe/src/locales/sl.json +++ b/packages/pl-fe/src/locales/sl.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Sestavi nov tut", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/sq.json b/packages/pl-fe/src/locales/sq.json index 2895677f0..0a3c75092 100644 --- a/packages/pl-fe/src/locales/sq.json +++ b/packages/pl-fe/src/locales/sq.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Hartoni mesazh të ri", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/sr-Latn.json b/packages/pl-fe/src/locales/sr-Latn.json index 806f27940..9d337059c 100644 --- a/packages/pl-fe/src/locales/sr-Latn.json +++ b/packages/pl-fe/src/locales/sr-Latn.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/sr.json b/packages/pl-fe/src/locales/sr.json index 4f5b6a234..d88fc0574 100644 --- a/packages/pl-fe/src/locales/sr.json +++ b/packages/pl-fe/src/locales/sr.json @@ -1108,7 +1108,7 @@ "navigation_bar.compose": "Саставите нову трубу", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_edit": "Edit post", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "Quote post", diff --git a/packages/pl-fe/src/locales/sv.json b/packages/pl-fe/src/locales/sv.json index 73297d450..3d4bbd905 100644 --- a/packages/pl-fe/src/locales/sv.json +++ b/packages/pl-fe/src/locales/sv.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Författa ny toot", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/ta.json b/packages/pl-fe/src/locales/ta.json index b39d7fcb2..cba8b0b35 100644 --- a/packages/pl-fe/src/locales/ta.json +++ b/packages/pl-fe/src/locales/ta.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "புதியவற்றை எழுதுக toot", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/te.json b/packages/pl-fe/src/locales/te.json index f53550b34..0989dbdb6 100644 --- a/packages/pl-fe/src/locales/te.json +++ b/packages/pl-fe/src/locales/te.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "కొత్త టూట్ను రాయండి", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/th.json b/packages/pl-fe/src/locales/th.json index d26e27ae9..4a8b9288a 100644 --- a/packages/pl-fe/src/locales/th.json +++ b/packages/pl-fe/src/locales/th.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "เขียนโพสต์ใหม่", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/tr.json b/packages/pl-fe/src/locales/tr.json index 735fa71c7..ba4516fc8 100644 --- a/packages/pl-fe/src/locales/tr.json +++ b/packages/pl-fe/src/locales/tr.json @@ -1196,7 +1196,7 @@ "navigation_bar.compose": "Bir gönderi oluşturun", "navigation_bar.compose_direct": "Özel mesaj", "navigation_bar.compose_edit": "Gönderiyi düzenle", - "navigation_bar.compose_event": "Etkinliği yönet", + "navigation_bar.manage_event": "Etkinliği yönet", "navigation_bar.compose_group": "Guruba içerik oluştur", "navigation_bar.compose_group_reply": "Grup gönderisine yanıt ver", "navigation_bar.compose_quote": "Gönderiyi alıntıla", diff --git a/packages/pl-fe/src/locales/uk.json b/packages/pl-fe/src/locales/uk.json index 8d9bc964e..5e9add7ae 100644 --- a/packages/pl-fe/src/locales/uk.json +++ b/packages/pl-fe/src/locales/uk.json @@ -1092,7 +1092,7 @@ "navigation_bar.compose": "Написати новий дмух", "navigation_bar.compose_direct": "", "navigation_bar.compose_edit": "", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "", diff --git a/packages/pl-fe/src/locales/zh-CN.json b/packages/pl-fe/src/locales/zh-CN.json index 8fb84a9ef..2fa222b1d 100644 --- a/packages/pl-fe/src/locales/zh-CN.json +++ b/packages/pl-fe/src/locales/zh-CN.json @@ -1197,7 +1197,7 @@ "navigation_bar.compose": "撰写新帖", "navigation_bar.compose_direct": "撰写私信", "navigation_bar.compose_edit": "编辑帖文", - "navigation_bar.compose_event": "管理活动", + "navigation_bar.manage_event": "管理活动", "navigation_bar.compose_group": "撰写至群组", "navigation_bar.compose_group_reply": "回复群组帖文", "navigation_bar.compose_quote": "引用帖文", diff --git a/packages/pl-fe/src/locales/zh-HK.json b/packages/pl-fe/src/locales/zh-HK.json index 13ae826a0..a5eb716cc 100644 --- a/packages/pl-fe/src/locales/zh-HK.json +++ b/packages/pl-fe/src/locales/zh-HK.json @@ -1107,7 +1107,7 @@ "navigation_bar.compose": "撰寫新帖文", "navigation_bar.compose_direct": "發送私人訊息", "navigation_bar.compose_edit": "編輯帖文", - "navigation_bar.compose_event": "", + "navigation_bar.manage_event": "", "navigation_bar.compose_group": "", "navigation_bar.compose_group_reply": "", "navigation_bar.compose_quote": "引用帖文", diff --git a/packages/pl-fe/src/locales/zh-TW.json b/packages/pl-fe/src/locales/zh-TW.json index 1e1cd875d..959a23f64 100644 --- a/packages/pl-fe/src/locales/zh-TW.json +++ b/packages/pl-fe/src/locales/zh-TW.json @@ -1197,7 +1197,7 @@ "navigation_bar.compose": "撰寫新貼文", "navigation_bar.compose_direct": "發送私人訊息", "navigation_bar.compose_edit": "編輯貼文", - "navigation_bar.compose_event": "管理活動", + "navigation_bar.manage_event": "管理活動", "navigation_bar.compose_group": "發文到群組", "navigation_bar.compose_group_reply": "回覆群組貼文", "navigation_bar.compose_quote": "引用貼文", diff --git a/packages/pl-fe/src/stores/modals.ts b/packages/pl-fe/src/stores/modals.ts index 978e314b2..c8d8db48a 100644 --- a/packages/pl-fe/src/stores/modals.ts +++ b/packages/pl-fe/src/stores/modals.ts @@ -7,7 +7,6 @@ import type { AccountModerationModalProps } from 'pl-fe/features/ui/components/m import type { BoostModalProps } from 'pl-fe/features/ui/components/modals/boost-modal'; import type { CompareHistoryModalProps } from 'pl-fe/features/ui/components/modals/compare-history-modal'; import type { ComponentModalProps } from 'pl-fe/features/ui/components/modals/component-modal'; -import type { ComposeEventModalProps } from 'pl-fe/features/ui/components/modals/compose-event-modal'; import type { ComposeModalProps } from 'pl-fe/features/ui/components/modals/compose-modal'; import type { ConfirmationModalProps } from 'pl-fe/features/ui/components/modals/confirmation-modal'; import type { DislikesModalProps } from 'pl-fe/features/ui/components/modals/dislikes-modal'; @@ -44,7 +43,6 @@ type OpenModalProps = | [type: 'COMPARE_HISTORY', props: CompareHistoryModalProps] | [type: 'COMPONENT', props: ComponentModalProps] | [type: 'COMPOSE', props?: ComposeModalProps] - | [type: 'COMPOSE_EVENT', props?: ComposeEventModalProps] | [type: 'CONFIRM', props: ConfirmationModalProps] | [type: 'CRYPTO_DONATE', props: ICryptoAddress] | [type: 'DISLIKES', props: DislikesModalProps]