Commit Graph
9 Commits
Author SHA1 Message Date
larsiandClaude Opus 5.5 8e7c5be4c8 feat: pretty post URLs /p/<code>/<title-slug> in single-community mode
The code is the post id through a reversible 32-bit mix in base36: unique, short, and not the
raw sequential id. Only the code resolves the post (via the reroute hook), so the slug can
change with the title. Feed links, the share button, canonical and og:url use the pretty
form, and old /post/<instance>/<id> links are rewritten in the address bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011c5BZVwWdVLrdQi9htmuth
2026-11-14 01:33:48 +01:00
larsiandClaude Opus 5.5 a9bf3497fe feat: single-community mode (PUBLIC_SINGLE_COMMUNITY)
For instances that are one community (thebitcoin.win): "/" reroutes to the
community page, community browsing and explore lead back to it, community
names/handles are hidden on posts and in the header, and create-post
preselects the community. Unset, behaviour is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011c5BZVwWdVLrdQi9htmuth
2026-11-14 01:06:07 +01:00
Xylight 48fa25c285 refactor: split auth.svelte.ts -> auth/profile.svelte.ts + auth/inbox.svelte.ts 2026-02-08 11:20:32 -08:00
Xylight 46aad7b105 design: improve spacing for ItemList 2025-12-01 20:41:11 -08:00
Xylight 4605cddc60 fix: design shown problems in post polls/form 2025-11-16 15:56:44 -08:00
Xylight 3b42fb61f9 design: improve big card for community 2025-10-17 19:33:34 -07:00
Xylight 07400d2631 impr: rewrite postlink styling to use tailwind-guided normal css 2025-10-12 15:40:57 -07:00
Xylight 0479aba095 refactor: manually write like 3,000 import statements because i must test my willpower 2025-09-24 21:19:19 -07:00
Xylight 75f907743e impr: restructure src/lib 2025-09-24 17:12:19 -07:00