Commit graph

3978 commits

Author SHA1 Message Date
Jon Kelley
fdca2abf05
Merge pull request #879 from Demonthos/fix-clippy
Fix new Clippy lints
2023-03-12 14:30:21 -07:00
Evan Almloff
c4845d5c8d update TUI to new native-core 2023-03-12 16:20:01 -05:00
Evan Almloff
865c5aa957 all native-core tests passing 2023-03-12 15:35:48 -05:00
Evan Almloff
fda125de5f fix clippy 2023-03-12 15:13:34 -05:00
Evan Almloff
4847789a83 fix event bubbling within a single template 2023-03-12 14:47:30 -05:00
Evan Almloff
ec3e02e4bb finish macro 2023-03-12 08:26:16 -05:00
Evan Almloff
3f1d525734 make trailing commas in components optional 2023-03-11 18:27:50 -06:00
Kyle Smith
eee6cbabb2
Update Router book to reflect crate separation and need for web feature. (#873) 2023-03-10 07:07:53 -06:00
Jonathan Kelley
9ae5f47d19 Allow liveview to spawn pre-injected virtualdoms 2023-03-09 17:01:41 -08:00
Jon Kelley
79074a0a7c
Merge pull request #870 from mwcz/patch-1
fix Guide link in README
2023-03-09 12:56:57 -08:00
Michael Clayton
f40ba5ec3c
fix Guide link in README 2023-03-09 12:36:49 -05:00
Nolan Darilek
8657b47401 Add function to remove all global shortcuts. 2023-03-09 11:05:41 -06:00
=
bab3c8d584 WIP: derive macro 2023-03-08 09:06:21 -06:00
Evan Almloff
a8566b4e71 finish shipyard migration in native-core 2023-03-07 16:00:43 -06:00
Jon Kelley
6a16df835d
Merge pull request #865 from Demonthos/fix-anchor-link-for-block-level-elements
Fix anchor link for block-level elements
2023-03-06 21:05:59 -08:00
Evan Almloff
7253eabe0a fix anchor link for block-level elements 2023-03-06 20:49:23 -06:00
YuKun Liu
ba3f067ffb
Merge pull request #112 from nilsmartel/patch-1
Make error more illuminating
2023-03-05 11:19:38 -08:00
Jon Kelley
5b61cbb9a0
Merge pull request #859 from Demonthos/use-shared-state-futures
Make use_shared_state usable in static futures
2023-03-02 11:46:58 -08:00
Evan Almloff
2dd40ec202 add docs to remaining items 2023-03-02 12:02:12 -06:00
Evan Almloff
88198fc47c remove static bound on owner 2023-03-02 11:59:25 -06:00
Evan Almloff
90b4dd806e update docs example 2023-03-02 11:57:58 -06:00
Evan Almloff
d238481936 reduce indirection and remove some unnecessary methods 2023-03-02 11:54:21 -06:00
Evan Almloff
f5c058a2eb make use_shared_state usable in static futures 2023-03-02 11:42:02 -06:00
Jon Kelley
7e5d5940d6
Merge pull request #850 from Demonthos/fix-workspace-hot-reloading
Fix hot reloading in a workspace
2023-03-02 09:16:17 -08:00
Jon Kelley
66b62fc8ea
Merge pull request #856 from Demonthos/support-global-hotkeys
Create global shortcut handler for Dioxus desktop
2023-03-02 09:15:52 -08:00
Jon Kelley
d1c03bcbbb
Merge pull request #114 from Nukesor/fix-deps 2023-03-02 08:15:14 -08:00
Arne Beer
b15d7d4204
chore: Bump deps and fix failing compilation 2023-03-02 14:41:55 +01:00
Nils Martel
41e5ce367b
Make error more illuminating
I was wondering what the previous error message ment.
So I had to look it up.

Cargo directory might just mean ~/.cargo
2023-03-02 11:00:56 +01:00
Jon Kelley
915406666d
Merge pull request #857 from Demonthos/fix-trait-bounds-inline-props 2023-03-01 21:43:43 -08:00
Evan Almloff
bfdcad6ede fix trait bounds on generics with inline_props 2023-03-01 20:41:49 -06:00
Evan Almloff
2d21f7ade1 add a shortcut for ctrl-r to prevent it breaking the application 2023-03-01 13:32:13 -06:00
Evan Almloff
ef9731eb74 update docs about dioxus desktop 2023-03-01 13:28:04 -06:00
Evan Almloff
cf2a79c173 create global shortcut handler for dioxus desktop 2023-03-01 13:23:15 -06:00
Evan Almloff
abcb3f57f0 create global shortcut handler for dioxus desktop 2023-03-01 13:15:58 -06:00
YuKun Liu
3ff6896c4d
Merge pull request #111 from Demonthos/fix-non-rs-files-hot-reloading
Fix reloading non rust files when hot reloading is enabled
2023-03-01 09:22:50 -08:00
Evan Almloff
c5bf525547 fix reloading non rust files when hot reloading is enabled 2023-03-01 09:09:30 -06:00
Evan Almloff
b91e010ac7 WIP: use shipyard ecs 2023-02-28 13:26:49 -06:00
YuKun Liu
1587b687ca
Merge pull request #109 from sd2k/add-serve-proxy
Add minimal proxy capabilities to `dioxus serve`
2023-02-28 08:19:09 -08:00
Jon Kelley
49c5a5043a
Merge pull request #853 from Demonthos/fix-provide-context-docs
Fix the provide context docs
2023-02-27 15:04:49 -08:00
Evan Almloff
2c0eb303f6 fix the provide context docs 2023-02-27 15:05:49 -06:00
Ben Sully
ead183dd2c
Add minimal proxy capabilities to dioxus serve
This adds an MVP of some proxying capabilities to the `dioxus serve`
server. The config is similar to that of `trunk serve`: the user can
specify one or more proxy backends under `[[web.proxy]]` in Dioxus.toml,
and the server will intercept requests targeted at the _path_ of that
configured backend and forward them to the backend server.

Example
-------

For example, if the dev server is serving on port 8080 with this config:

```
[[web.proxy]]
backend = "http://localhost:9000/api"
```

then requests to http://localhost:8080/api,
http://localhost:8080/api/ and http://localhost:8080/api/any-subpath
to be forwarded to the respective paths on http://localhost:9000.

This PR doesn't handle path rewriting or anything yet but it would be
fairly simple to add in future if anyone needs it.
2023-02-27 10:44:32 +00:00
Evan Almloff
55787c2e7d fix hot reloading in a workspace 2023-02-26 18:42:14 -06:00
Jon Kelley
264f04fc30
Merge pull request #845 from davidpdrsn/fix-typos
Fix typos in live view examples for axum and salvo
2023-02-24 14:12:51 -08:00
David Pedersen
bf3f7ec490 Fix typos in examples 2023-02-24 22:41:16 +01:00
Jon Kelley
74b8f6165d
Merge pull request #842 from Demonthos/linux-hot-reloading-fix 2023-02-24 13:33:25 -08:00
Jon Kelley
7e7829f34d
Merge pull request #841 from flisky/master
0.2 -> 0.3 migration changes
2023-02-24 13:12:37 -08:00
Evan Almloff
2c629f6d13 use namespaced path instead of local path 2023-02-23 12:05:17 -06:00
Yin Jifeng
fdd71c11fe chore: export AtomId 2023-02-23 16:39:59 +08:00
Yin Jifeng
62d30bc254 chore: reimplement usefuture::state 2023-02-23 16:39:50 +08:00
Jonathan Kelley
f664ce8fe0 Merge branch 'master' of github.com:DioxusLabs/dioxus 2023-02-22 13:06:41 -08:00