Commit graph

61 commits

Author SHA1 Message Date
Exotik850
fc31876a57
Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06: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
Jonathan Kelley
cb39122247
Merge pull request #1298 from ealmloff/fix-spread-routes
Fix parsing spread routes
2023-09-16 11:56:54 -07:00
Leonard
ae5dca8f43
Routable improvements (#1461)
* Fix `SegmentType::CatchAll` `Display`

* Rename `display_route_segements` to `display_route_segments` and add dots to docs

* Fix `Routeable::static_routes` and add more route retrieval methods

* Fix Clippy and extract duplication to function

* Return route strings instead of instances

* Remove some methods

* Clippy
2023-09-13 11:55:26 -05:00
ealmloff
c8127e164b
Url decode routes (#1407)
* fix a few new clippy lints

* url decode routes

* fix catch all segments

* fix clippy
2023-09-06 12:56:43 -05:00
Evan Almloff
61a3b05616 fix parsing spread routes 2023-08-04 12:06:17 -07:00
ealmloff
61ce3dd6b7
Reject all external routes when parsing a route (#1272)
* reject all external routes when parsing a route

* fix children routers
2023-08-01 12:29:35 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
ealmloff
cfd62e274e
Make deprecated use router (#1260)
* make router props expansion better

* fix router data fields

* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Evan Almloff
5f0dd3af3e it almost lives? 2023-07-25 18:14:48 -07: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
Jonathan Kelley
f0289068a2
Merge pull request #1219 from Demonthos/improve-build-times
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff
beb56b93a0 more clippy fixes 2023-07-20 09:06:12 -07:00
Jonathan Kelley
9d942f1162
make msrv 1.66 2023-07-19 17:20:48 -07:00
Evan Almloff
3d8d8a1b6f half-build-times 2023-07-19 10:19:23 -07:00
Evan Almloff
61e9fd9973 use :.. instead of :... 2023-07-18 16:34:27 -07:00
Evan Almloff
7453486448 fix formatting 2023-07-17 15:12:57 -07:00
Evan Almloff
97115f6537 fix nested nest segments 2023-07-14 12:32:46 -07:00
Evan Almloff
07ea421bf4 ignore hash in routes for now 2023-07-14 11:53:44 -07:00
Evan Almloff
d19a33d59c fix reversed nests 2023-07-14 11:40:38 -07:00
Evan Almloff
86cd0ec81c fix sitemaps for unclosed nests 2023-07-14 08:07:45 -07:00
Evan Almloff
8d166cf40d fix router macro docs 2023-07-13 16:33:53 -07:00
Evan Almloff
29c6d4608d add documentation to the routable derive 2023-07-13 16:23:31 -07:00
Evan Almloff
aa26c086de fix clippy 2023-07-07 18:41:22 -07:00
Evan Almloff
8f67d0aafd make creating rsx nodes from macros possible 2023-06-29 12:52:27 -07:00
Evan Almloff
a7f7aad947 fix errors for nested routes 2023-06-28 11:27:11 -07:00
Evan Almloff
914767892c allow child routers to have fields 2023-06-27 15:56:47 -07:00
Evan Almloff
0eb3b3d47e fix render links assuming prelude was imported 2023-06-26 17:33:21 -07:00
Evan Almloff
2da1f7faa7 allow nested routes 2023-06-26 16:08:53 -07:00
Evan Almloff
fe626c67bd fix switching between routes with different hooks 2023-06-19 10:54:25 -05:00
Evan Almloff
199eb7a2db don't reverse layouts 2023-06-18 18:32:44 -05:00
Evan Almloff
5117d7380a fix clippy 2023-06-01 17:49:12 -05:00
Evan Almloff
bc99d9b01a fix formatting 2023-06-01 17:48:43 -05:00
Evan Almloff
037a248ad9 fix queries 2023-06-01 11:09:51 -05:00
Evan Almloff
fe601e2a48 restore navigator 2023-06-01 09:45:31 -05:00
Evan Almloff
09cabe4e8b update doc examples 2023-05-31 15:51:26 -05:00
Evan Almloff
35befa1784 update tests 2023-05-31 13:57:33 -05:00
Evan Almloff
58b74c1155 create redirects 2023-05-31 12:11:11 -05:00
Evan Almloff
87794b5039 WIP: different macro API 2023-05-26 18:49:45 -05:00
Evan Almloff
74ace3f978 fix format in macro 2023-05-24 07:41:57 -05:00
Evan Almloff
ecc99cd013 format example 2023-05-23 19:39:18 -05:00
Evan Almloff
d3b21879fb create non generic wrappers for each route 2023-05-23 19:31:30 -05:00
Evan Almloff
3678fa1d3f create example 2023-05-23 19:09:24 -05:00
Evan Almloff
d0d7e88a0d generate site map constant 2023-05-23 18:47:33 -05:00
Evan Almloff
502d670dff improve macro ergonomics 2023-05-23 17:32:40 -05:00
Evan Almloff
1f68399e7b allow extra fields in the enum not from the route 2023-05-23 13:57:50 -05:00
Evan Almloff
46017d5b7e fix outlets being updated out of order 2023-05-23 12:59:31 -05:00
Evan Almloff
e4b8fbfafe Intigrate macro with router hooks and components 2023-05-22 16:42:32 -05:00
Evan Almloff
ef6551a6cd seperate dynamic nested segments and layouts 2023-05-22 11:44:24 -05:00