diff --git a/app/javascript/flavours/glitch/components/status_action_bar.jsx b/app/javascript/flavours/glitch/components/status_action_bar.jsx
index b92ff325bd3b09..82b100e89a8fe5 100644
--- a/app/javascript/flavours/glitch/components/status_action_bar.jsx
+++ b/app/javascript/flavours/glitch/components/status_action_bar.jsx
@@ -213,8 +213,6 @@ class StatusActionBar extends ImmutablePureComponent {
this.props.onAddFilter(this.props.status);
};
- handleNoOp = () => {}; // hack for reaction add button
-
render () {
const { status, intl, withDismiss, withCounters, showReplyCount, scrollKey } = this.props;
const { permissions, signedIn } = this.props.identity;
@@ -331,16 +329,6 @@ class StatusActionBar extends ImmutablePureComponent {
);
const canReact = permissions && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
- const reactButton = (
-
- );
return (
@@ -362,11 +350,7 @@ class StatusActionBar extends ImmutablePureComponent {
diff --git a/app/javascript/flavours/glitch/components/status_prepend.jsx b/app/javascript/flavours/glitch/components/status_prepend.jsx
index fa54d42f6f52f3..fe880551d16405 100644
--- a/app/javascript/flavours/glitch/components/status_prepend.jsx
+++ b/app/javascript/flavours/glitch/components/status_prepend.jsx
@@ -6,10 +6,10 @@ import { FormattedMessage } from 'react-intl';
import ImmutablePropTypes from 'react-immutable-proptypes';
-import AddReactionIcon from '@/material-icons/400-24px/add_reaction.svg?react';
import EditIcon from '@/material-icons/400-24px/edit.svg?react';
import HomeIcon from '@/material-icons/400-24px/home-fill.svg?react';
import InsertChartIcon from '@/material-icons/400-24px/insert_chart.svg?react';
+import MoodIcon from '@/material-icons/400-24px/mood.svg?react';
import PushPinIcon from '@/material-icons/400-24px/push_pin.svg?react';
import RepeatIcon from '@/material-icons/400-24px/repeat.svg?react';
import StarIcon from '@/material-icons/400-24px/star-fill.svg?react';
@@ -135,8 +135,8 @@ export default class StatusPrepend extends PureComponent {
iconComponent = StarIcon;
break;
case 'reaction':
- iconId = 'add_reaction';
- iconComponent = AddReactionIcon;
+ iconId = 'mood';
+ iconComponent = MoodIcon;
break;
case 'featured':
iconId = 'thumb-tack';
diff --git a/app/javascript/flavours/glitch/features/compose/components/emoji_picker_dropdown.jsx b/app/javascript/flavours/glitch/features/compose/components/emoji_picker_dropdown.jsx
index 4c7e74675abc8c..ac835d51ef82c1 100644
--- a/app/javascript/flavours/glitch/features/compose/components/emoji_picker_dropdown.jsx
+++ b/app/javascript/flavours/glitch/features/compose/components/emoji_picker_dropdown.jsx
@@ -327,6 +327,8 @@ class EmojiPickerDropdown extends PureComponent {
onPickEmoji: PropTypes.func.isRequired,
onSkinTone: PropTypes.func.isRequired,
skinTone: PropTypes.number.isRequired,
+ title: PropTypes.string,
+ icon: PropTypes.node,
disabled: PropTypes.bool,
};
@@ -390,17 +392,17 @@ class EmojiPickerDropdown extends PureComponent {
};
render () {
- const { intl, onPickEmoji, onSkinTone, skinTone, frequentlyUsedEmojis } = this.props;
- const title = intl.formatMessage(messages.emoji);
+ const { intl, onPickEmoji, onSkinTone, skinTone, frequentlyUsedEmojis, title, icon, disabled } = this.props;
const { active, loading, placement } = this.state;
return (
diff --git a/app/javascript/flavours/glitch/features/status/components/action_bar.jsx b/app/javascript/flavours/glitch/features/status/components/action_bar.jsx
index ef8805b714c969..45d071b91c8ef9 100644
--- a/app/javascript/flavours/glitch/features/status/components/action_bar.jsx
+++ b/app/javascript/flavours/glitch/features/status/components/action_bar.jsx
@@ -157,8 +157,6 @@ class ActionBar extends PureComponent {
navigator.clipboard.writeText(url);
};
- handleNoOp = () => {}; // hack for reaction add button
-
render () {
const { status, intl } = this.props;
const { signedIn, permissions } = this.props.identity;
@@ -236,16 +234,6 @@ class ActionBar extends PureComponent {
}
const canReact = signedIn && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
- const reactButton = (
-
- );
const reblogPrivate = status.getIn(['account', 'id']) === me && status.get('visibility') === 'private';
@@ -270,13 +258,7 @@ class ActionBar extends PureComponent {
-
- {
- signedIn
- ?
- : reactButton
- }
-
+
diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss
index aa531ee166ec08..54585c5ac7ae7f 100644
--- a/app/javascript/flavours/glitch/styles/components.scss
+++ b/app/javascript/flavours/glitch/styles/components.scss
@@ -1857,8 +1857,12 @@ body > [data-popper-placement] {
flex-grow: 1;
}
- & > .emoji-picker-dropdown > .emoji-button {
- padding: 0;
+ & > .emoji-picker-dropdown {
+ height: 24px;
+
+ > .emoji-button {
+ padding: 0;
+ }
}
}