-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
feat(prompt): add prompt support #250
Conversation
So if yes/no variant isn't actually used. Perhaps we could remove it in upstream too. |
src/lib.rs
Outdated
@@ -30,4 +30,4 @@ pub use verso::Verso; | |||
/// Re-exporting Winit for the sake of convenience. | |||
pub use winit; | |||
/// Context | |||
pub mod context_menu; | |||
pub mod components; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can reuse webivew
module I think and move context_menu, panel, and prompt under there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed to webview and moved WebView Panel into it
Verified on macOS. All prompt types seem to work! Screen.Recording.2024-12-04.at.8.53.41.PM.mov |
window.alert()
window.confirm()
andwindow.prompt()
supportcontext_menu
andprompt
under a components modverso://
custom protocol now reads files under a directoryverso://resources/components/prompt/prompt_test.html
for testing