-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map error code for scheduled post #8628
base: swipeable-delete-scheduled-post
Are you sure you want to change the base?
Map error code for scheduled post #8628
Conversation
736f6f9
to
d1c04a9
Compare
a9f5510
to
5c8d1f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A comment related to types.
Also, in case of error, how does the schedule post gets removed? Maybe a screen recording would help to see
@@ -183,7 +184,7 @@ const DraftAndScheduledPostHeader: React.FC<Props> = ({ | |||
size={12} | |||
color={theme.buttonColor} | |||
/> | |||
<Text style={style.errorText}>{'CHANNEL IS READ-ONLY'}</Text> | |||
<Text style={style.errorText}>{getErrorStringFromCode(intl, scheduledPostErrorCode as ScheduledPostErrorCode)}</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the prop have the right type already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix the type issue in the separate PR. Create a jira ticket for it: https://mattermost.atlassian.net/browse/MM-63257
d1c04a9
to
a6e995f
Compare
c33336d
to
d6f6e0e
Compare
fb548cb
to
eb0e95b
Compare
d6f6e0e
to
2b60d2c
Compare
Looks good overall, noticed a few issues: Also the scheduled bar does not appear after scheduling a message. |
|
Summary
Ticket Link
Checklist
E2E iOS tests for PR
.Device Information
This PR was tested on:
Screenshots
Release Note