-
Notifications
You must be signed in to change notification settings - Fork 286
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
Admin settings Key metrics answer preview loading issue. #6428
Comments
IB ✔️ |
@kuasha420 @eugene-manuilov |
@aaemnnosttv Can you link me to the issue where this happened? I assume it hasn't been merged into develop yet? |
@aaemnnosttv Checked and confirmed the issue still exists with the latest |
QA Update ❌
Recording.218.mp4 |
@mohitwp good spot. I spotted the same when I was testing the key metrics banner on the main dashboard. I was informed by Jimmy that this would be fixed in another ticket. You can read about that here. It looks like 6209 and 6210 would fix this, but I will let @sashadoes confirm that for admin settings. |
@jimmymadon Hi, the issue I found with the flicker of the key metrics banner on the dashboard is also appearing on the admin settings screen. Will the tickets you mentioned here also fix this? I don't want us to approve this and then find out it'll not be fixed. Thank you! c.c. @mohitwp |
@wpdarren I believe the new settings panel is "new code" already - am I right @sashadoes / @kuasha420? So even though there are some Key Metric issues that enhance this settings panel, we should fix this flickering as part of this issue preferably in my opinion. |
QA Update ❌-Tested on dev environment.
Recording.223.mp4Recording.221.mp4 |
Hi @mohitwp, thanks for the update. So..How do you want it to behave? Do you want to remove the progress bar or maybe add some delay so that rapid change will never happen? cc @wpdarren @jimmymadon |
@sashadoes It would be good if we can add progress bar also when user refreshes the page. Not only when user switch to admin settings tab. @jimmymadon @wpdarren Can you please suggest what ideal behavior we can achieve in this case ? |
@sashadoes I agree with @mohitwp it looks a odd UX/UI when the progress bar loads for a second then the answers to the questions load when you refresh the page. Especially because it doesn't occur when you click on the admin settings. Both should behave the same in my opinion. Interested in @jimmymadon opinion on this. It's minor, but will likely come up in the bug bash so better to resolve it now. |
There are two cases here:
c.c. @aaemnnosttv |
After discussing with @jimmymadon, we agreed to quickly fix the second case he mentioned above related to gathering state conditions. We'll open a new issue about addressing flickers due to "super quick" progress/loaders more holistically 👍 |
After some further investigation with @jimmymadon, we found that the conditional logic to display the user input CTA on the admin settings based on module gathering states was a bit premature and will inevitably lead to a flicker or shift any time we need to check if the modules are in a gathering state that requires an API request (regardless if we check for gathering or not gathering). We've gone ahead and removed that conditional logic for now, with the intention to reintroduce it in (or after) #5933 which ideally should have been done first as this will provide the gathering state on page load so long as we know that the module is not in a gathering state. So we'll follow up to reintroduce this after that issue. Another reason for deferring this is related to a few existing tests which were passing because of the flicker (CTA seen as present) before disappearing because of the lack of gathering state being considered/provided in the test. This change brings the interface back into parity with the expectations of the test without requiring additional time-consuming changes to fix. TL;DR there is no more flicker on the admin settings because the user input CTA should be shown regardless of the gathering state now, but this will be corrected in a future issue. |
@mohitwp please see the updates outlined above, otherwise this should be ready for another pass 👍 |
QA Update ✅
Recording.224.mp4Recording.225.mp4 |
Bug Description
If analytics is connected then for milliseconds "CTA gets load" before we see the answer preview screen.
Steps to reproduce
Screenshots
Recording.211.mp4
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
isUserInputCompleted
briefly returningundefined
before resolving while the other prerequisites are resolved and met. (ie. Both Analytics and SC is connected and has data).UserInputSettings
component whenisUserInputCompleted
isundefined
or'true'
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: