feat(website): a News section, with the Longshot 4.0 announcement #3306
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3306
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:website/news"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The website had nowhere to post news. This adds a News section and its first post, the Longshot 4.0 announcement:
/news/lists every dated post, newest first, with itsdate and summary (
src/components/NewsList.astro).src/content/docs/news/with adatein its front matter (the docs schema gains an optionaldate,src/content.config.ts). The date shows under the post's title (src/components/PageTitle.astro, an overrideof Starlight's).
/news.jsonlists the posts (title, date, description, page) for Longshot Launcher's News panel(
src/pages/news.json.ts), made at build time. The launcher's side is a pull request of its own in LongshotLauncher.news/longshot-4-0-0.mdx: what 4.0 brings, the new launcher and builder, performance and graphics(ray tracing among them), the Rust core and Longshot Mods, the menu as a system mod, the Steam Deck, controls and
fixes. Its numbers come from the v3.2.0 against nightly benchmark of 2026-12-05.
Also, from reading the pages on a phone and a wide screen:
(
src/styles/theme.css).src/components/Sidebar.astrois removed.(
src/styles/content.css).The README's new News section says how to add a post.
Testing
Tested: Linux, Firefox.
npm run buildandnpm run checkpass (97 tests). Onastro dev:/news/, the post and/news.jsonat 1400, 1970 and 2460 px wide and at 390 px (a phone), the install page at 390 px.mise run test: seebelow.
Still to test:
/news/, the post and/news.jsonserve as they do locally (by hand).Measurements
Nothing to measure: the website only, no game code.
Risks
Website only. A docs page with both sidebars is laid out a little differently (the "On this page" column narrower, more
room around its line). A revert is enough.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Possibly related, for context:
WIP: feat(website): a News section, with the Longshot 4.0 announcementto feat(website): a News section, with the Longshot 4.0 announcement