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

Allow action button with unmatched condition remain display/function. #2488

Open
ououn opened this issue Sep 21, 2024 · 0 comments
Open

Allow action button with unmatched condition remain display/function. #2488

ououn opened this issue Sep 21, 2024 · 0 comments

Comments

@ououn
Copy link

ououn commented Sep 21, 2024

Detailed description of your suggestion

Currently, when an action button don't met it's condition, it will disappear. When multiple action buttons appear/disappear follow by condition changes, their appearance/disappearance from the place where they got assigned to causing ui size(usually height) changes.

Also allow action with unmatched condition run another set of code, which allow plugin creator, for example pop a showMessageBox to tell user in what condition this action can be use.

TLDR:

  1. Option for plugin creator, that allow action with unmatched condition remain display but icon changed to darker tone, and
  2. When pressed, allow action with unmatched condition run separate code.
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

No branches or pull requests

1 participant