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

Expose the confirm component to plugin developers #2082

Closed
3 tasks done
hankertrix opened this issue Dec 22, 2024 · 2 comments · Fixed by #2095
Closed
3 tasks done

Expose the confirm component to plugin developers #2082

hankertrix opened this issue Dec 22, 2024 · 2 comments · Fixed by #2095
Labels
feature New feature request

Comments

@hankertrix
Copy link
Contributor

yazi --debug output

N/A

Please describe the problem you're trying to solve

The confirm component has been implemented since Yazi v0.3.1, so I think it's a good time to expose it to plugin developers.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

Just a Lua API to show the confirm component.

Additional context

It seems like the API is marked with a TODO for a redesign. Maybe now that the component has somewhat stabilised, it may be easier to design the API for it.

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature
@hankertrix hankertrix added the feature New feature request label Dec 22, 2024
@sxyazi
Copy link
Owner

sxyazi commented Dec 24, 2024

Please try #2095

@hankertrix
Copy link
Contributor Author

Awesome, thank you!

I'll add it to the documentation once I figure out how to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants