schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.14k stars 68 forks source link

Revamp router implementation #89

Closed schultek closed 1 year ago

schultek commented 1 year ago

Description

Type of Change

Ready Checklist

If you need help, consider asking for advice on the #contribute channel on Discord.

docs-page[bot] commented 1 year ago

To view this pull requests documentation preview, visit the following URL:

docs.page/schultek/jaspr~89

Documentation is deployed and generated using docs.page.

github-actions[bot] commented 1 year ago

Package Version Report

The following packages have been updated: jaspr : 0.4.0 -> 0.4.1 jaspr_builder : 0.4.0 -> 0.4.1 jaspr_cli : 0.4.0 -> 0.4.1 jaspr_router : 0.1.1 -> 0.2.0 jaspr_test : 0.4.0 -> 0.4.1

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 76.33% and project coverage change: +1.46 :tada:

Comparison is base (e3c6ac0) 64.45% compared to head (5068eb8) 65.92%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #89 +/- ## ========================================== + Coverage 64.45% 65.92% +1.46% ========================================== Files 80 94 +14 Lines 3261 3809 +548 ========================================== + Hits 2102 2511 +409 - Misses 1159 1298 +139 ``` | [Impacted Files](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte) | Coverage Δ | | |---|---|---| | [...s/jaspr/lib/src/foundation/synchronous\_future.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mb3VuZGF0aW9uL3N5bmNocm9ub3VzX2Z1dHVyZS5kYXJ0) | `0.00% <0.00%> (ø)` | | | [...ckages/jaspr/lib/src/framework/render\_element.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mcmFtZXdvcmsvcmVuZGVyX2VsZW1lbnQuZGFydA==) | `84.44% <ø> (-0.67%)` | :arrow_down: | | [packages/jaspr/lib/src/framework/state\_mixins.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9mcmFtZXdvcmsvc3RhdGVfbWl4aW5zLmRhcnQ=) | `62.50% <ø> (ø)` | | | [packages/jaspr/lib/src/server/native\_interop.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvbmF0aXZlX2ludGVyb3AuZGFydA==) | `0.00% <0.00%> (ø)` | | | [...ackages/jaspr/lib/src/server/render\_functions.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvcmVuZGVyX2Z1bmN0aW9ucy5kYXJ0) | `93.33% <ø> (ø)` | | | [packages/jaspr/lib/src/server/run\_app.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvcnVuX2FwcC5kYXJ0) | `0.00% <0.00%> (ø)` | | | [packages/jaspr/lib/src/server/server\_binding.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHIvbGliL3NyYy9zZXJ2ZXIvc2VydmVyX2JpbmRpbmcuZGFydA==) | `66.66% <ø> (ø)` | | | [...ges/jaspr\_router/lib/src/history/history\_stub.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcm91dGVyL2xpYi9zcmMvaGlzdG9yeS9oaXN0b3J5X3N0dWIuZGFydA==) | `100.00% <ø> (ø)` | | | [...ckages/jaspr\_router/lib/src/misc/error\_screen.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcm91dGVyL2xpYi9zcmMvbWlzYy9lcnJvcl9zY3JlZW4uZGFydA==) | `0.00% <0.00%> (ø)` | | | [packages/jaspr\_router/lib/src/misc/errors.dart](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte#diff-cGFja2FnZXMvamFzcHJfcm91dGVyL2xpYi9zcmMvbWlzYy9lcnJvcnMuZGFydA==) | `0.00% <0.00%> (ø)` | | | ... and [22 more](https://app.codecov.io/gh/schultek/jaspr/pull/89?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kilian+Schulte) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.