Skip to content

feat: add newsroom#330

Merged
DarthGigi merged 34 commits into
prodfrom
dev
Jun 5, 2026
Merged

feat: add newsroom#330
DarthGigi merged 34 commits into
prodfrom
dev

Conversation

@DarthGigi

Copy link
Copy Markdown
Member

No description provided.

github-actions Bot and others added 30 commits May 16, 2026 16:29
Initial setup for account system with Drizzle and Better Auth
…63 docs

- Hoist `new IsInViewport(...)` out of `$derived` in Chip.svelte (runed's
  internal `$derived.by(targets)` was being orphaned each re-run while its
  `$effect.root`-managed observer outlived the parent scope).
- Split `getThemeIcons(...).current` in Header.svelte; each theme change
  swapped a different cached query and orphaned the prior `.current`.
- Use `await` for template-data queries (+page, AdditionalStats, Inventory)
  and for context-feeders (Main, +layout) — the docs-recommended idiom.
- Keep `.current`/`.loading`/`.error` in Stats.svelte for the
  loading-button-spinner pattern (matches the docs' alternative form).
- Drop redundant `getCombined()` in Sections.svelte; read CombinedContext.
- Navbar: rAF-retry scrollToTab for bits-ui ScrollArea.Viewport mount races,
  and make IntersectionObserver `rootMargin` NaN-safe.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… routes

Payload returns numeric post IDs at runtime despite the typed string contract,
so sanitizeData silently dropped them on write and the notification toast
resurrected on every refresh. Coerce IDs to strings in the notifications
context, wire the Read button to the same mark-all-seen flow as Close, gate
the notifier off `/` and `/newsroom/*`, and dismiss the toast on unmount.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Wire the `/newsroom` listing and `/newsroom/<slug>` posts to emit
`twitter:card=summary_large_image`, set `og:image` to the post's hero
variant (and a branded graphic on the listing), and exclude the routes
from the layout-level SvelteSeo so the homepage defaults stop bleeding
into the embed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
DarthGigi added 4 commits June 5, 2026 19:44
Add kysely 0.28.17 as a direct dev dependency.

This makes Better Auth packages resolve one core peer graph.

Keep the existing Kysely pin while the upstream adapter issue is open.

TODO: remove this direct dependency once better-auth/better-auth#9901 is fixed.
@changeset-bot

changeset-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 45a806c

The changes in this PR will be included in the next version bump.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DarthGigi DarthGigi merged commit 0f8abb0 into prod Jun 5, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant