Commit Graph
42 Commits
Author SHA1 Message Date
Evan Almloff 5ce91e1bfc Fix flakey windows tests (#2332) 2024-04-17 15:08:38 -07:00
Evan Almloff dadbab5d72 make some enums non-exhaustive (#2140) 2024-03-26 19:14:48 -07:00
Jonathan Kelley 60616d0ba7 fix liveview 2024-03-06 17:26:52 -08:00
Jonathan Kelley 403e8e2f49 Clean up file uploads in desktop/liveview, remove minify 2024-03-05 13:00:27 -08:00
Jonathan Kelley 22266cc560 Switch to bun, clean up web implementation 2024-03-04 15:23:48 -08:00
Evan Almloff e745212157 bump server functions 2024-02-16 12:17:01 -06:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Evan Almloff 2371c9eed3 minify js at runtime in liveview 2024-02-01 10:10:05 -06:00
Evan Almloff e2e0a934fd remove minified js from build scripts 2024-02-01 10:07:03 -06:00
Evan Almloff 636aeb4b90 integrate liveview with the launch builder 2024-01-22 11:56:34 -06:00
Evan Almloff 9a38331826 restore liveview renderer 2024-01-15 11:28:27 -06:00
Evan Almloff dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley a2f44be2a2 Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
Georges KABBOUCHI 3733fbf47d feat(liveview): add rocket adapter (#1761) 2023-12-30 13:49:32 -06:00
ealmloff 5bb06b9719 Merge branch 'master' into events-2 2023-10-30 15:37:29 -05:00
Evan Almloff 9abc390d04 bench 2023-10-20 13:21:27 -05:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
ealmloff 072ca3529b Merge branch 'DioxusLabs:master' into events-2 2023-10-02 19:48:52 -05:00
Seungwoo Kang 31780b3ede liveview: Add `interpreter_glue_relative_uri (#1481)
* liveview: Add `interpreter_glue_relative_uri`

By utilizing `window.location.host` in the client-side JavaScript, we can easily derive the WebSocket URI from a relative path URI. This approach obviates the need for host address retrieval on the server side, unlike the method of serving glue code in liveview using `interpreter_glue`.

* liveview: Merge `.._relative_url` functionality

- Merged `.._relative_url` to current API `interpreter_glue`.
- Edit axum example to work with new feature.

* liveview: Fix clippy warning
2023-09-26 16:35:17 -05:00
Evan Almloff f7451c02e8 port liveview events 2023-08-31 16:34:04 -05:00
Miles MurgawandEvan Almloff 6210c6fefe Convert use_eval to use send/recv system (#1080)
* progress: reworked

don't run this, it'll kill your web browser

* feat: use_eval but with comms

* revision: async recv & recv_sync

* revision: use_eval

* revision: standard eval interface

* revision: use serde_json::Value instead of JsValue

* revision: docs

* revision: error message

* create: desktop eval (wip)

* fix: desktop eval

* revision: wrap use_eval in Rc<RefCell<_>>

* fix: fmt, clippy

* fix: desktop tests

* revision: change to channel system

- fixes clippy errors
- fixes playwright tests

* fix: tests

* fix: eval example

* fix: fmt

* fix: tests, desktop stuff

* fix: tests

* feat: drop handler

* fix: tests

* fix: rustfmt

* revision: web promise/callback system

* fix: recv error

* revision: IntoFuture, functionation

* fix: ci

* revision: playwright web

* remove: unescessary code

* remove dioxus-html from public examples

* prototype-patch

* fix web eval

* fix: rustfmt

* fix: CI

* make use_eval more efficient

* implement eval for liveview as well

* fix playwright tests

* fix clippy

* more clippy fixes

* fix clippy

* fix stack overflow

* fix desktop mock

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-07-21 17:36:25 -05:00
Miles Murgaw 0fec47db72 Fix liveview interpreter JS (#1073)
* fix: liveview interpreter js

* fix: rustfmt
2023-06-04 21:34:43 -05:00
Evan Almloff e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00
Evan Almloff 9cfb655478 implement the file engine for liveview 2023-04-25 14:26:12 -05:00
Evan Almloff 8243dfe00d implement a query engine for liveview 2023-03-23 16:52:29 -05:00
Jonathan Kelley aa71c111cd feat: introduce simpler adapters for liveview 2022-12-19 13:11:49 -08:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley b95069619f feat: get liveview working across the boar 2022-12-15 19:57:48 -08:00
Jonathan Kelley 7790d2c065 chore: simplify liveview abstraction 2022-12-15 18:46:59 -08:00
Jonathan Kelley 06e8e096bb feat: more fixes to liveview 2022-12-15 14:25:23 -08:00
Jonathan Kelley e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00
Chrislearn Young e4466fee0a Add liveview Salvo integration (#538) 2022-09-13 14:24:30 -07:00
Jonathan Kelley 8be66bd34d fix: apply some clippy lints and rename the liveview methods to not intersect 2022-06-20 02:24:39 -04:00
Jonathan Kelley a1c644d80b feat: allow header injection for liveview 2022-04-19 23:48:17 -04:00
Jonathan Kelley 3b4a041c31 fix: liveview failing to pass 2022-03-15 01:14:26 -04:00
Jonathan Kelley 71184b51a0 feat: liveview working with warp 2022-03-15 01:02:44 -04:00
Jonathan Kelley e0900ca256 wip: add warp liveview proof of concept 2022-03-12 09:41:10 -05:00
Jonathan Kelley a4f280d163 feat: more API updates 2021-12-28 23:20:01 -05:00
Jonathan Kelley 1e4a599d14 wip: rename fc to component 2021-12-09 21:19:31 -05:00
Jonathan Kelley fd7933561f chore: move CLI into its own "studio" app 2021-07-07 16:58:23 -04:00
Jonathan Kelley 9b560dfedb wip: more liveview and webview custom client 2021-03-16 14:28:54 -04:00