From 24e7873bcece700c639099b5afb61098560c6a3c Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Tue, 15 Nov 2022 14:00:40 -0500 Subject: [PATCH] Rename files (6): _ -> - --- app/soapbox/components/status-list.tsx | 2 +- app/soapbox/components/status-media.tsx | 2 +- app/soapbox/components/status.tsx | 2 +- app/soapbox/containers/soapbox.tsx | 2 +- app/soapbox/features/auth-layout/index.tsx | 4 +-- .../features/chats/components/chat-list.tsx | 2 +- .../compose/components/search-results.tsx | 6 ++-- .../features/developers/settings-store.tsx | 2 +- .../components/instance-restrictions.tsx} | 0 .../components/restricted-instance.tsx} | 2 +- .../index.tsx | 2 +- .../features/feed-filtering/feed-carousel.tsx | 2 +- .../components/account-authorize.tsx} | 0 .../index.tsx | 2 +- .../index.tsx | 0 .../index.tsx | 0 .../components/csv-importer.tsx} | 0 .../{import_data => import-data}/index.tsx | 2 +- .../index.tsx | 0 .../__tests__/landing-page.test.tsx} | 0 .../{landing_page => landing-page}/index.tsx | 0 .../instance-description.css | 0 .../components/account.tsx | 0 .../components/list.tsx | 0 .../{list_adder => list-adder}/index.tsx | 2 +- .../{new_list_form.tsx => new-list-form.tsx} | 0 app/soapbox/features/lists/index.tsx | 2 +- .../{new_status => new-status}/index.tsx | 0 ...umn_button.tsx => clear-column-button.tsx} | 0 .../{filter_bar.tsx => filter-bar.tsx} | 0 ...{setting_toggle.tsx => setting-toggle.tsx} | 0 app/soapbox/features/notifications/index.tsx | 4 +-- .../index.tsx | 0 ...er_account.tsx => placeholder-account.tsx} | 4 +-- ...lder_avatar.tsx => placeholder-avatar.tsx} | 0 ...ceholder_card.tsx => placeholder-card.tsx} | 0 ...ceholder_chat.tsx => placeholder-chat.tsx} | 4 +-- ..._name.tsx => placeholder-display-name.tsx} | 0 ...er_hashtag.tsx => placeholder-hashtag.tsx} | 0 ...us.tsx => placeholder-material-status.tsx} | 2 +- ...lery.tsx => placeholder-media-gallery.tsx} | 0 ...ation.tsx => placeholder-notification.tsx} | 6 ++-- ...ent.tsx => placeholder-status-content.tsx} | 0 ...lder_status.tsx => placeholder-status.tsx} | 6 ++-- app/soapbox/features/preferences/index.tsx | 2 +- .../components/footer.tsx | 0 .../components/header.tsx | 0 .../components/sonar.tsx | 0 .../index.tsx | 2 +- .../index.tsx | 2 +- .../index.tsx | 0 .../components/pinned-hosts-picker.tsx} | 0 .../index.tsx | 2 +- .../account.tsx | 0 ...tus_check_box.tsx => status-check-box.tsx} | 0 .../builder.tsx | 0 .../scheduled-status-action-bar.tsx} | 0 .../components/scheduled-status.tsx} | 4 +-- .../index.tsx | 2 +- .../security/{mfa_form.tsx => mfa-form.tsx} | 6 ++-- ...able_otp_form.tsx => disable-otp-form.tsx} | 0 ...nable_otp_form.tsx => enable-otp-form.tsx} | 0 ..._confirm_form.tsx => otp-confirm-form.tsx} | 0 .../{server_info => server-info}/index.tsx | 0 .../{media_display.tsx => media-display.tsx} | 0 .../components/color-picker.tsx | 0 .../components/color-with-picker.tsx | 0 .../components/crypto-address-input.tsx | 0 .../components/footer-link-input.tsx | 0 .../components/icon-picker-dropdown.js} | 0 .../components/icon-picker-menu.js | 0 .../components/icon-picker.tsx | 2 +- .../components/promo-panel-input.tsx | 0 .../components/site-preview.tsx | 0 .../forkawesome.json | 0 .../index.tsx | 0 .../status/components/detailed-status.tsx | 2 +- .../status/components/thread-status.tsx | 2 +- ...tainer.tsx => quoted-status-container.tsx} | 0 app/soapbox/features/status/index.tsx | 2 +- .../index.tsx | 0 .../components/instance_moderation_panel.tsx | 2 +- .../report-modal/steps/other-actions-step.tsx | 2 +- .../features/ui/components/pending_status.tsx | 6 ++-- .../ui/components/reply_mentions_modal.tsx | 2 +- .../features/ui/util/async-components.ts | 36 +++++++++---------- 86 files changed, 69 insertions(+), 69 deletions(-) rename app/soapbox/features/{federation_restrictions/components/instance_restrictions.tsx => federation-restrictions/components/instance-restrictions.tsx} (100%) rename app/soapbox/features/{federation_restrictions/components/restricted_instance.tsx => federation-restrictions/components/restricted-instance.tsx} (95%) rename app/soapbox/features/{federation_restrictions => federation-restrictions}/index.tsx (97%) rename app/soapbox/features/{follow_requests/components/account_authorize.tsx => follow-requests/components/account-authorize.tsx} (100%) rename app/soapbox/features/{follow_requests => follow-requests}/index.tsx (96%) rename app/soapbox/features/{generic_not_found => generic-not-found}/index.tsx (100%) rename app/soapbox/features/{home_timeline => home-timeline}/index.tsx (100%) rename app/soapbox/features/{import_data/components/csv_importer.tsx => import-data/components/csv-importer.tsx} (100%) rename app/soapbox/features/{import_data => import-data}/index.tsx (97%) rename app/soapbox/features/{intentional_error => intentional-error}/index.tsx (100%) rename app/soapbox/features/{landing_page/__tests__/landing_page.test.tsx => landing-page/__tests__/landing-page.test.tsx} (100%) rename app/soapbox/features/{landing_page => landing-page}/index.tsx (100%) rename app/soapbox/features/{landing_page => landing-page}/instance-description.css (100%) rename app/soapbox/features/{list_adder => list-adder}/components/account.tsx (100%) rename app/soapbox/features/{list_adder => list-adder}/components/list.tsx (100%) rename app/soapbox/features/{list_adder => list-adder}/index.tsx (97%) rename app/soapbox/features/lists/components/{new_list_form.tsx => new-list-form.tsx} (100%) rename app/soapbox/features/{new_status => new-status}/index.tsx (100%) rename app/soapbox/features/notifications/components/{clear_column_button.tsx => clear-column-button.tsx} (100%) rename app/soapbox/features/notifications/components/{filter_bar.tsx => filter-bar.tsx} (100%) rename app/soapbox/features/notifications/components/{setting_toggle.tsx => setting-toggle.tsx} (100%) rename app/soapbox/features/{pinned_statuses => pinned-statuses}/index.tsx (100%) rename app/soapbox/features/placeholder/components/{placeholder_account.tsx => placeholder-account.tsx} (81%) rename app/soapbox/features/placeholder/components/{placeholder_avatar.tsx => placeholder-avatar.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_card.tsx => placeholder-card.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_chat.tsx => placeholder-chat.tsx} (87%) rename app/soapbox/features/placeholder/components/{placeholder_display_name.tsx => placeholder-display-name.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_hashtag.tsx => placeholder-hashtag.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_material_status.tsx => placeholder-material-status.tsx} (87%) rename app/soapbox/features/placeholder/components/{placeholder_media_gallery.tsx => placeholder-media-gallery.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_notification.tsx => placeholder-notification.tsx} (82%) rename app/soapbox/features/placeholder/components/{placeholder_status_content.tsx => placeholder-status-content.tsx} (100%) rename app/soapbox/features/placeholder/components/{placeholder_status.tsx => placeholder-status.tsx} (85%) rename app/soapbox/features/{public_layout => public-layout}/components/footer.tsx (100%) rename app/soapbox/features/{public_layout => public-layout}/components/header.tsx (100%) rename app/soapbox/features/{public_layout => public-layout}/components/sonar.tsx (100%) rename app/soapbox/features/{public_layout => public-layout}/index.tsx (96%) rename app/soapbox/features/{public_timeline => public-timeline}/index.tsx (98%) rename app/soapbox/features/{register_invite => register-invite}/index.tsx (100%) rename app/soapbox/features/{remote_timeline/components/pinned_hosts_picker.tsx => remote-timeline/components/pinned-hosts-picker.tsx} (100%) rename app/soapbox/features/{remote_timeline => remote-timeline}/index.tsx (97%) rename app/soapbox/features/{reply_mentions => reply-mentions}/account.tsx (100%) rename app/soapbox/features/report/components/{status_check_box.tsx => status-check-box.tsx} (100%) rename app/soapbox/features/{scheduled_statuses => scheduled-statuses}/builder.tsx (100%) rename app/soapbox/features/{scheduled_statuses/components/scheduled_status_action_bar.tsx => scheduled-statuses/components/scheduled-status-action-bar.tsx} (100%) rename app/soapbox/features/{scheduled_statuses/components/scheduled_status.tsx => scheduled-statuses/components/scheduled-status.tsx} (97%) rename app/soapbox/features/{scheduled_statuses => scheduled-statuses}/index.tsx (96%) rename app/soapbox/features/security/{mfa_form.tsx => mfa-form.tsx} (91%) rename app/soapbox/features/security/mfa/{disable_otp_form.tsx => disable-otp-form.tsx} (100%) rename app/soapbox/features/security/mfa/{enable_otp_form.tsx => enable-otp-form.tsx} (100%) rename app/soapbox/features/security/mfa/{otp_confirm_form.tsx => otp-confirm-form.tsx} (100%) rename app/soapbox/features/{server_info => server-info}/index.tsx (100%) rename app/soapbox/features/settings/{media_display.tsx => media-display.tsx} (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/color-picker.tsx (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/color-with-picker.tsx (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/crypto-address-input.tsx (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/footer-link-input.tsx (100%) rename app/soapbox/features/{soapbox_config/components/icon_picker_dropdown.js => soapbox-config/components/icon-picker-dropdown.js} (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/icon-picker-menu.js (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/icon-picker.tsx (88%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/promo-panel-input.tsx (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/components/site-preview.tsx (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/forkawesome.json (100%) rename app/soapbox/features/{soapbox_config => soapbox-config}/index.tsx (100%) rename app/soapbox/features/status/containers/{quoted_status_container.tsx => quoted-status-container.tsx} (100%) rename app/soapbox/features/{test_timeline => test-timeline}/index.tsx (100%) diff --git a/app/soapbox/components/status-list.tsx b/app/soapbox/components/status-list.tsx index 3480baf6a..dc782248f 100644 --- a/app/soapbox/components/status-list.tsx +++ b/app/soapbox/components/status-list.tsx @@ -10,7 +10,7 @@ import ScrollableList from 'soapbox/components/scrollable-list'; import StatusContainer from 'soapbox/containers/status-container'; import Ad from 'soapbox/features/ads/components/ad'; import FeedSuggestions from 'soapbox/features/feed-suggestions/feed-suggestions'; -import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder_status'; +import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status'; import { ALGORITHMS } from 'soapbox/features/timeline-insertion'; import PendingStatus from 'soapbox/features/ui/components/pending_status'; import { useSoapboxConfig } from 'soapbox/hooks'; diff --git a/app/soapbox/components/status-media.tsx b/app/soapbox/components/status-media.tsx index b159d4fe5..71177cb12 100644 --- a/app/soapbox/components/status-media.tsx +++ b/app/soapbox/components/status-media.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { openModal } from 'soapbox/actions/modals'; import AttachmentThumbs from 'soapbox/components/attachment-thumbs'; -import PlaceholderCard from 'soapbox/features/placeholder/components/placeholder_card'; +import PlaceholderCard from 'soapbox/features/placeholder/components/placeholder-card'; import Card from 'soapbox/features/status/components/card'; import Bundle from 'soapbox/features/ui/components/bundle'; import { MediaGallery, Video, Audio } from 'soapbox/features/ui/util/async-components'; diff --git a/app/soapbox/components/status.tsx b/app/soapbox/components/status.tsx index eb5f3704e..fab25ea92 100644 --- a/app/soapbox/components/status.tsx +++ b/app/soapbox/components/status.tsx @@ -11,7 +11,7 @@ import { toggleStatusHidden } from 'soapbox/actions/statuses'; import Icon from 'soapbox/components/icon'; import TranslateButton from 'soapbox/components/translate-button'; import AccountContainer from 'soapbox/containers/account-container'; -import QuotedStatus from 'soapbox/features/status/containers/quoted_status_container'; +import QuotedStatus from 'soapbox/features/status/containers/quoted-status-container'; import { useAppDispatch, useSettings } from 'soapbox/hooks'; import { defaultMediaVisibility, textForScreenReader, getActualStatus } from 'soapbox/utils/status'; diff --git a/app/soapbox/containers/soapbox.tsx b/app/soapbox/containers/soapbox.tsx index fac92a03c..b1e6fb719 100644 --- a/app/soapbox/containers/soapbox.tsx +++ b/app/soapbox/containers/soapbox.tsx @@ -19,7 +19,7 @@ import Helmet from 'soapbox/components/helmet'; import LoadingScreen from 'soapbox/components/loading-screen'; import AuthLayout from 'soapbox/features/auth-layout'; import EmbeddedStatus from 'soapbox/features/embedded-status'; -import PublicLayout from 'soapbox/features/public_layout'; +import PublicLayout from 'soapbox/features/public-layout'; import BundleContainer from 'soapbox/features/ui/containers/bundle_container'; import { ModalContainer, diff --git a/app/soapbox/features/auth-layout/index.tsx b/app/soapbox/features/auth-layout/index.tsx index 9a7d502f7..556db1042 100644 --- a/app/soapbox/features/auth-layout/index.tsx +++ b/app/soapbox/features/auth-layout/index.tsx @@ -12,8 +12,8 @@ import PasswordReset from '../auth-login/components/password_reset'; import PasswordResetConfirm from '../auth-login/components/password_reset_confirm'; import RegistrationForm from '../auth-login/components/registration_form'; import ExternalLoginForm from '../external-login/components/external-login-form'; -import Footer from '../public_layout/components/footer'; -import RegisterInvite from '../register_invite'; +import Footer from '../public-layout/components/footer'; +import RegisterInvite from '../register-invite'; import Verification from '../verification'; import EmailPassthru from '../verification/email_passthru'; diff --git a/app/soapbox/features/chats/components/chat-list.tsx b/app/soapbox/features/chats/components/chat-list.tsx index 825b64871..6ac0d17c9 100644 --- a/app/soapbox/features/chats/components/chat-list.tsx +++ b/app/soapbox/features/chats/components/chat-list.tsx @@ -8,7 +8,7 @@ import { createSelector } from 'reselect'; import { fetchChats, expandChats } from 'soapbox/actions/chats'; import PullToRefresh from 'soapbox/components/pull-to-refresh'; import { Card, Text } from 'soapbox/components/ui'; -import PlaceholderChat from 'soapbox/features/placeholder/components/placeholder_chat'; +import PlaceholderChat from 'soapbox/features/placeholder/components/placeholder-chat'; import { useAppSelector } from 'soapbox/hooks'; import Chat from './chat'; diff --git a/app/soapbox/features/compose/components/search-results.tsx b/app/soapbox/features/compose/components/search-results.tsx index 2f39a8b85..ed8c973c2 100644 --- a/app/soapbox/features/compose/components/search-results.tsx +++ b/app/soapbox/features/compose/components/search-results.tsx @@ -10,9 +10,9 @@ import ScrollableList from 'soapbox/components/scrollable-list'; import { HStack, Tabs, Text } from 'soapbox/components/ui'; import AccountContainer from 'soapbox/containers/account-container'; import StatusContainer from 'soapbox/containers/status-container'; -import PlaceholderAccount from 'soapbox/features/placeholder/components/placeholder_account'; -import PlaceholderHashtag from 'soapbox/features/placeholder/components/placeholder_hashtag'; -import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder_status'; +import PlaceholderAccount from 'soapbox/features/placeholder/components/placeholder-account'; +import PlaceholderHashtag from 'soapbox/features/placeholder/components/placeholder-hashtag'; +import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status'; import { useAppDispatch, useAppSelector } from 'soapbox/hooks'; import type { OrderedSet as ImmutableOrderedSet } from 'immutable'; diff --git a/app/soapbox/features/developers/settings-store.tsx b/app/soapbox/features/developers/settings-store.tsx index c2fbf0cc9..cfddc637e 100644 --- a/app/soapbox/features/developers/settings-store.tsx +++ b/app/soapbox/features/developers/settings-store.tsx @@ -15,7 +15,7 @@ import { FormGroup, Textarea, } from 'soapbox/components/ui'; -import SettingToggle from 'soapbox/features/notifications/components/setting_toggle'; +import SettingToggle from 'soapbox/features/notifications/components/setting-toggle'; import { useAppSelector, useAppDispatch, useSettings } from 'soapbox/hooks'; const isJSONValid = (text: any): boolean => { diff --git a/app/soapbox/features/federation_restrictions/components/instance_restrictions.tsx b/app/soapbox/features/federation-restrictions/components/instance-restrictions.tsx similarity index 100% rename from app/soapbox/features/federation_restrictions/components/instance_restrictions.tsx rename to app/soapbox/features/federation-restrictions/components/instance-restrictions.tsx diff --git a/app/soapbox/features/federation_restrictions/components/restricted_instance.tsx b/app/soapbox/features/federation-restrictions/components/restricted-instance.tsx similarity index 95% rename from app/soapbox/features/federation_restrictions/components/restricted_instance.tsx rename to app/soapbox/features/federation-restrictions/components/restricted-instance.tsx index 9b5889208..97c838984 100644 --- a/app/soapbox/features/federation_restrictions/components/restricted_instance.tsx +++ b/app/soapbox/features/federation-restrictions/components/restricted-instance.tsx @@ -5,7 +5,7 @@ import Icon from 'soapbox/components/icon'; import { useAppSelector } from 'soapbox/hooks'; import { makeGetRemoteInstance } from 'soapbox/selectors'; -import InstanceRestrictions from './instance_restrictions'; +import InstanceRestrictions from './instance-restrictions'; const getRemoteInstance = makeGetRemoteInstance(); diff --git a/app/soapbox/features/federation_restrictions/index.tsx b/app/soapbox/features/federation-restrictions/index.tsx similarity index 97% rename from app/soapbox/features/federation_restrictions/index.tsx rename to app/soapbox/features/federation-restrictions/index.tsx index 33e68a06e..f7b317822 100644 --- a/app/soapbox/features/federation_restrictions/index.tsx +++ b/app/soapbox/features/federation-restrictions/index.tsx @@ -9,7 +9,7 @@ import { federationRestrictionsDisclosed } from 'soapbox/utils/state'; import Column from '../ui/components/column'; -import RestrictedInstance from './components/restricted_instance'; +import RestrictedInstance from './components/restricted-instance'; import type { OrderedSet as ImmutableOrderedSet } from 'immutable'; diff --git a/app/soapbox/features/feed-filtering/feed-carousel.tsx b/app/soapbox/features/feed-filtering/feed-carousel.tsx index c3fac39be..621c48374 100644 --- a/app/soapbox/features/feed-filtering/feed-carousel.tsx +++ b/app/soapbox/features/feed-filtering/feed-carousel.tsx @@ -7,7 +7,7 @@ import { useAppDispatch, useAppSelector, useDimensions } from 'soapbox/hooks'; import useCarouselAvatars from 'soapbox/queries/carousels'; import { Card, HStack, Icon, Stack, Text } from '../../components/ui'; -import PlaceholderAvatar from '../placeholder/components/placeholder_avatar'; +import PlaceholderAvatar from '../placeholder/components/placeholder-avatar'; const CarouselItem = ({ avatar }: { avatar: any }) => { const dispatch = useAppDispatch(); diff --git a/app/soapbox/features/follow_requests/components/account_authorize.tsx b/app/soapbox/features/follow-requests/components/account-authorize.tsx similarity index 100% rename from app/soapbox/features/follow_requests/components/account_authorize.tsx rename to app/soapbox/features/follow-requests/components/account-authorize.tsx diff --git a/app/soapbox/features/follow_requests/index.tsx b/app/soapbox/features/follow-requests/index.tsx similarity index 96% rename from app/soapbox/features/follow_requests/index.tsx rename to app/soapbox/features/follow-requests/index.tsx index a073c346d..976b3586f 100644 --- a/app/soapbox/features/follow_requests/index.tsx +++ b/app/soapbox/features/follow-requests/index.tsx @@ -10,7 +10,7 @@ import { useAppSelector } from 'soapbox/hooks'; import Column from '../ui/components/column'; -import AccountAuthorize from './components/account_authorize'; +import AccountAuthorize from './components/account-authorize'; const messages = defineMessages({ heading: { id: 'column.follow_requests', defaultMessage: 'Follow requests' }, diff --git a/app/soapbox/features/generic_not_found/index.tsx b/app/soapbox/features/generic-not-found/index.tsx similarity index 100% rename from app/soapbox/features/generic_not_found/index.tsx rename to app/soapbox/features/generic-not-found/index.tsx diff --git a/app/soapbox/features/home_timeline/index.tsx b/app/soapbox/features/home-timeline/index.tsx similarity index 100% rename from app/soapbox/features/home_timeline/index.tsx rename to app/soapbox/features/home-timeline/index.tsx diff --git a/app/soapbox/features/import_data/components/csv_importer.tsx b/app/soapbox/features/import-data/components/csv-importer.tsx similarity index 100% rename from app/soapbox/features/import_data/components/csv_importer.tsx rename to app/soapbox/features/import-data/components/csv-importer.tsx diff --git a/app/soapbox/features/import_data/index.tsx b/app/soapbox/features/import-data/index.tsx similarity index 97% rename from app/soapbox/features/import_data/index.tsx rename to app/soapbox/features/import-data/index.tsx index 5d26fa0ec..ca03e6701 100644 --- a/app/soapbox/features/import_data/index.tsx +++ b/app/soapbox/features/import-data/index.tsx @@ -9,7 +9,7 @@ import { import Column from '../ui/components/column'; -import CSVImporter from './components/csv_importer'; +import CSVImporter from './components/csv-importer'; const messages = defineMessages({ heading: { id: 'column.import_data', defaultMessage: 'Import data' }, diff --git a/app/soapbox/features/intentional_error/index.tsx b/app/soapbox/features/intentional-error/index.tsx similarity index 100% rename from app/soapbox/features/intentional_error/index.tsx rename to app/soapbox/features/intentional-error/index.tsx diff --git a/app/soapbox/features/landing_page/__tests__/landing_page.test.tsx b/app/soapbox/features/landing-page/__tests__/landing-page.test.tsx similarity index 100% rename from app/soapbox/features/landing_page/__tests__/landing_page.test.tsx rename to app/soapbox/features/landing-page/__tests__/landing-page.test.tsx diff --git a/app/soapbox/features/landing_page/index.tsx b/app/soapbox/features/landing-page/index.tsx similarity index 100% rename from app/soapbox/features/landing_page/index.tsx rename to app/soapbox/features/landing-page/index.tsx diff --git a/app/soapbox/features/landing_page/instance-description.css b/app/soapbox/features/landing-page/instance-description.css similarity index 100% rename from app/soapbox/features/landing_page/instance-description.css rename to app/soapbox/features/landing-page/instance-description.css diff --git a/app/soapbox/features/list_adder/components/account.tsx b/app/soapbox/features/list-adder/components/account.tsx similarity index 100% rename from app/soapbox/features/list_adder/components/account.tsx rename to app/soapbox/features/list-adder/components/account.tsx diff --git a/app/soapbox/features/list_adder/components/list.tsx b/app/soapbox/features/list-adder/components/list.tsx similarity index 100% rename from app/soapbox/features/list_adder/components/list.tsx rename to app/soapbox/features/list-adder/components/list.tsx diff --git a/app/soapbox/features/list_adder/index.tsx b/app/soapbox/features/list-adder/index.tsx similarity index 97% rename from app/soapbox/features/list_adder/index.tsx rename to app/soapbox/features/list-adder/index.tsx index 191c71b75..1e9d7c745 100644 --- a/app/soapbox/features/list_adder/index.tsx +++ b/app/soapbox/features/list-adder/index.tsx @@ -6,7 +6,7 @@ import { setupListAdder, resetListAdder } from 'soapbox/actions/lists'; import { CardHeader, CardTitle, Modal } from 'soapbox/components/ui'; import { useAppDispatch, useAppSelector } from 'soapbox/hooks'; -import NewListForm from '../lists/components/new_list_form'; +import NewListForm from '../lists/components/new-list-form'; import Account from './components/account'; import List from './components/list'; diff --git a/app/soapbox/features/lists/components/new_list_form.tsx b/app/soapbox/features/lists/components/new-list-form.tsx similarity index 100% rename from app/soapbox/features/lists/components/new_list_form.tsx rename to app/soapbox/features/lists/components/new-list-form.tsx diff --git a/app/soapbox/features/lists/index.tsx b/app/soapbox/features/lists/index.tsx index f37c2bf20..082da7c5d 100644 --- a/app/soapbox/features/lists/index.tsx +++ b/app/soapbox/features/lists/index.tsx @@ -11,7 +11,7 @@ import ScrollableList from 'soapbox/components/scrollable-list'; import { Column, IconButton, Spinner } from 'soapbox/components/ui'; import { useAppSelector } from 'soapbox/hooks'; -import NewListForm from './components/new_list_form'; +import NewListForm from './components/new-list-form'; import type { RootState } from 'soapbox/store'; diff --git a/app/soapbox/features/new_status/index.tsx b/app/soapbox/features/new-status/index.tsx similarity index 100% rename from app/soapbox/features/new_status/index.tsx rename to app/soapbox/features/new-status/index.tsx diff --git a/app/soapbox/features/notifications/components/clear_column_button.tsx b/app/soapbox/features/notifications/components/clear-column-button.tsx similarity index 100% rename from app/soapbox/features/notifications/components/clear_column_button.tsx rename to app/soapbox/features/notifications/components/clear-column-button.tsx diff --git a/app/soapbox/features/notifications/components/filter_bar.tsx b/app/soapbox/features/notifications/components/filter-bar.tsx similarity index 100% rename from app/soapbox/features/notifications/components/filter_bar.tsx rename to app/soapbox/features/notifications/components/filter-bar.tsx diff --git a/app/soapbox/features/notifications/components/setting_toggle.tsx b/app/soapbox/features/notifications/components/setting-toggle.tsx similarity index 100% rename from app/soapbox/features/notifications/components/setting_toggle.tsx rename to app/soapbox/features/notifications/components/setting-toggle.tsx diff --git a/app/soapbox/features/notifications/index.tsx b/app/soapbox/features/notifications/index.tsx index 1e10db25a..820bb64c3 100644 --- a/app/soapbox/features/notifications/index.tsx +++ b/app/soapbox/features/notifications/index.tsx @@ -15,10 +15,10 @@ import PullToRefresh from 'soapbox/components/pull-to-refresh'; import ScrollTopButton from 'soapbox/components/scroll-top-button'; import ScrollableList from 'soapbox/components/scrollable-list'; import { Column } from 'soapbox/components/ui'; -import PlaceholderNotification from 'soapbox/features/placeholder/components/placeholder_notification'; +import PlaceholderNotification from 'soapbox/features/placeholder/components/placeholder-notification'; import { useAppDispatch, useAppSelector, useSettings } from 'soapbox/hooks'; -import FilterBar from './components/filter_bar'; +import FilterBar from './components/filter-bar'; import Notification from './components/notification'; import type { VirtuosoHandle } from 'react-virtuoso'; diff --git a/app/soapbox/features/pinned_statuses/index.tsx b/app/soapbox/features/pinned-statuses/index.tsx similarity index 100% rename from app/soapbox/features/pinned_statuses/index.tsx rename to app/soapbox/features/pinned-statuses/index.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_account.tsx b/app/soapbox/features/placeholder/components/placeholder-account.tsx similarity index 81% rename from app/soapbox/features/placeholder/components/placeholder_account.tsx rename to app/soapbox/features/placeholder/components/placeholder-account.tsx index ad31db3a4..113ed02f9 100644 --- a/app/soapbox/features/placeholder/components/placeholder_account.tsx +++ b/app/soapbox/features/placeholder/components/placeholder-account.tsx @@ -1,7 +1,7 @@ import React from 'react'; -import PlaceholderAvatar from './placeholder_avatar'; -import PlaceholderDisplayName from './placeholder_display_name'; +import PlaceholderAvatar from './placeholder-avatar'; +import PlaceholderDisplayName from './placeholder-display-name'; /** Fake account to display while data is loading. */ const PlaceholderAccount: React.FC = () => { diff --git a/app/soapbox/features/placeholder/components/placeholder_avatar.tsx b/app/soapbox/features/placeholder/components/placeholder-avatar.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_avatar.tsx rename to app/soapbox/features/placeholder/components/placeholder-avatar.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_card.tsx b/app/soapbox/features/placeholder/components/placeholder-card.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_card.tsx rename to app/soapbox/features/placeholder/components/placeholder-card.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_chat.tsx b/app/soapbox/features/placeholder/components/placeholder-chat.tsx similarity index 87% rename from app/soapbox/features/placeholder/components/placeholder_chat.tsx rename to app/soapbox/features/placeholder/components/placeholder-chat.tsx index 6b587f03d..be33d5aa9 100644 --- a/app/soapbox/features/placeholder/components/placeholder_chat.tsx +++ b/app/soapbox/features/placeholder/components/placeholder-chat.tsx @@ -2,8 +2,8 @@ import React from 'react'; import { randomIntFromInterval, generateText } from '../utils'; -import PlaceholderAvatar from './placeholder_avatar'; -import PlaceholderDisplayName from './placeholder_display_name'; +import PlaceholderAvatar from './placeholder-avatar'; +import PlaceholderDisplayName from './placeholder-display-name'; /** Fake chat to display while data is loading. */ const PlaceholderChat: React.FC = () => { diff --git a/app/soapbox/features/placeholder/components/placeholder_display_name.tsx b/app/soapbox/features/placeholder/components/placeholder-display-name.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_display_name.tsx rename to app/soapbox/features/placeholder/components/placeholder-display-name.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_hashtag.tsx b/app/soapbox/features/placeholder/components/placeholder-hashtag.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_hashtag.tsx rename to app/soapbox/features/placeholder/components/placeholder-hashtag.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_material_status.tsx b/app/soapbox/features/placeholder/components/placeholder-material-status.tsx similarity index 87% rename from app/soapbox/features/placeholder/components/placeholder_material_status.tsx rename to app/soapbox/features/placeholder/components/placeholder-material-status.tsx index 28581cb09..e3b289d70 100644 --- a/app/soapbox/features/placeholder/components/placeholder_material_status.tsx +++ b/app/soapbox/features/placeholder/components/placeholder-material-status.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import PlaceholderStatus from './placeholder_status'; +import PlaceholderStatus from './placeholder-status'; /** Fake material status to display while data is loading. */ const PlaceholderMaterialStatus: React.FC = () => { diff --git a/app/soapbox/features/placeholder/components/placeholder_media_gallery.tsx b/app/soapbox/features/placeholder/components/placeholder-media-gallery.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_media_gallery.tsx rename to app/soapbox/features/placeholder/components/placeholder-media-gallery.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_notification.tsx b/app/soapbox/features/placeholder/components/placeholder-notification.tsx similarity index 82% rename from app/soapbox/features/placeholder/components/placeholder_notification.tsx rename to app/soapbox/features/placeholder/components/placeholder-notification.tsx index 8b673b5bb..1a035066d 100644 --- a/app/soapbox/features/placeholder/components/placeholder_notification.tsx +++ b/app/soapbox/features/placeholder/components/placeholder-notification.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; -import PlaceholderAvatar from './placeholder_avatar'; -import PlaceholderDisplayName from './placeholder_display_name'; -import PlaceholderStatusContent from './placeholder_status_content'; +import PlaceholderAvatar from './placeholder-avatar'; +import PlaceholderDisplayName from './placeholder-display-name'; +import PlaceholderStatusContent from './placeholder-status-content'; /** Fake notification to display while data is loading. */ const PlaceholderNotification = () => ( diff --git a/app/soapbox/features/placeholder/components/placeholder_status_content.tsx b/app/soapbox/features/placeholder/components/placeholder-status-content.tsx similarity index 100% rename from app/soapbox/features/placeholder/components/placeholder_status_content.tsx rename to app/soapbox/features/placeholder/components/placeholder-status-content.tsx diff --git a/app/soapbox/features/placeholder/components/placeholder_status.tsx b/app/soapbox/features/placeholder/components/placeholder-status.tsx similarity index 85% rename from app/soapbox/features/placeholder/components/placeholder_status.tsx rename to app/soapbox/features/placeholder/components/placeholder-status.tsx index 1bff89459..b015c9df9 100644 --- a/app/soapbox/features/placeholder/components/placeholder_status.tsx +++ b/app/soapbox/features/placeholder/components/placeholder-status.tsx @@ -1,9 +1,9 @@ import classNames from 'clsx'; import * as React from 'react'; -import PlaceholderAvatar from './placeholder_avatar'; -import PlaceholderDisplayName from './placeholder_display_name'; -import PlaceholderStatusContent from './placeholder_status_content'; +import PlaceholderAvatar from './placeholder-avatar'; +import PlaceholderDisplayName from './placeholder-display-name'; +import PlaceholderStatusContent from './placeholder-status-content'; interface IPlaceholderStatus { thread?: boolean diff --git a/app/soapbox/features/preferences/index.tsx b/app/soapbox/features/preferences/index.tsx index 98221a8fd..6c620adb1 100644 --- a/app/soapbox/features/preferences/index.tsx +++ b/app/soapbox/features/preferences/index.tsx @@ -6,7 +6,7 @@ import { changeSetting } from 'soapbox/actions/settings'; import List, { ListItem } from 'soapbox/components/list'; import { Form } from 'soapbox/components/ui'; import { SelectDropdown } from 'soapbox/features/forms'; -import SettingToggle from 'soapbox/features/notifications/components/setting_toggle'; +import SettingToggle from 'soapbox/features/notifications/components/setting-toggle'; import { useFeatures, useSettings } from 'soapbox/hooks'; import ThemeToggle from '../ui/components/theme-toggle'; diff --git a/app/soapbox/features/public_layout/components/footer.tsx b/app/soapbox/features/public-layout/components/footer.tsx similarity index 100% rename from app/soapbox/features/public_layout/components/footer.tsx rename to app/soapbox/features/public-layout/components/footer.tsx diff --git a/app/soapbox/features/public_layout/components/header.tsx b/app/soapbox/features/public-layout/components/header.tsx similarity index 100% rename from app/soapbox/features/public_layout/components/header.tsx rename to app/soapbox/features/public-layout/components/header.tsx diff --git a/app/soapbox/features/public_layout/components/sonar.tsx b/app/soapbox/features/public-layout/components/sonar.tsx similarity index 100% rename from app/soapbox/features/public_layout/components/sonar.tsx rename to app/soapbox/features/public-layout/components/sonar.tsx diff --git a/app/soapbox/features/public_layout/index.tsx b/app/soapbox/features/public-layout/index.tsx similarity index 96% rename from app/soapbox/features/public_layout/index.tsx rename to app/soapbox/features/public-layout/index.tsx index 5615e950e..0fdc8b946 100644 --- a/app/soapbox/features/public_layout/index.tsx +++ b/app/soapbox/features/public-layout/index.tsx @@ -6,7 +6,7 @@ import { useAppSelector } from 'soapbox/hooks'; import { isStandalone } from 'soapbox/utils/state'; import AboutPage from '../about'; -import LandingPage from '../landing_page'; +import LandingPage from '../landing-page'; import Footer from './components/footer'; import Header from './components/header'; diff --git a/app/soapbox/features/public_timeline/index.tsx b/app/soapbox/features/public-timeline/index.tsx similarity index 98% rename from app/soapbox/features/public_timeline/index.tsx rename to app/soapbox/features/public-timeline/index.tsx index 894771da4..ae9378ba3 100644 --- a/app/soapbox/features/public_timeline/index.tsx +++ b/app/soapbox/features/public-timeline/index.tsx @@ -11,7 +11,7 @@ import { Column } from 'soapbox/components/ui'; import Accordion from 'soapbox/features/ui/components/accordion'; import { useAppDispatch, useAppSelector, useSettings } from 'soapbox/hooks'; -import PinnedHostsPicker from '../remote_timeline/components/pinned_hosts_picker'; +import PinnedHostsPicker from '../remote-timeline/components/pinned-hosts-picker'; import Timeline from '../ui/components/timeline'; const messages = defineMessages({ diff --git a/app/soapbox/features/register_invite/index.tsx b/app/soapbox/features/register-invite/index.tsx similarity index 100% rename from app/soapbox/features/register_invite/index.tsx rename to app/soapbox/features/register-invite/index.tsx diff --git a/app/soapbox/features/remote_timeline/components/pinned_hosts_picker.tsx b/app/soapbox/features/remote-timeline/components/pinned-hosts-picker.tsx similarity index 100% rename from app/soapbox/features/remote_timeline/components/pinned_hosts_picker.tsx rename to app/soapbox/features/remote-timeline/components/pinned-hosts-picker.tsx diff --git a/app/soapbox/features/remote_timeline/index.tsx b/app/soapbox/features/remote-timeline/index.tsx similarity index 97% rename from app/soapbox/features/remote_timeline/index.tsx rename to app/soapbox/features/remote-timeline/index.tsx index a3f8d2c68..7ab185be9 100644 --- a/app/soapbox/features/remote_timeline/index.tsx +++ b/app/soapbox/features/remote-timeline/index.tsx @@ -11,7 +11,7 @@ import { useAppDispatch, useSettings } from 'soapbox/hooks'; import Timeline from '../ui/components/timeline'; -import PinnedHostsPicker from './components/pinned_hosts_picker'; +import PinnedHostsPicker from './components/pinned-hosts-picker'; const messages = defineMessages({ title: { id: 'column.remote', defaultMessage: 'Federated timeline' }, diff --git a/app/soapbox/features/reply_mentions/account.tsx b/app/soapbox/features/reply-mentions/account.tsx similarity index 100% rename from app/soapbox/features/reply_mentions/account.tsx rename to app/soapbox/features/reply-mentions/account.tsx diff --git a/app/soapbox/features/report/components/status_check_box.tsx b/app/soapbox/features/report/components/status-check-box.tsx similarity index 100% rename from app/soapbox/features/report/components/status_check_box.tsx rename to app/soapbox/features/report/components/status-check-box.tsx diff --git a/app/soapbox/features/scheduled_statuses/builder.tsx b/app/soapbox/features/scheduled-statuses/builder.tsx similarity index 100% rename from app/soapbox/features/scheduled_statuses/builder.tsx rename to app/soapbox/features/scheduled-statuses/builder.tsx diff --git a/app/soapbox/features/scheduled_statuses/components/scheduled_status_action_bar.tsx b/app/soapbox/features/scheduled-statuses/components/scheduled-status-action-bar.tsx similarity index 100% rename from app/soapbox/features/scheduled_statuses/components/scheduled_status_action_bar.tsx rename to app/soapbox/features/scheduled-statuses/components/scheduled-status-action-bar.tsx diff --git a/app/soapbox/features/scheduled_statuses/components/scheduled_status.tsx b/app/soapbox/features/scheduled-statuses/components/scheduled-status.tsx similarity index 97% rename from app/soapbox/features/scheduled_statuses/components/scheduled_status.tsx rename to app/soapbox/features/scheduled-statuses/components/scheduled-status.tsx index 6fcd66921..e0e174dfb 100644 --- a/app/soapbox/features/scheduled_statuses/components/scheduled_status.tsx +++ b/app/soapbox/features/scheduled-statuses/components/scheduled-status.tsx @@ -2,8 +2,8 @@ import classNames from 'clsx'; import React from 'react'; import AttachmentThumbs from 'soapbox/components/attachment-thumbs'; -import StatusReplyMentions from 'soapbox/components/status-reply-mentions'; import StatusContent from 'soapbox/components/status-content'; +import StatusReplyMentions from 'soapbox/components/status-reply-mentions'; import { HStack } from 'soapbox/components/ui'; import AccountContainer from 'soapbox/containers/account-container'; import PollPreview from 'soapbox/features/ui/components/poll_preview'; @@ -11,7 +11,7 @@ import { useAppSelector } from 'soapbox/hooks'; import { buildStatus } from '../builder'; -import ScheduledStatusActionBar from './scheduled_status_action_bar'; +import ScheduledStatusActionBar from './scheduled-status-action-bar'; import type { Account as AccountEntity, Status as StatusEntity } from 'soapbox/types/entities'; diff --git a/app/soapbox/features/scheduled_statuses/index.tsx b/app/soapbox/features/scheduled-statuses/index.tsx similarity index 96% rename from app/soapbox/features/scheduled_statuses/index.tsx rename to app/soapbox/features/scheduled-statuses/index.tsx index 6f30d16b5..03d27512e 100644 --- a/app/soapbox/features/scheduled_statuses/index.tsx +++ b/app/soapbox/features/scheduled-statuses/index.tsx @@ -8,7 +8,7 @@ import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; import Column from '../ui/components/column'; -import ScheduledStatus from './components/scheduled_status'; +import ScheduledStatus from './components/scheduled-status'; const messages = defineMessages({ heading: { id: 'column.scheduled_statuses', defaultMessage: 'Scheduled Posts' }, diff --git a/app/soapbox/features/security/mfa_form.tsx b/app/soapbox/features/security/mfa-form.tsx similarity index 91% rename from app/soapbox/features/security/mfa_form.tsx rename to app/soapbox/features/security/mfa-form.tsx index 1cbb15f7e..1fd47445f 100644 --- a/app/soapbox/features/security/mfa_form.tsx +++ b/app/soapbox/features/security/mfa-form.tsx @@ -5,9 +5,9 @@ import { fetchMfa } from 'soapbox/actions/mfa'; import { Card, CardBody, CardHeader, CardTitle, Column, Stack } from 'soapbox/components/ui'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; -import DisableOtpForm from './mfa/disable_otp_form'; -import EnableOtpForm from './mfa/enable_otp_form'; -import OtpConfirmForm from './mfa/otp_confirm_form'; +import DisableOtpForm from './mfa/disable-otp-form'; +import EnableOtpForm from './mfa/enable-otp-form'; +import OtpConfirmForm from './mfa/otp-confirm-form'; /* Security settings page for user account diff --git a/app/soapbox/features/security/mfa/disable_otp_form.tsx b/app/soapbox/features/security/mfa/disable-otp-form.tsx similarity index 100% rename from app/soapbox/features/security/mfa/disable_otp_form.tsx rename to app/soapbox/features/security/mfa/disable-otp-form.tsx diff --git a/app/soapbox/features/security/mfa/enable_otp_form.tsx b/app/soapbox/features/security/mfa/enable-otp-form.tsx similarity index 100% rename from app/soapbox/features/security/mfa/enable_otp_form.tsx rename to app/soapbox/features/security/mfa/enable-otp-form.tsx diff --git a/app/soapbox/features/security/mfa/otp_confirm_form.tsx b/app/soapbox/features/security/mfa/otp-confirm-form.tsx similarity index 100% rename from app/soapbox/features/security/mfa/otp_confirm_form.tsx rename to app/soapbox/features/security/mfa/otp-confirm-form.tsx diff --git a/app/soapbox/features/server_info/index.tsx b/app/soapbox/features/server-info/index.tsx similarity index 100% rename from app/soapbox/features/server_info/index.tsx rename to app/soapbox/features/server-info/index.tsx diff --git a/app/soapbox/features/settings/media_display.tsx b/app/soapbox/features/settings/media-display.tsx similarity index 100% rename from app/soapbox/features/settings/media_display.tsx rename to app/soapbox/features/settings/media-display.tsx diff --git a/app/soapbox/features/soapbox_config/components/color-picker.tsx b/app/soapbox/features/soapbox-config/components/color-picker.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/color-picker.tsx rename to app/soapbox/features/soapbox-config/components/color-picker.tsx diff --git a/app/soapbox/features/soapbox_config/components/color-with-picker.tsx b/app/soapbox/features/soapbox-config/components/color-with-picker.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/color-with-picker.tsx rename to app/soapbox/features/soapbox-config/components/color-with-picker.tsx diff --git a/app/soapbox/features/soapbox_config/components/crypto-address-input.tsx b/app/soapbox/features/soapbox-config/components/crypto-address-input.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/crypto-address-input.tsx rename to app/soapbox/features/soapbox-config/components/crypto-address-input.tsx diff --git a/app/soapbox/features/soapbox_config/components/footer-link-input.tsx b/app/soapbox/features/soapbox-config/components/footer-link-input.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/footer-link-input.tsx rename to app/soapbox/features/soapbox-config/components/footer-link-input.tsx diff --git a/app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js b/app/soapbox/features/soapbox-config/components/icon-picker-dropdown.js similarity index 100% rename from app/soapbox/features/soapbox_config/components/icon_picker_dropdown.js rename to app/soapbox/features/soapbox-config/components/icon-picker-dropdown.js diff --git a/app/soapbox/features/soapbox_config/components/icon-picker-menu.js b/app/soapbox/features/soapbox-config/components/icon-picker-menu.js similarity index 100% rename from app/soapbox/features/soapbox_config/components/icon-picker-menu.js rename to app/soapbox/features/soapbox-config/components/icon-picker-menu.js diff --git a/app/soapbox/features/soapbox_config/components/icon-picker.tsx b/app/soapbox/features/soapbox-config/components/icon-picker.tsx similarity index 88% rename from app/soapbox/features/soapbox_config/components/icon-picker.tsx rename to app/soapbox/features/soapbox-config/components/icon-picker.tsx index 05020af74..f1e3de670 100644 --- a/app/soapbox/features/soapbox_config/components/icon-picker.tsx +++ b/app/soapbox/features/soapbox-config/components/icon-picker.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import IconPickerDropdown from './icon_picker_dropdown'; +import IconPickerDropdown from './icon-picker-dropdown'; interface IIconPicker { value: string, diff --git a/app/soapbox/features/soapbox_config/components/promo-panel-input.tsx b/app/soapbox/features/soapbox-config/components/promo-panel-input.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/promo-panel-input.tsx rename to app/soapbox/features/soapbox-config/components/promo-panel-input.tsx diff --git a/app/soapbox/features/soapbox_config/components/site-preview.tsx b/app/soapbox/features/soapbox-config/components/site-preview.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/components/site-preview.tsx rename to app/soapbox/features/soapbox-config/components/site-preview.tsx diff --git a/app/soapbox/features/soapbox_config/forkawesome.json b/app/soapbox/features/soapbox-config/forkawesome.json similarity index 100% rename from app/soapbox/features/soapbox_config/forkawesome.json rename to app/soapbox/features/soapbox-config/forkawesome.json diff --git a/app/soapbox/features/soapbox_config/index.tsx b/app/soapbox/features/soapbox-config/index.tsx similarity index 100% rename from app/soapbox/features/soapbox_config/index.tsx rename to app/soapbox/features/soapbox-config/index.tsx diff --git a/app/soapbox/features/status/components/detailed-status.tsx b/app/soapbox/features/status/components/detailed-status.tsx index 33a112b52..80ab50022 100644 --- a/app/soapbox/features/status/components/detailed-status.tsx +++ b/app/soapbox/features/status/components/detailed-status.tsx @@ -10,7 +10,7 @@ import SensitiveContentOverlay from 'soapbox/components/statuses/sensitive-conte import TranslateButton from 'soapbox/components/translate-button'; import { HStack, Stack, Text } from 'soapbox/components/ui'; import AccountContainer from 'soapbox/containers/account-container'; -import QuotedStatus from 'soapbox/features/status/containers/quoted_status_container'; +import QuotedStatus from 'soapbox/features/status/containers/quoted-status-container'; import { getActualStatus } from 'soapbox/utils/status'; import StatusInteractionBar from './status-interaction-bar'; diff --git a/app/soapbox/features/status/components/thread-status.tsx b/app/soapbox/features/status/components/thread-status.tsx index 35b3db672..8054e268a 100644 --- a/app/soapbox/features/status/components/thread-status.tsx +++ b/app/soapbox/features/status/components/thread-status.tsx @@ -3,7 +3,7 @@ import { OrderedSet as ImmutableOrderedSet } from 'immutable'; import React from 'react'; import StatusContainer from 'soapbox/containers/status-container'; -import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder_status'; +import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status'; import { useAppSelector } from 'soapbox/hooks'; interface IThreadStatus { diff --git a/app/soapbox/features/status/containers/quoted_status_container.tsx b/app/soapbox/features/status/containers/quoted-status-container.tsx similarity index 100% rename from app/soapbox/features/status/containers/quoted_status_container.tsx rename to app/soapbox/features/status/containers/quoted-status-container.tsx diff --git a/app/soapbox/features/status/index.tsx b/app/soapbox/features/status/index.tsx index 18460b1ec..37598c45c 100644 --- a/app/soapbox/features/status/index.tsx +++ b/app/soapbox/features/status/index.tsx @@ -32,7 +32,7 @@ import StatusActionBar from 'soapbox/components/status-action-bar'; import SubNavigation from 'soapbox/components/sub-navigation'; import Tombstone from 'soapbox/components/tombstone'; import { Column, Stack } from 'soapbox/components/ui'; -import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder_status'; +import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status'; import PendingStatus from 'soapbox/features/ui/components/pending_status'; import { useAppDispatch, useAppSelector, useSettings } from 'soapbox/hooks'; import { makeGetStatus } from 'soapbox/selectors'; diff --git a/app/soapbox/features/test_timeline/index.tsx b/app/soapbox/features/test-timeline/index.tsx similarity index 100% rename from app/soapbox/features/test_timeline/index.tsx rename to app/soapbox/features/test-timeline/index.tsx diff --git a/app/soapbox/features/ui/components/instance_moderation_panel.tsx b/app/soapbox/features/ui/components/instance_moderation_panel.tsx index 1b403ed53..4a53a769f 100644 --- a/app/soapbox/features/ui/components/instance_moderation_panel.tsx +++ b/app/soapbox/features/ui/components/instance_moderation_panel.tsx @@ -6,7 +6,7 @@ import { useIntl, defineMessages, FormattedMessage } from 'react-intl'; import { openModal } from 'soapbox/actions/modals'; import { Widget } from 'soapbox/components/ui'; import DropdownMenu from 'soapbox/containers/dropdown-menu-container'; -import InstanceRestrictions from 'soapbox/features/federation_restrictions/components/instance_restrictions'; +import InstanceRestrictions from 'soapbox/features/federation-restrictions/components/instance-restrictions'; import { useAppSelector, useAppDispatch, useOwnAccount } from 'soapbox/hooks'; import { makeGetRemoteInstance } from 'soapbox/selectors'; diff --git a/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx b/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx index e50a90778..964fbd1ca 100644 --- a/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx +++ b/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx @@ -7,7 +7,7 @@ import Toggle from 'react-toggle'; import { changeReportBlock, changeReportForward } from 'soapbox/actions/reports'; import { fetchRules } from 'soapbox/actions/rules'; import { Button, FormGroup, HStack, Stack, Text } from 'soapbox/components/ui'; -import StatusCheckBox from 'soapbox/features/report/components/status_check_box'; +import StatusCheckBox from 'soapbox/features/report/components/status-check-box'; import { useAppSelector, useFeatures } from 'soapbox/hooks'; import { isRemote, getDomain } from 'soapbox/utils/accounts'; diff --git a/app/soapbox/features/ui/components/pending_status.tsx b/app/soapbox/features/ui/components/pending_status.tsx index d584d7b28..343c88f43 100644 --- a/app/soapbox/features/ui/components/pending_status.tsx +++ b/app/soapbox/features/ui/components/pending_status.tsx @@ -5,9 +5,9 @@ import StatusContent from 'soapbox/components/status-content'; import StatusReplyMentions from 'soapbox/components/status-reply-mentions'; import { Card, HStack } from 'soapbox/components/ui'; import AccountContainer from 'soapbox/containers/account-container'; -import PlaceholderCard from 'soapbox/features/placeholder/components/placeholder_card'; -import PlaceholderMediaGallery from 'soapbox/features/placeholder/components/placeholder_media_gallery'; -import QuotedStatus from 'soapbox/features/status/containers/quoted_status_container'; +import PlaceholderCard from 'soapbox/features/placeholder/components/placeholder-card'; +import PlaceholderMediaGallery from 'soapbox/features/placeholder/components/placeholder-media-gallery'; +import QuotedStatus from 'soapbox/features/status/containers/quoted-status-container'; import { useAppSelector } from 'soapbox/hooks'; import { buildStatus } from '../util/pending_status_builder'; diff --git a/app/soapbox/features/ui/components/reply_mentions_modal.tsx b/app/soapbox/features/ui/components/reply_mentions_modal.tsx index 2c8fc73b1..00be2e19f 100644 --- a/app/soapbox/features/ui/components/reply_mentions_modal.tsx +++ b/app/soapbox/features/ui/components/reply_mentions_modal.tsx @@ -6,7 +6,7 @@ import { useAppSelector, useCompose } from 'soapbox/hooks'; import { statusToMentionsAccountIdsArray } from 'soapbox/reducers/compose'; import { makeGetStatus } from 'soapbox/selectors'; -import Account from '../../reply_mentions/account'; +import Account from '../../reply-mentions/account'; import type { Account as AccountEntity, Status as StatusEntity } from 'soapbox/types/entities'; diff --git a/app/soapbox/features/ui/util/async-components.ts b/app/soapbox/features/ui/util/async-components.ts index e5c70b340..997f6b7da 100644 --- a/app/soapbox/features/ui/util/async-components.ts +++ b/app/soapbox/features/ui/util/async-components.ts @@ -7,15 +7,15 @@ export function Notifications() { } export function HomeTimeline() { - return import(/* webpackChunkName: "features/home_timeline" */'../../home_timeline'); + return import(/* webpackChunkName: "features/home_timeline" */'../../home-timeline'); } export function PublicTimeline() { - return import(/* webpackChunkName: "features/public_timeline" */'../../public_timeline'); + return import(/* webpackChunkName: "features/public_timeline" */'../../public-timeline'); } export function RemoteTimeline() { - return import(/* webpackChunkName: "features/remote_timeline" */'../../remote_timeline'); + return import(/* webpackChunkName: "features/remote_timeline" */'../../remote-timeline'); } export function CommunityTimeline() { @@ -51,7 +51,7 @@ export function Status() { } export function PinnedStatuses() { - return import(/* webpackChunkName: "features/pinned_statuses" */'../../pinned_statuses'); + return import(/* webpackChunkName: "features/pinned_statuses" */'../../pinned-statuses'); } export function AccountTimeline() { @@ -71,11 +71,11 @@ export function Following() { } export function FollowRequests() { - return import(/* webpackChunkName: "features/follow_requests" */'../../follow_requests'); + return import(/* webpackChunkName: "features/follow_requests" */'../../follow-requests'); } export function GenericNotFound() { - return import(/* webpackChunkName: "features/generic_not_found" */'../../generic_not_found'); + return import(/* webpackChunkName: "features/generic_not_found" */'../../generic-not-found'); } export function FavouritedStatuses() { @@ -211,7 +211,7 @@ export function ListEditor() { } export function ListAdder() { - return import(/*webpackChunkName: "features/list_adder" */'../../list_adder'); + return import(/*webpackChunkName: "features/list_adder" */'../../list-adder'); } export function Search() { @@ -235,7 +235,7 @@ export function Settings() { } export function MediaDisplay() { - return import(/* webpackChunkName: "features/settings" */'../../settings/media_display'); + return import(/* webpackChunkName: "features/settings" */'../../settings/media-display'); } export function EditProfile() { @@ -259,7 +259,7 @@ export function DeleteAccount() { } export function SoapboxConfig() { - return import(/* webpackChunkName: "features/soapbox_config" */'../../soapbox_config'); + return import(/* webpackChunkName: "features/soapbox_config" */'../../soapbox-config'); } export function ExportData() { @@ -267,7 +267,7 @@ export function ExportData() { } export function ImportData() { - return import(/* webpackChunkName: "features/import_data" */'../../import_data'); + return import(/* webpackChunkName: "features/import_data" */'../../import-data'); } export function Backups() { @@ -283,7 +283,7 @@ export function PasswordResetConfirm() { } export function MfaForm() { - return import(/* webpackChunkName: "features/security/mfa_form" */'../../security/mfa_form'); + return import(/* webpackChunkName: "features/security/mfa_form" */'../../security/mfa-form'); } export function ChatIndex() { @@ -299,7 +299,7 @@ export function ChatPanes() { } export function ServerInfo() { - return import(/* webpackChunkName: "features/server_info" */'../../server_info'); + return import(/* webpackChunkName: "features/server_info" */'../../server-info'); } export function Dashboard() { @@ -403,7 +403,7 @@ export function CryptoDonateModal() { } export function ScheduledStatuses() { - return import(/* webpackChunkName: "features/scheduled_statuses" */'../../scheduled_statuses'); + return import(/* webpackChunkName: "features/scheduled_statuses" */'../../scheduled-statuses'); } export function UserIndex() { @@ -411,7 +411,7 @@ export function UserIndex() { } export function FederationRestrictions() { - return import(/* webpackChunkName: "features/federation_restrictions" */'../../federation_restrictions'); + return import(/* webpackChunkName: "features/federation_restrictions" */'../../federation-restrictions'); } export function Aliases() { @@ -439,7 +439,7 @@ export function Directory() { } export function RegisterInvite() { - return import(/* webpackChunkName: "features/register_invite" */'../../register_invite'); + return import(/* webpackChunkName: "features/register_invite" */'../../register-invite'); } export function Share() { @@ -447,11 +447,11 @@ export function Share() { } export function NewStatus() { - return import(/* webpackChunkName: "features/new_status" */'../../new_status'); + return import(/* webpackChunkName: "features/new_status" */'../../new-status'); } export function IntentionalError() { - return import(/* webpackChunkName: "error" */'../../intentional_error'); + return import(/* webpackChunkName: "error" */'../../intentional-error'); } export function Developers() { @@ -467,7 +467,7 @@ export function SettingsStore() { } export function TestTimeline() { - return import(/* webpackChunkName: "features/test_timeline" */'../../test_timeline'); + return import(/* webpackChunkName: "features/test_timeline" */'../../test-timeline'); } export function ServiceWorkerInfo() {