Skip to content
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

XKit Preferences: Cancel first-install tour on any successful click #2181

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

marcustyphoon
Copy link

@marcustyphoon marcustyphoon commented Dec 18, 2024

I've got a user report in DMs in which the "Welcome to XKit! Let's get started." interface appears and makes the Tumblr UI inaccessible. I have no explanation for exactly how this could occur, and troubleshooting hasn't uncovered it. The user has been opening Tumblr to a non-dashboard page to get around the tour interface.

This PR moves the "end tour" logic so that it applies on any successful XKit preferences button click, instead of only when the button is clicked from the tour interface. Presumably if a user has found the button, they no longer need a tour.

This should be copied into the 7.9.2 branch as well (note: copy the whole xkit_preferences.js and xkit_preferences.css files rather than cherry picking).

Copy link

@hobinjk hobinjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, sadly couldn't get the bug to happen locally but I didn't see any regressions so 👍

@marcustyphoon marcustyphoon merged commit 5e0ee64 into new-xkit:master Dec 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants