Repository navigation
[HelpDot] add selector - #35510
[HelpDot] add selector #35510
Conversation
|
@dubielzyk-expensify @c3024 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] |
|
@c3024 kindly approve the PR to assign internal, thank you! 🙇 |
dubielzyk-expensify
left a comment
There was a problem hiding this comment.
This is awesome! Great great work!
| function selectOption(s) { | ||
| if (!s) { |
There was a problem hiding this comment.
generally we prefer to avoid abbreviated variable names
There was a problem hiding this comment.
@NikkiWines i've changed it to select
s is a select entity being passed.
<select>
<option>Mobile</option>
<option>Desktop</option>
</select>
There was a problem hiding this comment.
let me know if you have a better suggestion, thanks!
NikkiWines
left a comment
There was a problem hiding this comment.
You've got a lint error but otherwise this looks good!
|
@NikkiWines fixed lint, thank you! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@NikkiWines looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Helpdot deploy workflow doesn't work on forks |
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀
|
Details
Adding inline selectors to change article content between desktop, mobile etc.
All tabs in the page are syncronized and the first value is default.
More context: https://expensify.slack.com/archives/C02QSAC6BJ8/p1706657162425239?thread_ts=1706560215.383069&cid=C02QSAC6BJ8
Fixed Issues
$ #34462
PROPOSAL:
Tests
cd docs && npm run createDocsRoutes && bundle exec jekyll serve --livereload --safeOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Details
Screen.Recording.2024-02-01.at.20.38.13.mov
Web
Mobile small screen