Integrate OpenPolicyMoreFeaturesPage command#38135
Conversation
|
@sobitneupane 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] |
…ture/37366-OpenPolicyMoreFeaturesPage-command
| [isSmallScreenWidth, styles, renderItem, translate], | ||
| ); | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
We should also trigger this callback onReconnect, like we do here for example
mountiny
left a comment
There was a problem hiding this comment.
I see we use both so not blocking on this:
I think there is one issue we will need to look at, when you click to different feature page and back, then back feature is not called again. I would imagine the api command should be called everytime we open the feature page. I dont think we have to hold on it
Screen.Recording.2024-03-13.at.13.50.31.mp4
| [isSmallScreenWidth, styles, renderItem, translate], | ||
| ); | ||
|
|
||
| function fetchFeatures() { |
There was a problem hiding this comment.
do we prefer this or const fetchFeatures = () => {} appraoch?
There was a problem hiding this comment.
We don't have a defined guideline for that, do you want me to change to const...?
Reviewer Checklist
Screenshots/VideosTested on web, see above, the changes are straightforward Android: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Hey @mountiny , about the bug, yeah it looks like the first selected screen is always "cached" when you open the workspace details. Screen.Recording.2024-03-13.at.16.03.26-compressed.movAt the beginning of the video I navigated to the workspace details and the first selected screen was Not sure if it's intended or not (or part of the navigation system), but I think a quick fix would be using |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.52-0 🚀
|
|
Created issue here #38378 |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
Details
The PR integrates a new command to fetch more feature flags -
OpenPolicyMoreFeaturesPage. The app should trigger the command on each page opening.Fixed Issues
$ #37366
PROPOSAL: N/A
Tests
Offline tests
Same as "Tests".
QA Steps
Same as "Tests".
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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
Android: Native
Android.+.Desktop.mp4
Android: mWeb Chrome
IOS.Safari.+.Android.Chrome.mp4
iOS: Native
Chrome.+.IOS.mp4
iOS: mWeb Safari
IOS.Safari.+.Android.Chrome.mp4
MacOS: Chrome / Safari
Chrome.+.IOS.mp4
MacOS: Desktop
Android.+.Desktop.mp4