-
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
fix offline deleted heading link style and link padding #20996
fix offline deleted heading link style and link padding #20996
Conversation
@0xmiroslav 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] |
@cristipaval @mollfpr @twisterdotcom PR is up. Ready for review. |
Will test this PR tomorrow morning 🙏 |
Reviewer Checklist
Screenshots/VideosWeb20996.Web.1.mp420996.Web.2.mp420996.Web.3.mp420996.Web.4.mp4Mobile Web - Chrome20996.mWeb.Chrome.webmMobile Web - Safari20996.mWeb-Safari.1.mp420996.mWeb-Safari.2.mp4Desktop20996.Desktop.1.mov20996.Desktop.2.mov20996.Desktop.3.moviOS20996.iOS.1.mp420996.iOS.2.mp4Android20996.Android.mp4 |
@@ -68,7 +70,7 @@ function BaseAnchorForCommentsOnly(props) { | |||
<Tooltip text={props.href}> | |||
<Text | |||
ref={(el) => (linkRef = el)} | |||
style={StyleSheet.flatten([props.style, defaultTextStyle])} | |||
style={StyleSheet.flatten([props.style, defaultTextStyle, styles.cursorPointer])} |
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.
@Nikhil-Vats I got a warning on the native app regarding the cursor style.
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.
@mollfpr fixed!
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 👍
Hey @cristipaval you were not added as a reviewer here, so can you add yourself? |
✋ 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/cristipaval in version: 1.3.31-0 🚀
|
This PR seems to be failing QA. I'm not gonna block the deploy on this since it's a cosmetic change that doesn't impact app functionality. @amyevans @cristipaval could you please check if this is indeed failing? |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
I have also tested and the issues mentioned in the comment are not applicable. |
Details
Fixes the following issues -
Fixed Issues
$ #18658
$ #17488
$ #18658 (comment)
Tests
For testing #17488 (padding above header links) -
You can also follow the same steps on the desktop app on MacOS to verify that it is working successfully there as well.
For testing #16526 (cursor shown in empty space for links that span multiple lines) -
e.g link : Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ornare dignissim nunc, eleifend molestie dui tempus non. Proin semper eu metus sit amet feugiat. Sed turpis augue, pellentesque sed accumsan ornare, malesuada in ligula. Aliquam porta condimentum varius. Morbi id lorem felis.
For testing #20669 (cursor is not pointer for internal links) -
Offline tests
Issue #18658 must be tested in offline mode. Follow the steps below -
Note -
Messages are separated by a new empty line.
a. After deleting attachments like images, PDFs, GIFs which have preview, their opacity should decrease and user should not be able to open them.
b. For attachments without previews like CSV, docs, etc. A strikethrough should be shown similar to text comments.
You can test this behaviour on a mobile browser, desktop browser, MacOS desktop app, iOS app, android app, etc using the same steps.
QA Steps
Follow the same steps listed in the sections above. Expand this to see the same steps.
PR 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
chrome.mov
Mobile Web - Chrome
mWeb.chrome.mov
Mobile Web - Safari
mWeb.ios.mov
Desktop
18658_desktop.mov
iOS
18658_ios.mov
Android
android.mov