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

refactor: widgets tab - actions #409

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

Charlie-XIAO
Copy link
Contributor

@Charlie-XIAO Charlie-XIAO commented Feb 6, 2025

Extracted from and refactored upon #370.

Apart from the frontend, this PR also makes some changes to the opener function, which now only takes a widget ID. This may not actually be necessary, because config hardly changes, so for the actions there is not much difference taking ID and type versus taking config as well (which includes dir), but still it probably makes more sense to do it in the backend, especially since the functionality of getting a specific widget directory is not specific to this use case (plugin system also uses it, and probably in the future there will be others).

image
image

@Charlie-XIAO Charlie-XIAO merged commit c9e32d8 into main Feb 6, 2025
11 checks passed
@Charlie-XIAO Charlie-XIAO deleted the refactor/widgets-actions branch February 6, 2025 09:00
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