Commit graph

27 commits

Author SHA1 Message Date
ealmloff
d637ef187c
fix all broken examples (#1248) 2023-07-25 14:30:08 -05: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
Evan Almloff
7453486448 fix formatting 2023-07-17 15:12:57 -07:00
Evan Almloff
b1ef64126e fix formatting 2023-07-14 12:03:20 -07:00
ealmloff
9e8f8ff6b0
Merge branch 'master' into router-typesafe 2023-07-14 12:44:29 -06:00
Jonathan Kelley
f4b3be1b13
Merge pull request #940 from Demonthos/make-widgets-cross-framework 2023-07-11 20:47:01 -07:00
Evan Almloff
05fb8c1e91 Merge branch 'master' into router-typesafe 2023-07-07 18:31:48 -07:00
Evan Almloff
cf1b801e7d fix shadowing issue 2023-06-30 12:49:21 -07:00
Evan Almloff
81d32800f8 fix widget events with form event updates 2023-06-30 12:46:47 -07:00
Evan Almloff
d99a5f3338 Merge branch 'master' into make-widgets-cross-framework 2023-06-30 12:44:15 -07:00
Jon Kelley
282d2cba26
Merge branch 'master' into update-crossterm-rink 2023-06-30 12:13:28 -07:00
Evan Almloff
a9307e57e6 fix CI 2023-06-02 12:33:47 -05:00
Jon Kelley
379ea09b12
Merge pull request #894 from Demonthos/query-system
Create onmounted Event
2023-05-18 13:17:15 +02:00
Nico Burns
2d40e0a261 Fix rink compilation with Taffy 0.3 2023-05-17 10:47:31 +01:00
Evan Almloff
ed4709101c fix duplicate example names 2023-05-02 09:38:58 -05:00
Evan Almloff
e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00
Will Hopkins
8af3522a2e
fix: change crossterm poll timeout to 10ms from 1s (#983)
Problem: Key events were delayed signifantly in TUI widgets.
Solution: Decrease crossterm event poll timeout from 1000ms to 10ms.

Fixes #978
2023-04-24 16:13:54 -05:00
Evan Almloff
eb4abca022 update crossterm version 2023-04-24 11:48:52 -05:00
Evan Almloff
9877b0f0b1 finish shadow dom docs 2023-04-17 12:41:54 -05:00
Evan Almloff
baeb4251ba refactor text inputs 2023-04-16 14:05:27 -05:00
Evan Almloff
efa7305794 Port widgets to the new system 2023-04-13 10:29:38 -05:00
Evan Almloff
2ca5ff96df Merge branch 'upstream' into query-system 2023-04-04 17:36:27 -05:00
Evan Almloff
625dc662d2 make TUI widgets cross framework 2023-03-24 12:43:51 -05:00
Evan Almloff
a37b29947b Remove the box::new passed into RealDom::new 2023-03-14 16:35:11 -05:00
Evan Almloff
ae1300b015 improve ergonomics of custom drivers and add a counter example to rink 2023-03-13 21:26:44 -05:00
Evan Almloff
daac9f540f document every item in native-core 2023-03-13 17:49:37 -05:00
Evan Almloff
f34fa5d974 Move dioxus-specifc code into dioxus-tui crate and rename core crate to Rink 2023-03-13 12:04:51 -05:00