feat(ui): Facts page deposits a raw source under the signed-in user #11

Merged
k.renner merged 1 commits from feat/facts-page into main 2026-09-25 06:26:41 +00:00
Member

Human counterpart of POST /api/v1/facts.

  • /facts (MudBlazor): title, source, observed date, tags, observation (min 40 chars, validated with the same RawSource.Validate). Deposits through DepositFactUseCase as Identity(<Authentik username>, Human), shows the receipt with a link to the raw page, then lists the raw queue.
  • AddCascadingAuthenticationState() so the proxy-header principal reaches the circuit. Through the machine door (header stripped) or with no sign-in the form gives way to a notice instead of depositing as "unknown".
  • Nav entry "Facts".
  • Test: the page renders anonymously with the notice and the queue heading. Full suite 129 green.

🤖 Generated with Claude Code

Human counterpart of `POST /api/v1/facts`. - `/facts` (MudBlazor): title, source, observed date, tags, observation (min 40 chars, validated with the same `RawSource.Validate`). Deposits through `DepositFactUseCase` as `Identity(<Authentik username>, Human)`, shows the receipt with a link to the raw page, then lists the raw queue. - `AddCascadingAuthenticationState()` so the proxy-header principal reaches the circuit. Through the machine door (header stripped) or with no sign-in the form gives way to a notice instead of depositing as "unknown". - Nav entry "Facts". - Test: the page renders anonymously with the notice and the queue heading. Full suite 129 green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-09-25 06:24:00 +00:00
feat(ui): Facts page deposits a raw source under the signed-in user
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
09ec2cf1d9
Same DepositFactUseCase as POST /api/v1/facts, attributed as a human
identity from the Authentik proxy header. Cascading authentication state
carries the principal into the Blazor circuit; without a signed-in user
the form is replaced by a notice. Lists the raw sources awaiting the
nightly distill.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
k.renner merged commit e0a0cf3085 into main 2026-09-25 06:26:41 +00:00
k.renner deleted branch feat/facts-page 2026-09-25 06:26:41 +00:00
Sign in to join this conversation.