Evan Almloff and Jonathan Kelley
281087469a
Move the history provider into the context ( #3048 )
...
* move history providers into a separate crate
* start moving route providers into the renderers
* clean up intoroutable
* remove into routable
* fix router tests
* Provide history providers in each renderer
* implement nested routers
* move the lens out of the history crate
* re-export dioxus history trait in the prelude
* also re-export the history function
* fix history doctests
* some light cleanups
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-10-31 12:44:04 -07:00
Evan Almloff
7bb53fe835
Parse trailing route slash ( #2896 )
...
* Parse trailing route slash
* Fix typo
2024-09-07 13:34:57 -05:00
Evan Almloff
443b9a4af6
Parse redirects in the same order they appear in ( #2650 )
...
* Parse redirects in the same order they appear in
2024-07-25 17:47:38 -07:00
Tristan F. and Jonathan Kelley
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 and Jonathan Kelley
08da9a1253
Implement hash fragments in the router ( #2320 )
...
* implement hash fragments in the router
* clean up query and search example
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-04-25 14:30:25 -04:00
Konstantin Kostiuk
a4de322821
fix typo varient -> variant ( #2056 )
2024-03-11 17:03:34 -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
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
Miles Murgaw and Evan 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
Evan Almloff
97115f6537
fix nested nest segments
2023-07-14 12:32:46 -07:00
Evan Almloff
d19a33d59c
fix reversed nests
2023-07-14 11:40:38 -07:00
Evan Almloff
a7f7aad947
fix errors for nested routes
2023-06-28 11:27:11 -07:00
Evan Almloff
2da1f7faa7
allow nested routes
2023-06-26 16:08:53 -07: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
1f68399e7b
allow extra fields in the enum not from the route
2023-05-23 13:57:50 -05:00
Evan Almloff
ef6551a6cd
seperate dynamic nested segments and layouts
2023-05-22 11:44:24 -05:00
Evan Almloff
be3dae4b05
order catch all routes after non-catch all routes
2023-05-21 11:58:35 -05:00
Evan Almloff
fbd333e334
implement layouts and outlets
2023-05-20 16:32:48 -05:00
Evan Almloff
f4227c7311
remove static end tree segment variant
2023-05-14 17:46:13 -05:00
Evan Almloff
adfc10461e
reorganize router macro package
2023-05-13 18:14:30 -05:00
Evan Almloff
ee763d52e1
implement spread segments
2023-05-13 17:49:10 -05:00
Evan Almloff
2aadeb8046
parse query strings
2023-05-12 20:55:38 -05:00
Evan Almloff
e26ff6a5c0
delete unneeded files
2023-05-12 09:18:55 -05:00