-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[NoQA] Add punctuation to error messages where they are missing #14280
Conversation
@mollfpr @youssef-lr One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Unassigning @mollfpr as this is super simple PR and it does not need a C+ review. @youssef-lr would you be able to fill out the reviewer checklist please? This is noQA and I have tested as you can see in the screenshots so we should be good here! Thank you! |
@@ -123,7 +123,7 @@ export default { | |||
attachmentTooLarge: 'Attachment too large', | |||
sizeExceeded: 'Attachment size is larger than 24 MB limit.', | |||
attachmentTooSmall: 'Attachment too small', |
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.
I figure we should do the same for the rest as well?
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.
@youssef-lr I checked those as well but they are used in a title, not in a modal/error body
App/src/components/AttachmentModal.js
Line 169 in aff83ef
attachmentInvalidReasonTitle: this.props.translate('attachmentPicker.attachmentTooLarge'), |
App/src/components/AttachmentModal.js
Line 178 in aff83ef
attachmentInvalidReasonTitle: this.props.translate('attachmentPicker.attachmentTooSmall'), |
We dont want dot there.
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.
ok nice
Thanks @youssef-lr I think those are not applicable, but there could be more, I was not completely sure, I think we can adjust them as we go if there will be more of these issues, havent seen others. |
|
Reviewer Checklist
Screenshots/Videos |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.2.57-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.57-3 🚀
|
Details
Fixing couple of inconsistencies in the error messages and their punctuation.
Fixed Issues
$ #14200
Tests
Just adding a dot to some error messages.
You can test one of the messages by using this image
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android