-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add margin between unread marker and the created action #27766
Conversation
@allroundexperts Please 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] |
@allroundexperts Please ignore this PR. |
I think @rushatgabhane is supposed to review this. |
@rushatgabhane Friendly bump. |
Reviewer Checklist
Screenshots/VideosMobile Web - SafariScreen.Recording.2023-10-02.at.20.00.05.moviOSScreen.Recording.2023-10-02.at.19.57.38.movAndroidUploading Screen Recording 2023-10-02 at 19.57.38.mov… |
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.
@dukenv0307 we're modifying a boolean variable if some conditions are true.
Let's clean this up.
- Revert all code
- Determine
isNormalCreatedAction
in the end.const isNormalCreatedAction = condition1 || condition2 ...
This will make it a one line change then. What do you think?
@rushatgabhane If we make it with one line change, we will need to call those functions one more time. |
I think that's completely fine because we are improving code readability, and those functions are just doing an equality check. What do you think? |
@rushatgabhane Updated. |
@rushatgabhane Friendly bump. |
@dukenv0307 sorry for the delay |
could you please fix the merge conflicts |
@rushatgabhane I just updated. |
reviewing |
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.
LGTM
✋ 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/mountiny in version: 1.3.77-0 🚀
|
@@ -535,15 +541,15 @@ function ReportActionItem(props) { | |||
); | |||
} | |||
|
|||
return ( | |||
content = ( |
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.
I will go ahead and raise PR for fixing #27874
Edit: @dukenv0307 is on it
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.
Thanks!
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.77-7 🚀
|
Details
Add a space between the unread marker and the special created action when this unread is the first action
Fixed Issues
$ #26015
PROPOSAL: #26015 (comment)
Tests
8px
between the created action and unread markerOffline tests
QA Steps
8px
between the created action and unread markerPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screencast.from.19-09-2023.17.35.09.webm
Mobile Web - Chrome
Record_2023-09-19-17-36-29.mp4
Mobile Web - Safari
Screen.Recording.2023-09-19.at.17.39.35.mp4
Desktop
Screen.Recording.2023-09-19.at.17.43.39.mov
iOS
Screen.Recording.2023-09-19.at.17.41.15.mov
Android
26015.webm