Skip to content

docs: close real UX gaps found reading every doc as a first-time user - #30

Merged
onelrian merged 1 commit into
mainfrom
docs/ux-pass
Aug 7, 2026
Merged

docs: close real UX gaps found reading every doc as a first-time user#30
onelrian merged 1 commit into
mainfrom
docs/ux-pass

Conversation

@onelrian

@onelrian onelrian commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Overview

A close, first-time-user read of every doc found real gaps: instructions that told a reader what to do but not how, exactly where precision actually matters, and a troubleshooting table too generic to act on.

Closes #29

Key Changes

  • NetBird token steps: neither README nor Installation ever explained how to actually get a token. Added exact dashboard navigation (Team, create a Service User, create an access token), sourced from NetBird's own docs, not guessed
  • Missing Secret creation: README, Installation, and the chart README all referenced envFromSecret.NETBIRD_API_TOKEN=netbird-audit/audit-token as if that Secret already existed. None showed the kubectl create secret command to actually create it, a real user following any of the three literally would hit "secret not found" with no path forward. Added it to all three
  • Generic sink example: docs/SINKS.md had an abstract variable table but no worked example. Added a full docker run example wiring up a generic HTTP webhook sink end to end
  • Actionable troubleshooting: rewrote the Operations troubleshooting table from vague checks ("correct credentials or connectivity") to specific log lines and metric names to look for (Failed to fetch events from Netbird: ... 401 means a bad token, a connection error means the URL/network, etc.)
  • Fixed two bugs my own earlier docs work introduced: a docker run with no -d that ran in the foreground and no -p 9090:9090, so the "confirm it's running" curl command I'd added couldn't actually work as written; and a RUST_LOG=debug claim that overstated what it does (there's no debug!/trace! logging anywhere in the code, verified by grep, so it only adds HTTP-client-level noise, not application detail)

Verification

Every log message and metric name quoted in the new troubleshooting table is copy-checked against the actual source (grep -n "error!\|Failed to" src/main.rs, grep -n "auditbridge_" src/metrics.rs), not written from memory.

cargo test (28 passed), cargo clippy --all-targets -- -D warnings (clean), cargo fmt --check (clean), helm lint charts/auditbridge (clean).

Out of Scope

No version tag or release in this PR, docs-only per this round of review.

Closes #29

No doc showed how to get a NetBird token or create the Secret the
Helm examples reference. Added both, a generic-sink example, and
made troubleshooting actionable with real log lines.
@onelrian onelrian self-assigned this Aug 7, 2026
@onelrian
onelrian merged commit 704a08b into main Aug 7, 2026
4 checks passed
@onelrian
onelrian deleted the docs/ux-pass branch August 7, 2026 14:17
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.

docs: close UX gaps found reading every doc as a first-time user

1 participant