Skip to content

Add support for stateful action tools#14143

Merged
mattpap merged 24 commits into
branch-3.7from
mattpap/13773_togglable_action_tool
Dec 16, 2024
Merged

Add support for stateful action tools#14143
mattpap merged 24 commits into
branch-3.7from
mattpap/13773_togglable_action_tool

Conversation

@mattpap

@mattpap mattpap commented Nov 7, 2024

Copy link
Copy Markdown
Contributor

For example in the case of ExamineTool:

Screencast.from.2024-11-07.13-04-33.webm

Using CustomAction (from examples/interaction/tools/legend_visibility_tool.py):

Screencast.from.2024-11-07.13-06-42.webm

fixes #13773
fixes #14183

@mattpap mattpap added this to the 3.7 milestone Nov 7, 2024
@mattpap
mattpap force-pushed the mattpap/13773_togglable_action_tool branch from b9e6184 to 30ce72e Compare November 11, 2024 10:28
@mattpap
mattpap force-pushed the mattpap/13773_togglable_action_tool branch 2 times, most recently from 98ddc95 to 255496b Compare December 4, 2024 07:16
@mattpap
mattpap requested review from bryevdv and hoxbro December 4, 2024 07:16
Comment thread src/bokeh/models/tools.py Outdated
Comment thread examples/interaction/tools/legend_visibility_tool.py
Comment thread src/bokeh/models/tools.py Outdated

@hoxbro hoxbro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One thing I don't completely understand. But other than that, this LGTM.

Comment thread bokehjs/src/lib/api/gridplot.ts
@mattpap
mattpap force-pushed the mattpap/13773_togglable_action_tool branch from 27efd53 to 5c8b265 Compare December 16, 2024 14:15
@mattpap

mattpap commented Dec 16, 2024

Copy link
Copy Markdown
Contributor Author

The problem with testing was only partially due to readiness notification. Mostly it was due to unreliable tapping gesture, which sometimes didn't trigger, maybe do to page scrolling or something related.

@mattpap
mattpap merged commit 5be848f into branch-3.7 Dec 16, 2024
@mattpap
mattpap deleted the mattpap/13773_togglable_action_tool branch December 16, 2024 15:15
@github-actions

github-actions Bot commented Apr 2, 2025

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Dialog widget multiple show/hide broken Add support toggleable CustomAction tool buttons

2 participants