Skip to content

Improve dynamic action selection.#191

Open
j00bar wants to merge 1 commit into
crccheck:mainfrom
j00bar:main
Open

Improve dynamic action selection.#191
j00bar wants to merge 1 commit into
crccheck:mainfrom
j00bar:main

Conversation

@j00bar
Copy link
Copy Markdown

@j00bar j00bar commented Jan 28, 2026

Presently, dynamic actions via the get_change_actions and get_changelist_actions methods only impact the UI presentation of available actions. The class variables for change_actions and changelist_actions must contain all possible actions, and the BaseActionView will respond to action requests regardless of whether the tool is in change_actions or changelist_actions and regardless of whether get_change_actions or get_changelist_actions would include that action for the given request.

This PR fulfills the wishlist item to make the BaseActionView respond only to the actions permitted by the dynamic action functions and only for the type of action allowed.

It attempts to maintain as much backward compatibility as possible in doing so, with an eye toward minimizing any breakage for older, customized installations.

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.

1 participant