Greg Johnston
8ec3fb95f0
docs: typos in NavigateOptions
docs ( #1525 )
2023-08-09 20:44:39 -04:00
Danik Vitek
3a98bdb3c2
fix: use current pathname for create_query_signal
( #1508 )
2023-08-07 20:25:22 -04:00
mforsb
e67bc2083a
feat: add noscroll
attribute to Form
, ActionForm
( #1432 )
2023-07-25 06:07:37 -04:00
Ari Seyhun
2e559d6a06
feat: add create_query_signal
for URL-synced signals ( #1377 )
2023-07-23 12:20:15 -04:00
Greg Johnston
cc52c94348
docs/examples: use shorthand form for <Route/>
views when possible ( #1375 )
2023-07-20 16:28:43 -04:00
Greg Johnston
338d2ab839
Merge pull request #1379 from agilarity/lint-with-clippy
...
ci: lint with clippy
2023-07-20 14:15:16 -04:00
Joseph Cruz
fb52cfa73e
fix: needless_raw_string_hashes
2023-07-19 08:43:57 -04:00
Ari Seyhun
b2c75d215b
chore: remove unnecessary string allocation in TryFrom
for Url
( #1376 )
2023-07-19 07:04:06 -04:00
Joseph Cruz
14bda76b30
fix: needless_raw_string_hashes (allow)
2023-07-18 20:56:39 -04:00
Greg Johnston
5af2f4e98d
docs/warning: fix <ActionForm/>
docs and add runtime warning for incorrect encodings ( #1360 )
2023-07-15 19:09:03 -04:00
Greg Johnston
8a90f97959
fix: routing logic to scroll to top was broken ( #1335 )
2023-07-13 06:43:49 -04:00
Greg Johnston
e9665b34e5
feat: add active_class
prop on <A/>
( #1323 )
2023-07-12 16:21:07 -04:00
Greg Johnston
ec3a26dfbc
fix: <ActionForm/>
should set value even if redirected ( #1321 )
2023-07-11 09:37:13 -04:00
Ari Seyhun
aef7c4ce8e
perf: use lazy thread local for regex in router match_optionals
( #1309 )
2023-07-08 08:47:52 -04:00
Greg Johnston
b29eb8e032
fix: <ActionForm/>
should check origin correctly before doing a full-page refresh ( #1304 )
2023-07-08 08:00:48 -04:00
Greg Johnston
39edb6eb45
fix: untracked read in <Redirect/>
( #1280 )
2023-07-04 11:52:13 -04:00
Greg Johnston
ee7dbafc85
change: migrate to nightly
and csr
features rather than stable
and default-features = false
( #1227 )
2023-06-26 21:12:14 -04:00
Greg Johnston
966100c2d6
feat: add an anyhow
-like Result
type for easier error handling ( #1228 )
2023-06-25 15:18:00 -04:00
Greg Johnston
c55067ab7c
feat: improved error handling and version tracking for pending actions/<ActionForm/>
( closes #1205 ) ( #1225 )
2023-06-23 11:10:59 -04:00
Greg Johnston
651868dec9
fix: animations on multiple back navigations ( closes #1088 ) ( #1204 )
2023-06-17 16:47:19 -04:00
hchockarprasad
601db7aa86
fix: handle nested data in serde_qs deserialization correctly ( #1183 )
2023-06-15 10:15:10 -04:00
Greg Johnston
b24910271a
fix: external redirects in <ActionForm/>
( #1160 )
2023-06-09 09:08:04 -04:00
Greg Johnston
4ade062cd8
fix: erroneous reactivity warning at form.rs:96
( #1142 )
2023-06-04 20:09:21 -04:00
martin frances
f6d856ee11
chore: cargo clippy --fix. ( #1136 )
2023-06-03 11:35:33 -04:00
Greg Johnston
5d70275c3a
fix: dispose of runtime when stream is actually finished ( closes #1097 ) ( #1110 )
2023-05-28 13:44:31 -04:00
Greg Johnston
7f14da3026
fix: missing ?
in navigation now that removed ( #1092 )
2023-05-24 12:12:57 -04:00
sjud
27f2a672ba
docs: added a hint for a common error when using use_navigate
( #1063 )
2023-05-23 19:51:03 -04:00
Greg Johnston
23f9d537e9
fix: correctly handle new navigations while in the middle of an async navigation ( #1084 )
2023-05-23 17:21:12 -04:00
Greg Johnston
91e0fcdc1b
fix/change: remove ?
prefix from search
in browser (matching server behavior) - closes #1071 ( #1077 )
2023-05-21 22:06:38 -04:00
Greg Johnston
a9ed8461d1
feat: add "async routing" feature ( #1055 )
...
* add "async routing" feature that waits for async resources to resolve before navigating
* add support for Outlet
* add `<RoutingProgress/>` component
2023-05-21 06:46:23 -04:00
Vladimir Motylenko
5a71ca797a
feat: RSX parser with recovery after errors, and unquoted text ( #1054 )
...
* Feat: Upgrade to new local version of syn-rsx
* chore: Make macro more IDE friendly
1. Add quotation to RawText node.
2. Replace vec! macro with [].to_vec().
Cons:
1. Temporary remove allow(unused_braces) from expressions, to allow completion after dot in rust-analyzer.
* chore: Change dependency from syn-rsx to rstml
* chore: Fix value_to_string usage, pr comments, and fmt.
2023-05-21 06:45:53 -04:00
yuuma03
b2faa6b86c
feat: allow multipart forms on server fns (Actix) ( #1048 )
2023-05-17 19:53:55 -04:00
Greg Johnston
d7b919032e
feat: SsrMode::PartiallyBlocked
( #1026 )
2023-05-10 13:30:01 -04:00
Greg Johnston
be8bf8b0d6
fix: corrects error-deserialization behavior of ActionForm
( closes #1024 ) ( #1025 )
2023-05-09 06:40:22 -04:00
Chris
51cd082d4c
docs: add examples for manual server integration for router ( #1015 )
2023-05-08 08:34:43 -04:00
Warre Dujardin
598523cd9d
fix: relax Debug trait bounds ( #1010 )
2023-05-06 12:10:48 -04:00
Greg Johnston
a5f6e0bac4
docs: document that <ActionForm/>
only works with form-encoded server functions ( closes #977 ) ( #1005 )
2023-05-05 13:37:53 -04:00
Greg Johnston
d8e03773f0
feat: allow structs in server function arguments ( #987 )
2023-05-03 15:26:48 -04:00
Greg Johnston
54f7e9366a
change/fix: require FromStr
errors on Params
to be Send + Sync
so they are ErrorBoundary
compatible ( #974 )
2023-05-01 17:18:46 -04:00
Matt Crane
ddf9df2b5e
change: replace serde_urlencoded
with serde_html_form
to support Vec<_>
in server fn args ( #973 )
2023-05-01 17:17:45 -04:00
yuuma03
3c90b47e77
fix: allow mounting multiple Leptos apps on same server ( #966 )
...
Use a HashMap indexed by base URL to cache route branches on the server.
2023-04-28 12:10:02 -04:00
Ben Wishovich
81f330e888
feat: add thorough tracing throughout ( #908 )
2023-04-22 06:47:11 -04:00
Greg Johnston
f919127a7e
fix some issues with animated routing ( #889 )
2023-04-21 15:33:14 -04:00
Greg Johnston
f3b8d27c4f
change: add window_event_listener_untyped
and deprecate window_event_listener
pending 0.3.0 ( #913 )
2023-04-21 14:14:35 -04:00
Greg Johnston
06f782aa13
perf: improve router performance on server by calculating route branches once ( #898 )
2023-04-19 20:09:29 -04:00
Daniel Santana
e96f1d2129
feat: impl Serialize/Deserialize for ParamsMap ( closes #892 ) ( #895 )
2023-04-19 06:19:53 -04:00
Greg Johnston
efbe32e081
feat: add non-animation base classes to <AnimatedOutlet/>
and <AnimatedRoutes/>
( #877 )
2023-04-17 08:12:22 -04:00
Greg Johnston
7382c7e51c
feat: add the ability to specify animations on route transitions ( #736 )
2023-04-14 18:20:42 -04:00
Greg Johnston
93da88eac0
feat: add ability to set node_ref
and pass additional attributes to <Form/>
and friends ( #853 )
2023-04-14 14:25:52 -04:00
Álvaro Mondéjar
274a1ac5f0
Remove &
at the end of params queries ( #854 )
2023-04-12 17:04:22 -04:00