-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Improve the plugin editor UX #36677
Improve the plugin editor UX #36677
Conversation
0544105
to
d41b406
Compare
- Make the subfolder path and script path optional. - If empty, the default subfolder path will be the plugin name converted to `snake_case`. - If empty, the plugin path will be `plugin.<ext>` where `<ext>` is the extension of the script language chosen. - Add tooltips to all fields. - Align labels to the right to be closer to the text fields. - Rename the "Update" button to "Refresh" in the plugin list as it doesn't actually update plugins, just refresh the list.
d41b406
to
ef9f28a
Compare
We should try discussing about making this consistent across the editor, as most labels of this kind align to the left. |
You mean the script name? |
@aaronfranke Yes, I meant the script path. I corrected OP 🙂 |
By the way, is there an use case for creating a plugin without enabling it immediately once it's created? If not, we could always enable new plugins and remove the "Activate now?" checkbox to further simplify the plugin creation dialog. |
Yeah, that checkbox should be removed. An empty plugin has no behavior, so it doesn't matter if it's enabled or not on creation. The default state should be enabled so that it works if |
It would be nice to have it rebased after #41788 |
Superseded by #60865 (partially, some bits might still be relevant for a new PR). |
snake_case
.plugin.<ext>
where<ext>
is the extension of the script language chosen.Creating plugins has never been faster. Now, you just need to fill in the Plugin Name field and you're good to go 🙂
See #36636.
Preview