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

fix(mobileWizard): stop highlighting on close #11049

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

Minion3665
Copy link
Member

Way-back-when, we deselected the toolbar button when the mobile wizard was closed. We stopped doing this during the leaflet migration because the functions we previously used to do it no longer existed (I652a163ea0c831b47ce7725ffd0f9f190a98d9bf). Instead, we can use whether the 'selected' class is on our elements in the DOM to see if they should be unchecked.

That change had far more '.uncheck(...)' and '.check(...)' than I've set up here, and some of those may be necessary, but this was the bug I knew about and I didn't want to poke around with things that I wasn't completely sure where I was changing.

Change-Id: I737693f6db96c8298c07b195aa374a1bbb670108

  • Resolves: #
  • Target version: master

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

Sorry, something went wrong.

Way-back-when, we deselected the toolbar button when the mobile
wizard was closed. We stopped doing this during the leaflet migration
because the functions we previously used to do it no longer existed
(I652a163ea0c831b47ce7725ffd0f9f190a98d9bf). Instead, we can use whether
the 'selected' class is on our elements in the DOM to see if they should
be unchecked.

That change had far more '.uncheck(...)' and '.check(...)' than I've
set up here, and some of those may be necessary, but this was the bug
I knew about and I didn't want to poke around with things that I wasn't
completely sure where I was changing.

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I737693f6db96c8298c07b195aa374a1bbb670108
@Minion3665 Minion3665 requested a review from eszkadev January 29, 2025 14:07
Copy link
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

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

thanks for the fix!

@eszkadev eszkadev merged commit e19aa5c into master Feb 2, 2025
14 checks passed
@eszkadev eszkadev deleted the private/skyler/push-pnnmsqoopsww branch February 2, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants