Skip to content

feat(kb): port customer-facing knowledge base reader (Phoenix)#87

Merged
mpge merged 1 commit into
masterfrom
feat/kb-customer
Jun 24, 2026
Merged

feat(kb): port customer-facing knowledge base reader (Phoenix)#87
mpge merged 1 commit into
masterfrom
feat/kb-customer

Conversation

@mpge

@mpge mpge commented Jun 24, 2026

Copy link
Copy Markdown
Member

Completes the knowledge-base domain parity (admin side shipped in #86).

What

  • Customer KnowledgeBaseController — browse/search published articles (with per-category published counts), read an article (atomic view increment) with related articles, submit helpful/not-helpful feedback (atomic counter increment, feedback-enabled config gate)
  • Routes mounted under /kb in the customer scope, piped through the existing EnsureKbEnabled plug

Verified (Docker, elixir:1.15-otp-26)

  • mix format ✓ · mix credo --strict ✓ · full suite 495 tests, 0 failures

Part of the backend parity program (escalated-laravel baseline).

Completes the knowledge-base domain parity (admin side shipped in #86).

- Customer KnowledgeBaseController: browse/search published articles
  (with per-category published counts), read an article (atomic view
  increment) with related articles, and submit helpful/not-helpful
  feedback (atomic counter increment, gated by a feedback-enabled config).
- Routes mounted under /kb in the customer scope, piped through the
  existing EnsureKbEnabled plug.

Verified in Docker: mix format, mix credo --strict, full suite
(495 tests, 0 failures).
@mpge
mpge merged commit cb5299a into master Jun 24, 2026
1 check passed
@mpge
mpge deleted the feat/kb-customer branch June 24, 2026 05:08
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