Commit Graph
333 Commits
Author SHA1 Message Date
Casey Ydenberg 579709159d showcase: add Living Pixel (#2165) 2023-12-11 18:14:29 +01:00
Casey YdenbergandMarvin Hagemeister 25afcae943 docs: Merge data fetching pages (#1974) (#2107)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-12-07 10:50:50 +01:00
Marvin Hagemeister 9af63be308 fix: switch back to URLPattern for correctness (#2151) 2023-12-07 09:40:07 +01:00
Peter John e78c6a90af Update showcase.json (#2132) 2023-12-04 11:39:57 +01:00
迷渡andMarvin Hagemeister 87d1f2356a chore: Use satisfies instead of as (#2136)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-12-04 11:38:52 +01:00
Reed von Redwitz 35da45bff1 chore: update types in tests, init, update (#2122)
Of particular note is the change to
`tests/fixture_plugin/routes/test.tsx`. Note how I do this:
```diff
-  async GET(_req, ctx: HandlerContext<unknown, { test: string }>) {
+  async GET(_req, ctx: FreshContext<{ test: string }, unknown>) {
```

I find it strange and confusing that the order of the type parameters
has "changed". This makes it impossible to do a simple search and
replace, because people now have to change order as well.

Most of the types have been declared as `<T, S>`, i.e. data before
state:
* `PageProps<T = any, S = Record<string, unknown>>`
* `RouteContext<T = any, S = Record<string, unknown>>`
* `Handler<T = any, State = Record<string, unknown>>`
* `Handlers<T = any, State = Record<string, unknown>> `
* `AsyncRoute<T = any, S = Record<string, unknown>>`
* `PageComponent<T = any, S = Record<string, unknown>> `
* `AsyncLayout<T = any, S = Record<string, unknown>>`

And then `FreshContext` comes around like 
```
export interface FreshContext<
  State = Record<string, unknown>,
  // deno-lint-ignore no-explicit-any
  Data = any,
  NotFoundData = Data,
>
```
and switches it all up.

Not a huge issue, but just something to be aware of that others might
report.
2023-12-02 10:33:59 +01:00
Marvin Hagemeister 8fecb589ba docs: fix release post link (#2114) 2023-12-01 16:38:38 +01:00
Marvin Hagemeister dace008611 chore: release 1.6.0 (#2113) 2023-12-01 16:20:40 +01:00
Marvin Hagemeister 8ddc21eb90 Router cleanup (#2099) 2023-11-30 14:08:05 +01:00
Marvin Hagemeister d12ad2fc5f docs: fix encoded text in TOC (#2098) 2023-11-30 03:21:54 +01:00
Marvin Hagemeister de55d80dee docs: improve design (#2097) 2023-11-29 22:50:51 +01:00
Marvin Hagemeister dd76addb9f docs: minor code cleanup (#2084) 2023-11-28 18:37:57 +01:00
Reed von RedwitzandMarvin Hagemeister b902205feb chore: bump std to 208 and deal with deprecations (#2081)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-28 16:35:26 +00:00
Reed von Redwitz 6a90fdbf1b docs: switch to aria-current in active links page (#2019) 2023-11-28 17:32:48 +01:00
Marvin Hagemeister 325850719a feat: reduce number of island bundles (#2082) 2023-11-28 17:23:27 +01:00
Marvin Hagemeister 79fd85ef93 docs: Add migrating to Tailwind CSS page (#2077) 2023-11-28 13:39:05 +01:00
ABel-216andMarvin Hagemeister 74672b1095 showcase: Removed invalid links (#2032)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-27 12:42:19 +01:00
Marvin Hagemeister bb035ae8da docs: port over to TailwindCSS (#2058) 2023-11-22 11:12:21 +01:00
Zbynek Zundalek 15678f8b38 showcase: add MergePanic (#2052) 2023-11-21 11:08:16 +00:00
Marvin Hagemeister 7578e50ee3 docs: fix regression in navigation (#2047) 2023-11-16 10:38:13 +01:00
Craig Doremus b5816cd001 feat(tests): add fresh-testing-library tests (#1990) 2023-11-15 18:25:13 +01:00
Jon WrightandJon Wright 1b767233f4 showcase: streamdal.com (#2028)
Co-authored-by: Jon Wright <jon@streamdal.com>
2023-11-08 09:01:03 +00:00
Stephen Melnicki 25470159b1 showcase: update deno paste screenshots (#2029) 2023-11-08 09:52:07 +01:00
Reed von Redwitz 8b846816a6 fix(server): support non-function exports from island files (#1986) 2023-11-06 11:55:16 +01:00
yusof 1ba1726e76 www: fix invalid link (#2010) 2023-11-05 18:04:00 +00:00
Reed von Redwitz da90d92ebd chore: bump deps (#2000) 2023-11-03 16:52:54 +01:00
Paul Jacks d06f88cd24 showcase: add jacks.se (#2001) 2023-11-03 13:49:14 +00:00
Enric Perpinyà Pitarch 5de34aac93 showcase: add perpinya.eu to the showcase (#1979) 2023-10-30 17:08:28 +00:00
Reed von Redwitz 781247b180 chore: explicitly version rts in deps.ts (#1684) 2023-10-30 17:59:22 +01:00
NanoEdit 77ad01d184 showcase: Add CS2 Items (#1968) 2023-10-21 21:09:14 +00:00
Marvin Hagemeister 57054d29b3 docs: fix header nav (#1941) 2023-10-15 08:43:42 +02:00
Marvin Hagemeister f86a525418 docs: inline gfm-css (#1939) 2023-10-15 08:43:15 +02:00
Birk SkyumandMarvin Hagemeister eb41b65d4c docs: Enhanced CSR Layout (#1908)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-10-12 12:23:37 +00:00
Bùi Đặng Bình 36ea0385ed showcase: Add Text2Audio (#1876) 2023-10-11 09:29:42 +02:00
Marvin Hagemeister 1d12853889 fix: docs header nav not working (#1904) 2023-10-11 07:53:30 +02:00
Marvin Hagemeister ded23e0a94 www: update header (#1900) 2023-10-10 18:29:59 +02:00
Asher Gomez 2bb17981c3 refactor: simplify www test (#1895) 2023-10-10 11:34:21 +02:00
Arturo Lume 4fac2a22a6 showcase: add AquaVibes (#1890) 2023-10-09 11:03:11 +00:00
Adam Zerner 2bd3271883 showcase: add FilterHN to showcase.json (#1883) 2023-10-07 19:10:20 +00:00
Marvin Hagemeister 534a0d87b3 docs: improve sidebar active style (#1888) 2023-10-07 21:05:54 +02:00
Marvin Hagemeister cb4dd3299b chore: remove console.log (#1881)
Here is hope that our linter will get a `no-console` rule someday...
2023-10-06 22:57:59 +02:00
Marvin Hagemeister 01e5f71058 docs: improve admonition styles (#1880) 2023-10-06 22:56:11 +02:00
Marvin Hagemeister 21fcf6169b docs: add partials documentation (#1878) 2023-10-06 22:55:54 +02:00
Marvin Hagemeister 776a721332 docs: switch to partial navigation (#1865) 2023-10-05 12:33:27 +02:00
Marvin Hagemeister 0e58c6b475 docs: reload when ../src changes (#1855) 2023-10-04 17:40:56 +02:00
Marvin Hagemeister 5ba9262f00 fix: docs nav not working (#1854) 2023-10-04 15:43:58 +02:00
Marvin Hagemeister be1c15f8f3 fix: throw error when no partials found (#1853) 2023-10-04 15:38:43 +02:00
Marvin Hagemeister 9fdb0d5b01 docs: use builtin active link detection (#1850) 2023-10-04 14:34:42 +02:00
Marvin Hagemeister ced9171690 docs: improve code blocks mobile layout (#1846) 2023-10-04 12:07:31 +02:00
Marvin Hagemeister bc415f6d04 docs: fix anchor links (#1845) 2023-10-04 10:07:09 +02:00