-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Tours system improvements #26454
Tours system improvements #26454
Conversation
7521434
to
e3bc132
Compare
@Eism The dismissal behavior is looking good for the most part! A couple small things:
|
8e7b01d
to
6f15e30
Compare
Thanks Elnur! Approving this with the caveat that the very first time I opened this build, the tour popup appeared before the Nucleus dialog and the tour got dismissed (as was previously happening). I haven't been able to reproduce it after resetting preferences. Maybe it had something to do with assets in the Nucleus dialog taking a second to load, and now they're cached? |
6f15e30
to
ea46b4f
Compare
Tested on macOS. Can confirm:
I did note the tour is dismissed if you navigate to a different tab (e.g. "Home" and then back to "Score"), however I don't think this is a problem. Happy to approve from my end. @DmitryArefiev let us know if you uncover anything else noteworthy 🙂 |
58b1d03
to
f3d36dd
Compare
Retested on win and macOS. Much improved. |
before the tour is shown, a promo dialog is shown and if the user goes to the browser to see the update information, then the tour will close immediately since the program does not active
if user clicked on control we will close tour step and show next one if tour's step opened, the control's tooltip will not be shown
7ac704f
to
77fb2ce
Compare
step.videoExplanationUrl = itemObj.value("video_explanation_url").toString(); | ||
step.controlUri = Uri(itemObj.value("control_uri").toString()); | ||
|
||
JsonObject itemLocaleObj = itemObj.value("locale").toObject(); | ||
|
||
if (!itemLocaleObj.contains(locale)) { |
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.
Do we still need this code?
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.
I will keep this type of registration for the future
} | ||
} | ||
|
||
bool ToursProvider::canControlTourPopupClosing() const |
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.
Maybe just autoCloseTourPopup()
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.
canControlTourPopupClosing looks more like bool method
f8b13b9
to
853e826
Compare
853e826
to
bdcd446
Compare
Resolves: #26342
Resolves: #26341
Resolves: #26300