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

Improved Extensions API #6354

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Improved Extensions API #6354

wants to merge 6 commits into from

Conversation

Vasyanator
Copy link

Checklist:

Support for ui_block, ui_tab and ui_params functions in extensions has been added. There is backward compatibility with the deprecated ui function.

  • ui_block() works similarly to ui() when is_tab=False.
  • ui_tab() works similarly to ui when is_tab=True.
  • ui_params() adds a tab with extension name to Parameters to implement extension settings.

This allows extensions to have a more convenient and simpler interface.

@Touch-Night
Copy link
Contributor

Great! Formerly I can only write workaround like this to make my extension have both block and tab ui.

@Vasyanator Vasyanator changed the base branch from main to dev August 30, 2024 13:08
@Vasyanator Vasyanator changed the base branch from dev to main August 30, 2024 13:08
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