Commit graph

45 commits

Author SHA1 Message Date
Jonathan Kelley
0de3bf7aeb
Fix nested rsx expansion by not using template titles (#2799)
* Fix nested rsx expansion by not using template titles

* fix writers with nameless templates

* fix clippy

* dont commit vscode fix

* fix release mode, pull out __template_name

* fix axum_desktop

* Fix core tests

* Make most fields of HotReloadedTemplate public for testing

* wip: formatting, compare all diff cases

* slightly smarter diffing for dynamic nodes

* add a comment about generic node diffing

* clean up mutations a bit

* fix load template

* simplify maybe_rebuild

* Restore write mutations flag in web

* write_mutations -> skip_mutations

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-08-13 01:59:04 +00:00
Tristan F.
9167cd9dec
fix most typos, add crate-ci/typos to CI (#2653)
* fix most typos, add crate-ci/typos to CI

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-07-23 17:49:33 -07:00
Evan Almloff
74352f2f61
Fix desktop effect race condition (#2313)
* don't poll desktop before the render has been applied

* fix desktop headless tests

* move edit queued code into the edit channel and add more comments
2024-04-26 12:52:33 -04:00
Evan Almloff
88f3558419
Fix reclaim element when hot reloading (#2361)
* Fix reclaim element when hot reloading

* Just disable headless tests on windows
2024-04-25 13:36:43 -04:00
Evan Almloff
5ce91e1bfc
Fix flakey windows tests (#2332) 2024-04-17 15:08:38 -07:00
Jonathan Kelley
2dc6cecf2e
Fix #2043: use formvalue instead of String for forms (#2103)
Fix #2043: use formvalue instead of String for forms
2024-03-18 18:21:08 -07:00
Jonathan Kelley
4b2e426958
clippy, and don't hash invisible files for ts generation 2024-03-05 22:38:38 -08:00
Jonathan Kelley
199173a409
fix navigating when files are dropped 2024-03-01 23:37:46 -08:00
Jonathan Kelley
53cafefdef
wip: add tests and slightly refactor interpreter code 2024-02-23 17:38:04 -08:00
Jonathan Kelley
48d6a9acbb
Add logging to event checker 2024-02-22 13:55:29 -08:00
Jonathan Kelley
2ead6c6074
give longer window for events 2024-02-22 12:33:58 -08:00
Jonathan Kelley
cbadea022a
Eval should never return an error
Only awaiting eval should error.
Eval should always be available, even if using its methods returns errors.
2024-02-14 15:13:15 -08:00
Jonathan Kelley
f2ec5c5cb8
fix headless event counter 2024-02-05 17:58:13 -08:00
Jonathan Kelley
d2346cc477
maybe windows needs even longer for windows to open 2024-02-05 17:15:06 -08:00
Evan Almloff
72ae13ccb5 fix the double click event 2024-02-05 18:24:21 -06:00
Jonathan Kelley
0bd9692e45
Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -08:00
Jonathan Kelley
eff1dd6c90
Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
Ege Gungordu
8887d674ed add is_composing check to desktop headless tests 2024-01-23 18:33:28 +03:00
Jonathan Kelley
d8af9b7ed1
Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Evan Almloff
e65c5f0eb3 depreciate the render macro 2024-01-16 13:18:46 -06:00
Evan Almloff
d17a04931b Merge branch 'master' into breaking 2024-01-15 12:01:09 -06:00
Jonathan Kelley
1dde044697
remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Evan Almloff
fe1b35d610 fix mount event 2024-01-12 17:47:27 -06:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Evan Almloff
0388a5c1f4 fix formatting 2024-01-04 19:21:06 -06:00
Evan Almloff
4f654d61b7 fix cargo check 2024-01-04 19:05:36 -06:00
Evan Almloff
dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Evan Almloff
b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
Jonathan Kelley
a2f44be2a2
Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
ealmloff
937be8b752
fix the on double click event and depreciate ondblclick (#1743) 2024-01-03 14:02:08 -06:00
Evan Almloff
a647ce2f36 remove headless tests for CI 2023-12-17 11:30:17 -06:00
Evan Almloff
8984482b63 fix headless windows 2023-12-08 15:14:32 -06:00
Evan Almloff
0e3fd225a8 Merge branch 'master' into binary-protocal 2023-12-08 08:44:04 -06:00
Evan Almloff
df222c121a port examples to new events 2023-09-01 15:38:55 -05:00
Evan Simkowitz
f599ad6ad7
remove unnecessary PointInteraction imports now that it's in prelude 2023-08-23 22:14:57 -04:00
Evan Simkowitz
56095116e2
Fix tests 2023-08-23 17:58:43 -04:00
Miles Murgaw
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
a5aa7db3da fix: trigger it now? 2023-07-05 12:52:54 -04:00
Evan Almloff
ec5999b3b4 fix clippy 2023-05-05 15:45:38 -05:00
Evan Almloff
ae71e4ce33 don't render headless tests 2023-05-05 11:11:50 -05:00
Evan Almloff
ea5e664364 fix formatting 2023-05-04 11:39:46 -05:00
Evan Almloff
1b199977d1 add rendering tests 2023-05-04 11:04:06 -05:00
Evan Almloff
70687748d3 fix events test 2023-04-27 18:36:28 -05:00
Evan Almloff
01d673e654 create event tests 2023-04-27 18:00:43 -05:00