Commit Graph

2808 Commits

Author SHA1 Message Date
Joseph Cruz 2ca1c51fdc
test(error_boundary): add e2e testing (#1651)
* test(error_boundary): open app

* test(error_boundary): click up arrow

* test(error_boundary): click down arrow

* test(error_boundary): type number

* test(error_boundary): clear number

* fix(build): clean trunk directories

* fix(test-report): detect unit tests

* ci(build): echo stop trunk
2023-09-04 13:25:44 -04:00
Greg Johnston 70e1ad41e2
Merge pull request #1579 from leptos-rs/rusty
feat: start adding some Rustier interfaces for reactive types
2023-09-04 13:23:18 -04:00
Greg Johnston 53ec7ed272 feat: add `Effect::with_value_mut()` 2023-09-04 11:14:07 -04:00
Greg Johnston d98a577740 feat: add Rustier interfaces for reactive system types 2023-09-04 11:05:23 -04:00
jquesada2016 fd834f48c2
change: rename `.derived_signal()` and `.mapped_signal_setter()` methods (#1637) 2023-09-04 08:41:41 -04:00
Greg Johnston 7be65a37c6
fix: versioned resources never decrement Suspense (closes #1640) (#1641) 2023-09-03 20:21:16 -04:00
Banzobotic 3b5e2d86fb
docs: clean up messy spacing left over from `cx` replacements (#1626) 2023-09-03 20:21:05 -04:00
jquesada2016 716b9fb50b
feat: add `.into_X_boxed()` for classes, properties, and styles as for attributes 2023-09-03 20:18:49 -04:00
jquesada2016 006ca13797
chore: hide `get_property` (#1638) 2023-09-03 20:15:15 -04:00
Village 6e008343c8
feat: add component generics (#1636) 2023-09-03 20:09:50 -04:00
Greg Johnston 2ca24883ac
fix: memoize Suspense readiness to avoid rerendering children/fallback (#1642) 2023-09-03 20:07:20 -04:00
Village 4a43983f4e
feat: implement spreading attributes onto elements (#1619) 2023-09-01 20:52:15 -04:00
IcosaHedron d9e83121c1
feat: add reload websocket configuration and enable env configuration (#1613) 2023-09-01 20:51:46 -04:00
Antonin Peronnet f5b4b97c9b
feat: `Callback` types to make it easier to accept (optional) callback props (#1596) 2023-09-01 20:51:32 -04:00
Gareth bcfa430a40
docs: fix incorrect variable name (#1623) 2023-09-01 07:39:41 -04:00
Lawrence Qupty 7c51815cf5
docs: remove extra space (#1622) 2023-09-01 07:39:05 -04:00
Dmitry Pytaylo fee2fb953b
docs: fix typo (#1618) 2023-09-01 07:37:52 -04:00
Sadra M 8ecb7f59c4
docs: update references to server binary in dockerfile (#1617) 2023-09-01 07:37:24 -04:00
martin frances b85cb9fb3b
docs: clarify how many times derived signals are called (#1614) 2023-09-01 07:36:15 -04:00
Joseph Cruz a631c5ca1c
doc(examples): report fantoccini use (#1616) 2023-09-01 07:35:29 -04:00
Greg Johnston bee9bd8f67 `0.5.0-beta2` 2023-08-29 21:23:59 -04:00
Greg Johnston 8d3874f8a9 `cargo fmt` 2023-08-29 21:19:24 -04:00
Einherjar bade16d227
docs: discuss unique paths for `#[server]` functions (#1610) 2023-08-29 20:49:31 -04:00
Jon Cahill e0a132bde3
fix: don't try to parse as JSON the result from a server function redirect (#1604) 2023-08-29 20:42:19 -04:00
Daniel Oliveira 4d7e1f4d26
feat: improve server function client side error handling (#1597)
Handle all error codes 401-499 in addition to the
400 and 500-599 that were already handled.

In addition, handle them all in the same way
and improve the error message.
2023-08-29 20:40:03 -04:00
Maneren 700eee6604
fix(macro/params): clippy warning (#1612) 2023-08-29 20:31:54 -04:00
Joseph Cruz 694ed61e4c
fix(ci): add new webkit dependency (#1607) (#1608) 2023-08-28 11:08:47 -04:00
Joseph Cruz d7330097ba
chore(examples): improve cucumber support #1598 (#1599)
* chore(examples): add cucumber runner

* chore(examples): clean cargo recursively
2023-08-28 11:08:22 -04:00
Greg Johnston c65a3a6ca3
docs: add docs for builder syntax (#1603) 2023-08-28 11:08:07 -04:00
Danik Vitek 793c191619
feat: `Oco` (Owned Clones Once) smart pointer (#1480) 2023-08-26 11:43:51 -04:00
Greg Johnston 6c3e2fe53e
feat: update to `typed-builder` 0.16 (closes #1455) (#1590) 2023-08-26 10:10:42 -04:00
Greg Johnston 08c419e3ee
fix: broken test with untrack in tracing props (#1593) 2023-08-26 09:20:14 -04:00
Greg Johnston 736f4185b5
Merge pull request #1588 from leptos-rs/1457
Some resource and transition fixes
2023-08-26 07:34:21 -04:00
Greg Johnston 9cc0fc8c49 fix: adjust tracing properties 2023-08-26 07:24:52 -04:00
Greg Johnston 8f067dcde7 chore: clear release-mode warnings 2023-08-25 17:16:00 -04:00
Greg Johnston ad6eb58fe1 fix: <Transition/> fallback in CSR 2023-08-25 17:12:01 -04:00
Greg Johnston 3f3ab1c3c8 remove unnecessary parens 2023-08-25 16:49:26 -04:00
Greg Johnston 9adae32847 examples: improve hackernews behavior 2023-08-25 16:00:47 -04:00
Greg Johnston b8098e7992 fix: `<Transition/>` fallback on non-initial page loads 2023-08-25 16:00:47 -04:00
Greg Johnston bef4d0dd3b fix: resource loading signal pattern for subsequent hydration page loads 2023-08-25 16:00:47 -04:00
Matt Cuneo a789100e22
feat: allow autoreload websocket connection to work outside of localhost (#1548)
* Updated client reloading to use window.location.protocol/host to determine websocket connection. Added optional config reload_external_port to provide further control of the client websocket connection. These changes allow reloading while accessing the served site from outside of localhost.
2023-08-25 15:54:22 -04:00
Greg Johnston abeca70625
fix: correct logic for resource loading signal when read outside suspense (#1586) 2023-08-25 11:46:54 -04:00
rkuklik cc293b1170
feat: generic event handler types to make it easier to create collections of event handlers (#1444) 2023-08-25 11:41:16 -04:00
Greg Johnston 8ab62c17c6
feat: add `Fn` traits for resources on nightly (#1587) 2023-08-25 11:20:29 -04:00
Joseph Cruz cf14e857ca
refactor(check-stable): use matrix (#1543) (#1583)
* refactor(check-stable): use matrix

* chore: simulate leptos change

* chore: remove simulated change
2023-08-25 10:30:00 -04:00
Greg Johnston c322ef38fd
feat: signal traits should take associated types instead of generics (#1578) 2023-08-25 10:29:24 -04:00
Greg Johnston c9cc493063
fix: fourth argument to server functions (#1585) 2023-08-25 10:28:54 -04:00
Joseph Cruz fb48f7f117
fix(counters_stable): restore wasm tests (#1581) (#1582) 2023-08-24 16:33:01 -04:00
尹吉峰 c344e54cf6
feat: return an `Effect` from `create_effect` that can be disposed (#1571) 2023-08-24 10:24:10 -04:00
Greg Johnston 7306ecccbc
feat: make struct name and path optional for server functions (#1573) 2023-08-24 10:22:35 -04:00