Remove withDismiss prop from status, update CHANGELOG

environments/review-thread-mut-g2zcpb/deployments/2493
Alex Gleason 2 years ago
parent d0078e7f17
commit 01aef5e89e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Chats: improved display of media attachments.
- ServiceWorker: switch to a network-first strategy. The "An update is available!" prompt goes away.
- Posts: increased font size of focused status in threads.
- Posts: let "mute conversation" be clicked from any feed, not just noficiations.
### Fixed
- Chats: media attachments rendering at the wrong size and/or causing the chat to scroll on load.

@ -98,7 +98,6 @@ const messages = defineMessages({
interface IStatusActionBar {
status: Status,
withDismiss?: boolean,
withLabels?: boolean,
expandable?: boolean,
space?: 'expand' | 'compact',
@ -106,7 +105,6 @@ interface IStatusActionBar {
const StatusActionBar: React.FC<IStatusActionBar> = ({
status,
withDismiss = false,
withLabels = false,
expandable = true,
space = 'compact',

@ -53,7 +53,6 @@ export interface IStatus {
hoverable?: boolean,
variant?: 'default' | 'rounded',
showGroup?: boolean,
withDismiss?: boolean,
accountAction?: React.ReactElement,
}
@ -74,7 +73,6 @@ const Status: React.FC<IStatus> = (props) => {
hideActionBar,
variant = 'rounded',
showGroup = true,
withDismiss,
} = props;
const intl = useIntl();
@ -421,7 +419,7 @@ const Status: React.FC<IStatus> = (props) => {
{(!hideActionBar && !isUnderReview) && (
<div className='pt-4'>
<StatusActionBar status={actualStatus} withDismiss={withDismiss} />
<StatusActionBar status={actualStatus} />
</div>
)}
</div>

@ -325,7 +325,6 @@ const Notification: React.FC<INotificaton> = (props) => {
return status && typeof status === 'object' ? (
<StatusContainer
id={status.id}
withDismiss
hidden={hidden}
onMoveDown={handleMoveDown}
onMoveUp={handleMoveUp}

Loading…
Cancel
Save