Ullrich Schäfer
6c5fb6df0e
Spec drift catch-up: FIT location, notification payload fields, shared-packages index
...
- wahoo-import: clarify fitToGpx lives at connected-services/fit.ts (shared
across providers) not inside the wahoo directory
- notifications: correct follow payload field names to followerUsername,
followerDisplayName, targetUsername, targetDisplayName (matches code)
- shared-packages: add @trails-cool/fit package entry + CAPABILITIES.md index
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 16:02:13 +02:00
Ullrich Schäfer
0306d90de8
Merge /follows/requests into /notifications as a tabbed inbox
...
Folds the actionable follow-requests surface into the Notifications page
as a Requests tab (alongside the existing Activity tab), so the navbar
exposes a single bell instead of two adjacent inboxes. The Requests tab
shows a count badge for pending rows regardless of read state, while the
bell badge keeps reflecting the unread-notifications count (which already
covers `follow_request_received` rows). The standalone /follows/requests
URL is preserved as a 301 redirect so prior notification deep-links,
emails, and bookmarks still resolve.
Driven by the IA review captured in docs/information-architecture.md.
Specs (notifications, social-follows, journal-landing) are updated in
the same change to reflect the new structure.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 08:24:59 +02:00
Ullrich Schäfer
37073eafd7
Spec catchup: drift fixes, account-settings split, notifications archive
...
Drift (specs aligned to shipped code):
- social-follows: locked-account access rule for /users/:u/followers and
/users/:u/following (owner + accepted-follower see; non-followers of
private get 404). Adds the follow→notification lifecycle requirement.
Fills the placeholder Purpose.
- public-profiles: counts degrade to plain text (not anchors) for viewers
who can't see the lists. Cross-references social-follows. Fills the
placeholder Purpose.
- journal-auth slimmed to cookie session + Terms gate. Auth methods moved
out (see authentication-methods).
Splits:
- account-settings (14-line stub) deleted, content split into:
- profile-settings (display name, bio, profile_visibility)
- account-management (email change with verification, account deletion)
- connected-services (Wahoo + future external integrations)
- authentication-methods split out of journal-auth: passkeys
(register/login/add/delete), magic links, 6-digit codes
(login + register), method toggle on register/login forms,
dev-console fallback.
New specs:
- sse-broker: /api/events, in-process broker, useUnreadNotifications
hook, Caddy passthrough, multi-process forward-compat contract.
Archived: notifications change → openspec/changes/archive/2026-04-26-notifications.
Promoted the four delta spec files into top-level specs:
- specs/notifications/ (new capability)
- specs/activity-feed/ (added: public activity fan-out)
- specs/journal-landing/ (added: Notifications navbar entry)
- specs/social-follows/ (added: follow→notification lifecycle)
Added openspec/CAPABILITIES.md grouped index covering all 40 specs with
a Conventions section explaining cross-references, naming, and the
catch-up-vs-change rule.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 02:02:43 +02:00