Skip to content

Enhancement: send feedback and bug reports to our UserInput board from inside Lanyards #134

Closed

Description

@renderghost

Summary

Let people raise bugs and give feedback without leaving Lanyards. It goes straight to our board on userinput.app, with screenshots. Beside the form sit links to our Bluesky account and our Signal (the private route).

UserInput is built on AT Protocol. A piece of feedback is a record in the author's own repo that points at the board, so Lanyards can write it for the signed-in person. No UserInput API or keys are needed.

What we found (checked live on 2026-11-20)

  • Published lexicons: _lexicon.userinput.app resolves to did:plc:uyixj57k6nmxrdj7pjs2ss5s (handle userinput.app), which publishes 16 app.userinput.* lexicons as com.atproto.lexicon.schema records.
  • app.userinput.discussion:
    • required: space (a strongRef to the board, so uri and cid), title (≤ 300 graphemes) and createdAt;
    • optional: body (≤ 10,000 graphemes, Markdown) and tags (≤ 8, from the board's tag list);
    • optional: images (≤ 4), each a blob (PNG, JPEG, WebP or GIF, ≤ 1 MB) with alt.
  • app.userinput.space (the board): lives in the owner's repo, with name, description and tags (value and label).
  • Indexing: UserInput finds discussions through Constellation, by backlinks at .space.uri.
  • Moderation is the board owner's, on userinput.app: status, hide, ban and member. We build none of it.
  • URLs: the board is https://userinput.app/s/<did>/<rkey>, a post is https://userinput.app/d/<did>/<rkey>.

Decided

  • The board belongs to @lanyards.app (did:plc:ua3d6biqepazbq6mw4ysotfo). Lanyards reads the board, and its tags, live from that account's repo. Until a board exists, the page says feedback isn't open yet and shows the other routes.
  • Bluesky: @lanyards.app.
  • Signal: the username renderghost.101, shown with a Copy button. Signal's username links are generated in the app, so they can't be derived from the username.
  • Permission is asked only when someone sends feedback, not at sign-in. The extra scopes are:
    • repo:app.userinput.discussion?action=create;
    • blob:image/*.
  • Screenshots: attach, paste or drop everywhere (up to 4, each with alt text), plus "Capture this screen" on desktop browsers that support it (getDisplayMedia).
  • Technical details (app version, browser, page): an opt-in tickbox, with the exact text shown before sending.
  • Signed-out visitors: links only, to the board, Bluesky and Signal.

How it works

  1. The form (CLAUDE.md's Form Standards): type (from the board's tags), title, details, screenshots with alt text, and the technical-details tickbox.
  2. Screenshots are re-encoded in the browser to fit 1 MB, which strips metadata such as photo location.
  3. Sending:
    1. read the board's current record, for the strongRef's cid;
    2. uploadBlob each image to the person's own PDS;
    3. createRecord the app.userinput.discussion.
  4. On success: "Feedback sent", linking to the post on UserInput. On failure, keep everything.
  5. Placement: a /feedback page, linked from the app header, Settings and the landing page's footer, and loaded on demand.

Things to keep in mind

  • Posts are public. The post and its screenshots are public records in the author's repo until they delete them. The page says so before sending, and points to Signal for anything private, including security issues.
  • Lexicon drift: we vendor UserInput's lexicons, with a check against the published versions.

Needed from the owner

  • Create our board on userinput.app, signed in as @lanyards.app, with its tags (e.g. Bug, Idea, Question)
  • Bluesky: @lanyards.app
  • Signal: renderghost.101

Acceptance

  • A signed-in person can send a bug report with up to 4 screenshots and see it on our board
  • Permission is requested only for feedback; declining keeps the form and explains why
  • Desktop capture appears only where getDisplayMedia exists
  • Technical details are opt-in and shown in full
  • Signed-out visitors see the board, Bluesky and Signal
  • The form passes axe, works by keyboard alone, and fits 320 px
  • The privacy notice is shown before sending

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions