Rename files (5): _ -> -
This commit is contained in:
parent
717e61a6e0
commit
d4f5fd4d88
110 changed files with 98 additions and 98 deletions
|
@ -5,7 +5,7 @@ import { defineMessages, IntlShape } from 'react-intl';
|
||||||
|
|
||||||
import snackbar from 'soapbox/actions/snackbar';
|
import snackbar from 'soapbox/actions/snackbar';
|
||||||
import api from 'soapbox/api';
|
import api from 'soapbox/api';
|
||||||
import { search as emojiSearch } from 'soapbox/features/emoji/emoji_mart_search_light';
|
import { search as emojiSearch } from 'soapbox/features/emoji/emoji-mart-search-light';
|
||||||
import { tagHistory } from 'soapbox/settings';
|
import { tagHistory } from 'soapbox/settings';
|
||||||
import { isLoggedIn } from 'soapbox/utils/auth';
|
import { isLoggedIn } from 'soapbox/utils/auth';
|
||||||
import { getFeatures, parseVersion } from 'soapbox/utils/features';
|
import { getFeatures, parseVersion } from 'soapbox/utils/features';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import unicodeMapping from 'soapbox/features/emoji/emoji_unicode_mapping_light';
|
import unicodeMapping from 'soapbox/features/emoji/emoji-unicode-mapping-light';
|
||||||
import { useSettings } from 'soapbox/hooks';
|
import { useSettings } from 'soapbox/hooks';
|
||||||
import { joinPublicPath } from 'soapbox/utils/static';
|
import { joinPublicPath } from 'soapbox/utils/static';
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import classNames from 'clsx';
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
|
|
||||||
import AnimatedNumber from 'soapbox/components/animated-number';
|
import AnimatedNumber from 'soapbox/components/animated-number';
|
||||||
import unicodeMapping from 'soapbox/features/emoji/emoji_unicode_mapping_light';
|
import unicodeMapping from 'soapbox/features/emoji/emoji-unicode-mapping-light';
|
||||||
|
|
||||||
import Emoji from './emoji';
|
import Emoji from './emoji';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import unicodeMapping from 'soapbox/features/emoji/emoji_unicode_mapping_light';
|
import unicodeMapping from 'soapbox/features/emoji/emoji-unicode-mapping-light';
|
||||||
import { joinPublicPath } from 'soapbox/utils/static';
|
import { joinPublicPath } from 'soapbox/utils/static';
|
||||||
|
|
||||||
export type Emoji = {
|
export type Emoji = {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||||
import AutosuggestEmoji, { Emoji } from 'soapbox/components/autosuggest-emoji';
|
import AutosuggestEmoji, { Emoji } from 'soapbox/components/autosuggest-emoji';
|
||||||
import Icon from 'soapbox/components/icon';
|
import Icon from 'soapbox/components/icon';
|
||||||
import { Input } from 'soapbox/components/ui';
|
import { Input } from 'soapbox/components/ui';
|
||||||
import AutosuggestAccount from 'soapbox/features/compose/components/autosuggest_account';
|
import AutosuggestAccount from 'soapbox/features/compose/components/autosuggest-account';
|
||||||
import { isRtl } from 'soapbox/rtl';
|
import { isRtl } from 'soapbox/rtl';
|
||||||
|
|
||||||
import type { Menu, MenuItem } from 'soapbox/components/dropdown-menu';
|
import type { Menu, MenuItem } from 'soapbox/components/dropdown-menu';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import React from 'react';
|
||||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||||
import Textarea from 'react-textarea-autosize';
|
import Textarea from 'react-textarea-autosize';
|
||||||
|
|
||||||
import AutosuggestAccount from '../features/compose/components/autosuggest_account';
|
import AutosuggestAccount from '../features/compose/components/autosuggest-account';
|
||||||
import { isRtl } from '../rtl';
|
import { isRtl } from '../rtl';
|
||||||
|
|
||||||
import AutosuggestEmoji, { Emoji } from './autosuggest-emoji';
|
import AutosuggestEmoji, { Emoji } from './autosuggest-emoji';
|
||||||
|
|
|
@ -17,7 +17,7 @@ import * as BuildConfig from 'soapbox/build_config';
|
||||||
import GdprBanner from 'soapbox/components/gdpr-banner';
|
import GdprBanner from 'soapbox/components/gdpr-banner';
|
||||||
import Helmet from 'soapbox/components/helmet';
|
import Helmet from 'soapbox/components/helmet';
|
||||||
import LoadingScreen from 'soapbox/components/loading-screen';
|
import LoadingScreen from 'soapbox/components/loading-screen';
|
||||||
import AuthLayout from 'soapbox/features/auth_layout';
|
import AuthLayout from 'soapbox/features/auth-layout';
|
||||||
import EmbeddedStatus from 'soapbox/features/embedded-status';
|
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 BundleContainer from 'soapbox/features/ui/containers/bundle_container';
|
||||||
|
|
|
@ -15,7 +15,7 @@ import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
||||||
import { getAccountGallery, findAccountByUsername } from 'soapbox/selectors';
|
import { getAccountGallery, findAccountByUsername } from 'soapbox/selectors';
|
||||||
import { getFeatures } from 'soapbox/utils/features';
|
import { getFeatures } from 'soapbox/utils/features';
|
||||||
|
|
||||||
import MediaItem from './components/media_item';
|
import MediaItem from './components/media-item';
|
||||||
|
|
||||||
import type { List as ImmutableList } from 'immutable';
|
import type { List as ImmutableList } from 'immutable';
|
||||||
import type { Attachment, Status } from 'soapbox/types/entities';
|
import type { Attachment, Status } from 'soapbox/types/entities';
|
|
@ -19,7 +19,7 @@ import Badge from 'soapbox/components/badge';
|
||||||
import StillImage from 'soapbox/components/still-image';
|
import StillImage from 'soapbox/components/still-image';
|
||||||
import { HStack, IconButton, Menu, MenuButton, MenuItem, MenuList, MenuLink, MenuDivider, Avatar } from 'soapbox/components/ui';
|
import { HStack, IconButton, Menu, MenuButton, MenuItem, MenuList, MenuLink, MenuDivider, Avatar } from 'soapbox/components/ui';
|
||||||
import SvgIcon from 'soapbox/components/ui/icon/svg-icon';
|
import SvgIcon from 'soapbox/components/ui/icon/svg-icon';
|
||||||
import MovedNote from 'soapbox/features/account_timeline/components/moved_note';
|
import MovedNote from 'soapbox/features/account-timeline/components/moved-note';
|
||||||
import ActionButton from 'soapbox/features/ui/components/action-button';
|
import ActionButton from 'soapbox/features/ui/components/action-button';
|
||||||
import SubscriptionButton from 'soapbox/features/ui/components/subscription-button';
|
import SubscriptionButton from 'soapbox/features/ui/components/subscription-button';
|
||||||
import { useAppDispatch, useFeatures, useOwnAccount } from 'soapbox/hooks';
|
import { useAppDispatch, useFeatures, useOwnAccount } from 'soapbox/hooks';
|
||||||
|
|
|
@ -13,7 +13,7 @@ import Accordion from 'soapbox/features/ui/components/accordion';
|
||||||
import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
||||||
import { makeGetReport } from 'soapbox/selectors';
|
import { makeGetReport } from 'soapbox/selectors';
|
||||||
|
|
||||||
import ReportStatus from './report_status';
|
import ReportStatus from './report-status';
|
||||||
|
|
||||||
import type { List as ImmutableList } from 'immutable';
|
import type { List as ImmutableList } from 'immutable';
|
||||||
import type { Account, AdminReport, Status } from 'soapbox/types/entities';
|
import type { Account, AdminReport, Status } from 'soapbox/types/entities';
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { fetchUsers } from 'soapbox/actions/admin';
|
||||||
import ScrollableList from 'soapbox/components/scrollable-list';
|
import ScrollableList from 'soapbox/components/scrollable-list';
|
||||||
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
||||||
|
|
||||||
import UnapprovedAccount from '../components/unapproved_account';
|
import UnapprovedAccount from '../components/unapproved-account';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
heading: { id: 'column.admin.awaiting_approval', defaultMessage: 'Awaiting Approval' },
|
heading: { id: 'column.admin.awaiting_approval', defaultMessage: 'Awaiting Approval' },
|
||||||
|
|
|
@ -9,7 +9,7 @@ import sourceCode from 'soapbox/utils/code';
|
||||||
import { parseVersion } from 'soapbox/utils/features';
|
import { parseVersion } from 'soapbox/utils/features';
|
||||||
import { isNumber } from 'soapbox/utils/numbers';
|
import { isNumber } from 'soapbox/utils/numbers';
|
||||||
|
|
||||||
import RegistrationModePicker from '../components/registration_mode_picker';
|
import RegistrationModePicker from '../components/registration-mode-picker';
|
||||||
|
|
||||||
import type { AxiosResponse } from 'axios';
|
import type { AxiosResponse } from 'axios';
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@ import SiteLogo from 'soapbox/components/site-logo';
|
||||||
import { useAppSelector, useFeatures, useSoapboxConfig, useOwnAccount } from 'soapbox/hooks';
|
import { useAppSelector, useFeatures, useSoapboxConfig, useOwnAccount } from 'soapbox/hooks';
|
||||||
|
|
||||||
import { Button, Card, CardBody } from '../../components/ui';
|
import { Button, Card, CardBody } from '../../components/ui';
|
||||||
import LoginPage from '../auth_login/components/login_page';
|
import LoginPage from '../auth-login/components/login_page';
|
||||||
import PasswordReset from '../auth_login/components/password_reset';
|
import PasswordReset from '../auth-login/components/password_reset';
|
||||||
import PasswordResetConfirm from '../auth_login/components/password_reset_confirm';
|
import PasswordResetConfirm from '../auth-login/components/password_reset_confirm';
|
||||||
import RegistrationForm from '../auth_login/components/registration_form';
|
import RegistrationForm from '../auth-login/components/registration_form';
|
||||||
import ExternalLoginForm from '../external_login/components/external-login-form';
|
import ExternalLoginForm from '../external-login/components/external-login-form';
|
||||||
import Footer from '../public_layout/components/footer';
|
import Footer from '../public_layout/components/footer';
|
||||||
import RegisterInvite from '../register_invite';
|
import RegisterInvite from '../register_invite';
|
||||||
import Verification from '../verification';
|
import Verification from '../verification';
|
|
@ -11,7 +11,7 @@ import { register, verifyCredentials } from 'soapbox/actions/auth';
|
||||||
import { openModal } from 'soapbox/actions/modals';
|
import { openModal } from 'soapbox/actions/modals';
|
||||||
import BirthdayInput from 'soapbox/components/birthday-input';
|
import BirthdayInput from 'soapbox/components/birthday-input';
|
||||||
import { Checkbox, Form, FormGroup, FormActions, Button, Input, Textarea } from 'soapbox/components/ui';
|
import { Checkbox, Form, FormGroup, FormActions, Button, Input, Textarea } from 'soapbox/components/ui';
|
||||||
import CaptchaField from 'soapbox/features/auth_login/components/captcha';
|
import CaptchaField from 'soapbox/features/auth-login/components/captcha';
|
||||||
import { useAppSelector, useAppDispatch, useSettings, useFeatures } from 'soapbox/hooks';
|
import { useAppSelector, useAppDispatch, useSettings, useFeatures } from 'soapbox/hooks';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
|
@ -9,7 +9,7 @@ import {
|
||||||
import { uploadMedia } from 'soapbox/actions/media';
|
import { uploadMedia } from 'soapbox/actions/media';
|
||||||
import IconButton from 'soapbox/components/icon-button';
|
import IconButton from 'soapbox/components/icon-button';
|
||||||
import UploadProgress from 'soapbox/components/upload-progress';
|
import UploadProgress from 'soapbox/components/upload-progress';
|
||||||
import UploadButton from 'soapbox/features/compose/components/upload_button';
|
import UploadButton from 'soapbox/features/compose/components/upload-button';
|
||||||
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
||||||
import { truncateFilename } from 'soapbox/utils/media';
|
import { truncateFilename } from 'soapbox/utils/media';
|
||||||
|
|
||||||
|
|
|
@ -20,26 +20,26 @@ import { Button, Stack } from 'soapbox/components/ui';
|
||||||
import { useAppDispatch, useAppSelector, useCompose, useFeatures, usePrevious } from 'soapbox/hooks';
|
import { useAppDispatch, useAppSelector, useCompose, useFeatures, usePrevious } from 'soapbox/hooks';
|
||||||
import { isMobile } from 'soapbox/is_mobile';
|
import { isMobile } from 'soapbox/is_mobile';
|
||||||
|
|
||||||
import EmojiPickerDropdown from '../components/emoji-picker/emoji-picker-dropdown';
|
import QuotedStatusContainer from '../containers/quoted-status-container';
|
||||||
import MarkdownButton from '../components/markdown_button';
|
import ReplyIndicatorContainer from '../containers/reply-indicator-container';
|
||||||
import PollButton from '../components/poll_button';
|
import ScheduleFormContainer from '../containers/schedule-form-container';
|
||||||
import PollForm from '../components/polls/poll-form';
|
import UploadButtonContainer from '../containers/upload-button-container';
|
||||||
import PrivacyDropdown from '../components/privacy_dropdown';
|
import WarningContainer from '../containers/warning-container';
|
||||||
import ReplyMentions from '../components/reply_mentions';
|
|
||||||
import ScheduleButton from '../components/schedule_button';
|
|
||||||
import SpoilerButton from '../components/spoiler_button';
|
|
||||||
import UploadForm from '../components/upload_form';
|
|
||||||
import Warning from '../components/warning';
|
|
||||||
import QuotedStatusContainer from '../containers/quoted_status_container';
|
|
||||||
import ReplyIndicatorContainer from '../containers/reply_indicator_container';
|
|
||||||
import ScheduleFormContainer from '../containers/schedule_form_container';
|
|
||||||
import UploadButtonContainer from '../containers/upload_button_container';
|
|
||||||
import WarningContainer from '../containers/warning_container';
|
|
||||||
import { countableText } from '../util/counter';
|
import { countableText } from '../util/counter';
|
||||||
|
|
||||||
|
import EmojiPickerDropdown from './emoji-picker/emoji-picker-dropdown';
|
||||||
|
import MarkdownButton from './markdown-button';
|
||||||
|
import PollButton from './poll-button';
|
||||||
|
import PollForm from './polls/poll-form';
|
||||||
|
import PrivacyDropdown from './privacy-dropdown';
|
||||||
|
import ReplyMentions from './reply-mentions';
|
||||||
|
import ScheduleButton from './schedule-button';
|
||||||
|
import SpoilerButton from './spoiler-button';
|
||||||
import SpoilerInput from './spoiler-input';
|
import SpoilerInput from './spoiler-input';
|
||||||
import TextCharacterCounter from './text_character_counter';
|
import TextCharacterCounter from './text-character-counter';
|
||||||
import VisualCharacterCounter from './visual_character_counter';
|
import UploadForm from './upload-form';
|
||||||
|
import VisualCharacterCounter from './visual-character-counter';
|
||||||
|
import Warning from './warning';
|
||||||
|
|
||||||
import type { Emoji } from 'soapbox/components/autosuggest-emoji';
|
import type { Emoji } from 'soapbox/components/autosuggest-emoji';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
||||||
import { changeComposeContentType } from 'soapbox/actions/compose';
|
import { changeComposeContentType } from 'soapbox/actions/compose';
|
||||||
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
||||||
|
|
||||||
import ComposeFormButton from './compose_form_button';
|
import ComposeFormButton from './compose-form-button';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
marked: { id: 'compose_form.markdown.marked', defaultMessage: 'Post markdown enabled' },
|
marked: { id: 'compose_form.markdown.marked', defaultMessage: 'Post markdown enabled' },
|
|
@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
||||||
import { addPoll, removePoll } from 'soapbox/actions/compose';
|
import { addPoll, removePoll } from 'soapbox/actions/compose';
|
||||||
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
||||||
|
|
||||||
import ComposeFormButton from './compose_form_button';
|
import ComposeFormButton from './compose-form-button';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
add_poll: { id: 'poll_button.add_poll', defaultMessage: 'Add a poll' },
|
add_poll: { id: 'poll_button.add_poll', defaultMessage: 'Add a poll' },
|
|
@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
||||||
import { addSchedule, removeSchedule } from 'soapbox/actions/compose';
|
import { addSchedule, removeSchedule } from 'soapbox/actions/compose';
|
||||||
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
||||||
|
|
||||||
import ComposeFormButton from './compose_form_button';
|
import ComposeFormButton from './compose-form-button';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
add_schedule: { id: 'schedule_button.add_schedule', defaultMessage: 'Schedule post for later' },
|
add_schedule: { id: 'schedule_button.add_schedule', defaultMessage: 'Schedule post for later' },
|
|
@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
||||||
import { changeComposeSpoilerness } from 'soapbox/actions/compose';
|
import { changeComposeSpoilerness } from 'soapbox/actions/compose';
|
||||||
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
import { useAppDispatch, useCompose } from 'soapbox/hooks';
|
||||||
|
|
||||||
import ComposeFormButton from './compose_form_button';
|
import ComposeFormButton from './compose-form-button';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
marked: { id: 'compose_form.spoiler.marked', defaultMessage: 'Text is hidden behind warning' },
|
marked: { id: 'compose_form.spoiler.marked', defaultMessage: 'Text is hidden behind warning' },
|
|
@ -3,7 +3,7 @@ import { connect } from 'react-redux';
|
||||||
import { cancelReplyCompose } from 'soapbox/actions/compose';
|
import { cancelReplyCompose } from 'soapbox/actions/compose';
|
||||||
import { makeGetStatus } from 'soapbox/selectors';
|
import { makeGetStatus } from 'soapbox/selectors';
|
||||||
|
|
||||||
import ReplyIndicator from '../components/reply_indicator';
|
import ReplyIndicator from '../components/reply-indicator';
|
||||||
|
|
||||||
import type { AppDispatch, RootState } from 'soapbox/store';
|
import type { AppDispatch, RootState } from 'soapbox/store';
|
||||||
import type { Status } from 'soapbox/types/entities';
|
import type { Status } from 'soapbox/types/entities';
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
||||||
import BundleContainer from 'soapbox/features/ui/containers/bundle_container';
|
import BundleContainer from 'soapbox/features/ui/containers/bundle_container';
|
||||||
import { ScheduleForm } from 'soapbox/features/ui/util/async-components';
|
import { ScheduleForm } from 'soapbox/features/ui/util/async-components';
|
||||||
|
|
||||||
import type { IScheduleForm } from '../components/schedule_form';
|
import type { IScheduleForm } from '../components/schedule-form';
|
||||||
|
|
||||||
const ScheduleFormContainer: React.FC<IScheduleForm> = (props) => (
|
const ScheduleFormContainer: React.FC<IScheduleForm> = (props) => (
|
||||||
<BundleContainer fetchComponent={ScheduleForm}>
|
<BundleContainer fetchComponent={ScheduleForm}>
|
|
@ -2,7 +2,7 @@ import { connect } from 'react-redux';
|
||||||
|
|
||||||
import { uploadCompose } from 'soapbox/actions/compose';
|
import { uploadCompose } from 'soapbox/actions/compose';
|
||||||
|
|
||||||
import UploadButton from '../components/upload_button';
|
import UploadButton from '../components/upload-button';
|
||||||
|
|
||||||
import type { IntlShape } from 'react-intl';
|
import type { IntlShape } from 'react-intl';
|
||||||
import type { AppDispatch, RootState } from 'soapbox/store';
|
import type { AppDispatch, RootState } from 'soapbox/store';
|
|
@ -1,4 +1,4 @@
|
||||||
import { urlRegex } from './url_regex';
|
import { urlRegex } from './url-regex';
|
||||||
|
|
||||||
const urlPlaceholder = 'xxxxxxxxxxxxxxxxxxxxxxx';
|
const urlPlaceholder = 'xxxxxxxxxxxxxxxxxxxxxxx';
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { expandConversations } from 'soapbox/actions/conversations';
|
||||||
import ScrollableList from 'soapbox/components/scrollable-list';
|
import ScrollableList from 'soapbox/components/scrollable-list';
|
||||||
import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
||||||
|
|
||||||
import Conversation from '../components/conversation';
|
import Conversation from './conversation';
|
||||||
|
|
||||||
import type { VirtuosoHandle } from 'react-virtuoso';
|
import type { VirtuosoHandle } from 'react-virtuoso';
|
||||||
|
|
|
@ -8,7 +8,7 @@ import AccountSearch from 'soapbox/components/account-search';
|
||||||
import { Column } from 'soapbox/components/ui';
|
import { Column } from 'soapbox/components/ui';
|
||||||
import { useAppDispatch } from 'soapbox/hooks';
|
import { useAppDispatch } from 'soapbox/hooks';
|
||||||
|
|
||||||
import ConversationsList from './components/conversations_list';
|
import ConversationsList from './components/conversations-list';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
title: { id: 'column.direct', defaultMessage: 'Direct messages' },
|
title: { id: 'column.direct', defaultMessage: 'Direct messages' },
|
||||||
|
|
|
@ -5,10 +5,10 @@ import { openModal } from 'soapbox/actions/modals';
|
||||||
import CopyableInput from 'soapbox/components/copyable-input';
|
import CopyableInput from 'soapbox/components/copyable-input';
|
||||||
import { Text, Icon, Stack, HStack } from 'soapbox/components/ui';
|
import { Text, Icon, Stack, HStack } from 'soapbox/components/ui';
|
||||||
|
|
||||||
import { getExplorerUrl } from '../utils/block_explorer';
|
import { getExplorerUrl } from '../utils/block-explorer';
|
||||||
import { getTitle } from '../utils/coin_db';
|
import { getTitle } from '../utils/coin-db';
|
||||||
|
|
||||||
import CryptoIcon from './crypto_icon';
|
import CryptoIcon from './crypto-icon';
|
||||||
|
|
||||||
export interface ICryptoAddress {
|
export interface ICryptoAddress {
|
||||||
address: string,
|
address: string,
|
|
@ -5,7 +5,7 @@ import { useHistory } from 'react-router-dom';
|
||||||
import { Text, Widget } from 'soapbox/components/ui';
|
import { Text, Widget } from 'soapbox/components/ui';
|
||||||
import { useAppSelector, useSoapboxConfig } from 'soapbox/hooks';
|
import { useAppSelector, useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
||||||
import SiteWallet from './site_wallet';
|
import SiteWallet from './site-wallet';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
actionTitle: { id: 'crypto_donate_panel.actions.view', defaultMessage: 'Click to see {count} {count, plural, one {wallet} other {wallets}}' },
|
actionTitle: { id: 'crypto_donate_panel.actions.view', defaultMessage: 'Click to see {count} {count, plural, one {wallet} other {wallets}}' },
|
|
@ -4,10 +4,10 @@ import React from 'react';
|
||||||
import CopyableInput from 'soapbox/components/copyable-input';
|
import CopyableInput from 'soapbox/components/copyable-input';
|
||||||
import Icon from 'soapbox/components/icon';
|
import Icon from 'soapbox/components/icon';
|
||||||
|
|
||||||
import { getExplorerUrl } from '../utils/block_explorer';
|
import { getExplorerUrl } from '../utils/block-explorer';
|
||||||
import { getTitle } from '../utils/coin_db';
|
import { getTitle } from '../utils/coin-db';
|
||||||
|
|
||||||
import CryptoIcon from './crypto_icon';
|
import CryptoIcon from './crypto-icon';
|
||||||
|
|
||||||
interface IDetailedCryptoAddress {
|
interface IDetailedCryptoAddress {
|
||||||
address: string,
|
address: string,
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
||||||
import { Stack } from 'soapbox/components/ui';
|
import { Stack } from 'soapbox/components/ui';
|
||||||
import { useSoapboxConfig } from 'soapbox/hooks';
|
import { useSoapboxConfig } from 'soapbox/hooks';
|
||||||
|
|
||||||
import CryptoAddress from './crypto_address';
|
import CryptoAddress from './crypto-address';
|
||||||
|
|
||||||
interface ISiteWallet {
|
interface ISiteWallet {
|
||||||
limit?: number,
|
limit?: number,
|
|
@ -5,7 +5,7 @@ import { Column, Stack } from 'soapbox/components/ui';
|
||||||
import Accordion from 'soapbox/features/ui/components/accordion';
|
import Accordion from 'soapbox/features/ui/components/accordion';
|
||||||
import { useAppSelector } from 'soapbox/hooks';
|
import { useAppSelector } from 'soapbox/hooks';
|
||||||
|
|
||||||
import SiteWallet from './components/site_wallet';
|
import SiteWallet from './components/site-wallet';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' },
|
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' },
|
|
@ -1,4 +1,4 @@
|
||||||
import blockExplorers from './block_explorers.json';
|
import blockExplorers from './block-explorers.json';
|
||||||
|
|
||||||
type BlockExplorers = Record<string, string | null>;
|
type BlockExplorers = Record<string, string | null>;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { fromJS } from 'immutable';
|
import { fromJS } from 'immutable';
|
||||||
|
|
||||||
import manifestMap from './manifest_map';
|
import manifestMap from './manifest-map';
|
||||||
|
|
||||||
// All this does is converts the result from manifest_map.js into an ImmutableMap
|
// All this does is converts the result from manifest_map.js into an ImmutableMap
|
||||||
const coinDB = fromJS(manifestMap);
|
const coinDB = fromJS(manifestMap);
|
|
@ -2,7 +2,7 @@
|
||||||
import { emojiIndex } from 'emoji-mart';
|
import { emojiIndex } from 'emoji-mart';
|
||||||
import pick from 'lodash/pick';
|
import pick from 'lodash/pick';
|
||||||
|
|
||||||
import { search } from '../emoji_mart_search_light';
|
import { search } from '../emoji-mart-search-light';
|
||||||
|
|
||||||
const trimEmojis = (emoji: any) => pick(emoji, ['id', 'unified', 'native', 'custom']);
|
const trimEmojis = (emoji: any) => pick(emoji, ['id', 'unified', 'native', 'custom']);
|
||||||
|
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
||||||
// The output of this module is designed to mimic emoji-mart's
|
// The output of this module is designed to mimic emoji-mart's
|
||||||
// "data" object, such that we can use it for a light version of emoji-mart's
|
// "data" object, such that we can use it for a light version of emoji-mart's
|
||||||
// emojiIndex.search functionality.
|
// emojiIndex.search functionality.
|
||||||
import emojiCompressed from './emoji_compressed';
|
import emojiCompressed from './emoji-compressed';
|
||||||
import { unicodeToUnifiedName } from './unicode_to_unified_name';
|
import { unicodeToUnifiedName } from './unicode-to-unified-name';
|
||||||
|
|
||||||
const [ shortCodesToEmojiData, skins, categories, short_names ] = emojiCompressed;
|
const [ shortCodesToEmojiData, skins, categories, short_names ] = emojiCompressed;
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -9,7 +9,7 @@ import {
|
||||||
|
|
||||||
import Column from '../ui/components/column';
|
import Column from '../ui/components/column';
|
||||||
|
|
||||||
import CSVExporter from './components/csv_exporter';
|
import CSVExporter from './components/csv-exporter';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
heading: { id: 'column.export_data', defaultMessage: 'Export data' },
|
heading: { id: 'column.export_data', defaultMessage: 'Export data' },
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue