-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Migrate QRShare to function component #32690
Migrate QRShare to function component #32690
Conversation
@shubham1206agra 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-10.at.9.11.56.PM.movAndroid: mWeb ChromeScreen.Recording.2023-12-10.at.8.32.56.PM.moviOS: NativeScreen.Recording.2023-12-10.at.8.41.00.PM.moviOS: mWeb SafariScreen.Recording.2023-12-10.at.8.14.01.PM.movMacOS: Chrome / SafariScreen.Recording.2023-12-10.at.8.12.46.PM.movMacOS: DesktopScreen.Recording.2023-12-10.at.8.36.26.PM.mov |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25124 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
✋ 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/marcaaron in version: 1.4.12-0 🚀
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.4.12-0 🚀
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.4.12-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.12-2 🚀
|
class QRShare extends Component { | ||
constructor(props) { | ||
super(props); | ||
const [qrCodeSize, setQrCodeSize] = useState(1); |
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.
Having small initial size for QR code made it change its size while page is opening. Ref: #44436
Details
This PR will migrate
QRShare
to function component first before proceeding with TS migration.Fixed Issues
$ #25124
PROPOSAL:
Tests
Offline tests
N/A
QA 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)StyleUtils.getBackgroundAndBorderStyle(theme.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
Android: Native
Screen.Recording.2023-12-07.at.16.49.18-compressed.mov
Android: mWeb Chrome
Screen.Recording.2023-12-07.at.16.50.56-compressed.mov
iOS: Native
Screen.Recording.2023-12-07.at.16.51.57-compressed.mov
iOS: mWeb Safari
Screen.Recording.2023-12-07.at.16.53.03-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2023-12-07.at.16.56.57-compressed.mov
Screen.Recording.2023-12-07.at.16.57.31-compressed.mov
MacOS: Desktop
Screen.Recording.2023-12-07.at.16.57.54-compressed.mov