Browse Source

Merge branch 'master' into jk/fix-mobile-touch-interaction

Jonathan Kelley 2 years ago
parent
commit
e5014cd754

+ 1 - 0
.github/workflows/main.yml

@@ -13,6 +13,7 @@ on:
       - lib.rs
       - Cargo.toml
       - Makefile.toml
+      - playwrite-tests/**
 
   pull_request:
     types: [opened, synchronize, reopened, ready_for_review]

+ 7 - 7
docs/guide/src/en/contributing/project_structure.md

@@ -4,15 +4,15 @@ There are many packages in the Dioxus organization. This document will help you
 
 ## Renderers
 
-- [Desktop](https://github.com/DioxusLabs/dioxus/tree/master/packages/desktop): A Render that Runs Dioxus applications natively, but renders them with the system webview
-- [Mobile](https://github.com/DioxusLabs/dioxus/tree/master/packages/mobile): A Render that Runs Dioxus applications natively, but renders them with the system webview. This is currently a copy of the desktop render
-- [Web](https://github.com/DioxusLabs/dioxus/tree/master/packages/Web): Renders Dioxus applications in the browser by compiling to WASM and manipulating the DOM
-- [Liveview](https://github.com/DioxusLabs/dioxus/tree/master/packages/liveview): A Render that Runs on the server, and renders using a websocket proxy in the browser
-- [Rink](https://github.com/DioxusLabs/dioxus/tree/master/packages/rink): A Renderer that renders a HTML-like tree into a terminal
-- [TUI](https://github.com/DioxusLabs/dioxus/tree/master/packages/dioxus-tui): A Renderer that uses Rink to render a Dioxus application in a terminal
+- [Desktop](https://github.com/DioxusLabs/dioxus/tree/master/packages/desktop): A renderer that runs Dioxus applications natively, but renders them with the system webview.
+- [Mobile](https://github.com/DioxusLabs/dioxus/tree/master/packages/mobile): A renderer that runs Dioxus applications natively, but renders them with the system webview. This is currently a copy of the desktop renderer.
+- [Web](https://github.com/DioxusLabs/dioxus/tree/master/packages/Web): Renders Dioxus applications in the browser by compiling to WASM and manipulating the DOM.
+- [Liveview](https://github.com/DioxusLabs/dioxus/tree/master/packages/liveview): A renderer that runs on the server, and renders using a websocket proxy in the browser.
+- [Rink](https://github.com/DioxusLabs/dioxus/tree/master/packages/rink): A renderer that renders a HTML-like tree into a terminal.
+- [TUI](https://github.com/DioxusLabs/dioxus/tree/master/packages/dioxus-tui): A renderer that uses Rink to render a Dioxus application in a terminal.
 - [Blitz-Core](https://github.com/DioxusLabs/blitz/tree/master/blitz-core): An experimental native renderer that renders a HTML-like tree using WGPU.
 - [Blitz](https://github.com/DioxusLabs/blitz): An experimental native renderer that uses Blitz-Core to render a Dioxus application using WGPU.
-- [SSR](https://github.com/DioxusLabs/dioxus/tree/master/packages/ssr): A Render that Runs Dioxus applications on the server, and renders them to HTML
+- [SSR](https://github.com/DioxusLabs/dioxus/tree/master/packages/ssr): A renderer that runs Dioxus applications on the server, and renders them to HTML.
 
 ## State Management/Hooks
 

+ 1 - 0
packages/desktop/headless_tests/events.rs

@@ -20,6 +20,7 @@ pub(crate) fn check_app_exits(app: Component) {
         Config::new().with_window(WindowBuilder::new().with_visible(false)),
     );
 
+    // Stop deadman's switch
     should_panic.store(false, std::sync::atomic::Ordering::SeqCst);
 }
 

+ 1 - 0
playwrite-tests/fullstack/src/main.rs

@@ -53,6 +53,7 @@ struct AppProps {
     count: i32,
 }
 
+#[allow(unused)]
 fn app(cx: Scope<AppProps>) -> Element {
     let mut count = use_state(cx, || cx.props.count);
     let text = use_state(cx, || "...".to_string());