From 590381fb235f168a3d9848d7b649f5157914cc32 Mon Sep 17 00:00:00 2001 From: Curtis Date: Sat, 2 Apr 2022 02:30:04 +0000 Subject: [PATCH 1/3] Update header.js --- app/soapbox/features/public_layout/components/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/public_layout/components/header.js b/app/soapbox/features/public_layout/components/header.js index 3fad205fb..4a6af284d 100644 --- a/app/soapbox/features/public_layout/components/header.js +++ b/app/soapbox/features/public_layout/components/header.js @@ -83,7 +83,7 @@ const Header = () => { /> - Logo + Logo {intl.formatMessage(messages.home)} From 0661ca25be76531cf2c1b106298adc6153dd7e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 2 Apr 2022 16:10:16 +0200 Subject: [PATCH 2/3] styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/list.js | 2 +- app/soapbox/components/ui/input/input.tsx | 2 +- app/soapbox/features/aliases/index.js | 28 ++--- app/soapbox/features/bookmarks/index.js | 1 + app/soapbox/features/chats/chat_room.js | 9 +- .../features/chats/components/chat_box.js | 16 +-- .../chats/components/chat_message_list.js | 6 +- .../features/community_timeline/index.js | 1 + .../features/compose/components/search.tsx | 2 +- app/soapbox/features/list_editor/index.js | 19 ++-- app/soapbox/features/list_timeline/index.js | 1 + app/soapbox/features/lists/index.js | 15 ++- app/soapbox/features/migration/index.js | 100 +++++++++--------- app/soapbox/features/public_timeline/index.js | 1 + app/soapbox/features/remote_timeline/index.js | 1 + .../features/ui/components/hotkeys_modal.js | 21 ++-- .../features/ui/components/reactions_modal.js | 23 ++-- .../features/ui/components/report_modal.js | 24 ++--- app/styles/chats.scss | 52 ++++----- app/styles/components/aliases.scss | 47 -------- app/styles/components/compose-form.scss | 15 +-- app/styles/components/snackbar.scss | 6 +- 22 files changed, 158 insertions(+), 234 deletions(-) diff --git a/app/soapbox/components/list.js b/app/soapbox/components/list.js index eb6de5b60..ed0210c68 100644 --- a/app/soapbox/components/list.js +++ b/app/soapbox/components/list.js @@ -51,7 +51,7 @@ const ListItem = ({ label, hint, children, onClick }) => { {onClick ? ( -
+
{children} diff --git a/app/soapbox/components/ui/input/input.tsx b/app/soapbox/components/ui/input/input.tsx index e0be25d49..8eaee8904 100644 --- a/app/soapbox/components/ui/input/input.tsx +++ b/app/soapbox/components/ui/input/input.tsx @@ -50,7 +50,7 @@ const Input = React.forwardRef( type={revealed ? 'text' : type} ref={ref} className={classNames({ - 'block w-full sm:text-sm border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500': + 'dark:bg-slate-800 block w-full sm:text-sm border-gray-300 dark:border-gray-600 rounded-md focus:ring-indigo-500 focus:border-indigo-500': true, 'pr-7': isPassword, 'pl-8': typeof icon !== 'undefined', diff --git a/app/soapbox/features/aliases/index.js b/app/soapbox/features/aliases/index.js index 5d8fe3b60..f2bd512bc 100644 --- a/app/soapbox/features/aliases/index.js +++ b/app/soapbox/features/aliases/index.js @@ -7,11 +7,10 @@ import { connect } from 'react-redux'; import { fetchAliases, removeFromAliases } from 'soapbox/actions/aliases'; import Icon from 'soapbox/components/icon'; import ScrollableList from 'soapbox/components/scrollable_list'; +import { CardHeader, CardTitle, Column, HStack, Text } from 'soapbox/components/ui'; import { makeGetAccount } from 'soapbox/selectors'; import { getFeatures } from 'soapbox/utils/features'; -import Column from '../ui/components/column'; -import ColumnSubheading from '../ui/components/column_subheading'; import Account from './components/account'; import Search from './components/search'; @@ -71,7 +70,9 @@ class Aliases extends ImmutablePureComponent { return ( - + + + { loaded && searchAccountIds.size === 0 ? ( @@ -84,23 +85,26 @@ class Aliases extends ImmutablePureComponent {
) } - + + +
{aliases.map((alias, i) => ( -
-
- - {alias} + +
+ + {' '} + {alias}
-
- - +
+ +
-
+
))}
diff --git a/app/soapbox/features/bookmarks/index.js b/app/soapbox/features/bookmarks/index.js index 0a2a90c31..d2b7ea613 100644 --- a/app/soapbox/features/bookmarks/index.js +++ b/app/soapbox/features/bookmarks/index.js @@ -74,6 +74,7 @@ class Bookmarks extends ImmutablePureComponent { shouldUpdateScroll={shouldUpdateScroll} emptyMessage={emptyMessage} bindToDocument={!multiColumn} + divideType='space' /> ); diff --git a/app/soapbox/features/chats/chat_room.js b/app/soapbox/features/chats/chat_room.js index d10556971..5ea275b5e 100644 --- a/app/soapbox/features/chats/chat_room.js +++ b/app/soapbox/features/chats/chat_room.js @@ -5,11 +5,8 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { injectIntl } from 'react-intl'; import { connect } from 'react-redux'; -import { Link } from 'react-router-dom'; import { fetchChat, markChatRead } from 'soapbox/actions/chats'; -import Avatar from 'soapbox/components/avatar'; -import ColumnBackButton from 'soapbox/components/column_back_button'; import { Column } from 'soapbox/components/ui'; import { makeGetChat } from 'soapbox/selectors'; import { getAcct } from 'soapbox/utils/accounts'; @@ -78,8 +75,8 @@ class ChatRoom extends ImmutablePureComponent { const account = chat.get('account'); return ( - -
+ + {/*
@@ -87,7 +84,7 @@ class ChatRoom extends ImmutablePureComponent { @{getAcct(account, displayFqn)}
-
+
*/} - -
+ ) : ( ); @@ -197,7 +195,9 @@ class ChatBox extends ImmutablePureComponent { {this.renderAttachment()}
- {this.renderActionButton()} +
+ {this.renderActionButton()} +