UIPrompt Library
Account
Forms, Feedback & Data CollectionFreeSaaSsingle-screenStructure checked

Patchnote: Reproducible SaaS Issue Reports

Build a local issue-reporting form with required-field validation, suggested team and priority, and a real Markdown handoff file.

Prompt output preview

Patchnote: Reproducible SaaS Issue Reports

Patchnote: Reproducible SaaS Issue Reports prototype poster
AI-reviewed exampleExample overview
Open interactive preview

Try the working example

  • Validate six required fields
  • Change suggested team/priority
  • Insert labelled fictional evidence

Example output from this prompt. Your result will vary with your AI tool and edits.

Prompt
Build Patchnote, a working SaaS issue-reporting screen for a support specialist preparing an engineering handoff. Return one complete standalone responsive HTML file with internal CSS and JavaScript. Build the product itself, not a design brief. The useful output is a reproducible Markdown packet the user can inspect and download; nothing is sent to an external service.

Inputs and customization
- Product: Patchnote. Audience: SaaS support and product teams. Primary action: Prepare report. Secondary action after preparation: Download Markdown.
- Customize the product name, product areas and their suggested teams, impact labels, sample fields, accent color, and source link. Keep the field-to-output mapping and validation explicit when adapting.
- Default fictional draft: title “Invoice email change is not saved”; area Billing; impact Workflow blocked; environment “Chrome · macOS · demo.patchnote.test”; steps as three newline-separated steps: “Open Billing settings”, “Change the invoice email”, “Choose Save and refresh”; actual result “The previous email returns after refresh.”; expected result empty, so the user must supply it. Optional evidence notes empty.
- Area-to-team map: Billing → Monetization; Workspace → Collaboration; Integrations → Developer Platform. Impact choices: Visual issue, Workflow blocked, Data risk, Service unavailable. Suggested priority: Visual issue → P3; Workflow blocked → P2; Data risk or Service unavailable → P1. Clearly label these as local suggestions, not triage decisions already made by a team.
- Default sample evidence, inserted ONLY by an explicit “Insert sample evidence” action: “Fictional example: POST /billing/email returned 422 (plan_token missing). No real console was captured.” Enable sample insertion only when evidence notes are completely empty; explain that existing notes must be cleared first. Never overwrite notes with the sample. Never label the sample as an attached file or captured browser log. No upload control is needed. Evidence is optional plain text, and the packet must say “Not provided” when empty.

Visual direction
Use a warm paper background, dark ink, a restrained indigo accent, and hairline dividers. Present the left editor as a legible support worksheet and the right summary/output as a numbered handoff receipt with a strong title. Typography: system sans, 32–40px page title, 18–22px section titles, 14–16px body, labels at least 13px; monospace only for the output and technical evidence. Use generous enough spacing to scan required fields. No generic hero, fake phone shell, dashboard sidebar, gradients, logos, decorative stock images or testimonials. A compact progress label must derive its count from the six required fields: title, area, environment, steps, actual and expected. Impact always has a default and is not in that six-field count. Default completeness is 5/6; blank title or another required field decreases it. Describe completeness as “required fields ready”, not probability or automation success.

Layout and responsiveness
- Header: Patchnote, “Issue handoff”, compact “Local demo · nothing is sent” notice and unobtrusive Source prompt link to /prompts/forms-feedback-data-collection-forms-feedback-and-data-collection-prompts-for-saas-issue-reporting-form-20260717-free/.
- Main heading “Give engineering a report they can reproduce.” with a short description that this creates a local Markdown file. Keep the editor near the first viewport.
- At 1100px and wider, a roughly 60/40 editor/receipt grid; at smaller widths, editor then receipt in one natural document scroll. Do not pin a large receipt over the form. Use clear section numbers, paired compact selects and inputs, and full-width textareas for steps/results/evidence.
- At 390px and 320px, all labels, primary actions and error text wrap without horizontal page scrolling. Actions stack if needed; tap targets at least 44px. No fixed bottom bar covering fields. The output textarea may scroll internally, but long titles/evidence in summaries wrap. Keyboard users can reach all content.
- The receipt summary updates immediately with title, suggested team, impact/priority, completeness and evidence status. Label it “Draft summary” before preparation. The generated packet below is an immutable snapshot until rebuilt. If any form value changes after preparation, remove the old packet and download action immediately, show “Draft changed. Prepare a new report.” and clear stale success/error notices. Never silently download an old report for new form contents.

Behavior and output
1. Use real native labelled inputs, select elements and textareas with max lengths: title 100, environment 160, steps 2000, actual and expected 1000 each, evidence 2000. Trim input for validation and output. Required fields cannot contain whitespace only; steps must have at least one nonblank line. Avoid unnecessary email/contact fields. Render user text with textContent/value, not innerHTML.
2. Prepare report validates all fields on submission. Show inline errors with aria-invalid and aria-describedby, an accessible error summary, and focus the first invalid field. Errors update as the user corrects the associated field. Do not show errors on untouched initial fields. Pressing Enter in a textarea inserts a newline; preparing is an explicit submit action.
3. On valid submit, snapshot the trimmed data, disable editable fields and repeated submission, show “Preparing report…” with aria-busy, and await a short simulated delay (roughly 450ms). Provide Cancel preparation during that delay. Cancellation restores editing and leaves no packet. Reset must also cancel any pending result so it cannot appear later. No promises of server processing.
4. On success, show a labelled readonly textarea containing exact Markdown, the local suggested team/priority, and Download Markdown. Focus the output heading (tabindex=-1) on success so mobile and keyboard users reach it. The packet must contain title, area, suggested team, impact, suggested priority, environment, numbered nonblank reproduction steps, actual result, expected result, and optional evidence or “Not provided”. Include “Local draft — not submitted to any service.” No invented issue ID, timestamp, SLA, customer quote or sent confirmation. Preserve multiline plain text and ensure Markdown delimiters in user values cannot break section structure: escape Markdown syntax in text fields and render technical/evidence content as safely indented text. Export a fixed filename patchnote-issue.md, UTF-8 text/markdown, using a real Blob, object URL and download link; revoke the object URL after a safe delay. No network requests, localStorage, cookies, backend, external fonts, analytics or libraries.
5. Keep the readonly packet visible for manual selection. Offer Select report text, which focuses and selects the exact output. After activating download, say “Download requested. If no file appeared, select the report text.” Browser download completion cannot be inferred from clicking an anchor. Catch failures from Blob/object URL/download invocation, show a clear error and Retry download, and retain the identical packet for manual recovery. Retrying must use the same packet. Clear obsolete feedback on reset, edits or a new preparation; prevent duplicate pending operations.
6. Add a closed details element “Demo test controls” containing unchecked “Fail next preparation” and “Fail next download” controls. Each is a one-shot local simulation, consumed only when its matching valid operation runs. A preparation failure produces no packet, retains all inputs, and shows Retry preparation. Retry uses current values and the same validation; deliberate edits clear the old failure. Avoid moving keyboard focus to a removed/disabled button after retry. A download failure never claims success.
7. “Clear draft” empties text fields, restores Billing and Workflow blocked, cancels pending work, clears all output/errors/test toggles, and yields 1/6 required fields ready (area only). “Load example” restores the exact default fictional draft and 5/6. These are explicitly labelled destructive local resets, not network operations. Both focus the title field and announce the resulting state. Repeated prepare/reset/cancel actions must not resurrect stale work. No unsaved persistence claim: refreshing starts the sample again.

Accessibility and constraints
Use one h1, semantic main/form/sections, explicit labels, a visible focus ring, truthful status text in a polite live region and errors announced without repeating all content. WCAG AA contrast, semantic buttons, disabled/pending distinctions, readable error/success messages with text as well as color. No placeholder-only labels. Respect prefers-reduced-motion; only subtle focus/hover transitions. Do not invent real integrations, live telemetry, security certifications, human review, model compatibility or test results. Use a small data favicon to avoid an incidental favicon request. Keep the implementation plain, short and readable, with a single draft/packet state and an operation counter for cancel/reset protection.

Acceptance checklist
- Default 5/6 and no premature error; submitting the sample focuses Expected result and shows its error. Whitespace fails; all limits apply.
- Entering an expected result yields 6/6. Changing Billing to Workspace and impact to Data risk updates Collaboration/P1 in summary and exact generated file.
- Preparing yields observable pending → immutable output. Cancel and reset while pending never reveal a late packet. Double submit produces one result.
- Preparation error → keyboard Retry succeeds and leaves usable focus. Download failure → same readable text → Retry downloads exact bytes. Select report text selects all output.
- Editing any field after preparation hides old output/download and requests regeneration; no stale receipt or success message remains.
- Clear draft is an actual 1/6 empty state; Load example restores 5/6. Optional evidence is absent unless typed or explicitly inserted, and sample evidence is labelled fictional in both UI and file.
- Desktop 1440/1024, tablet 768, mobile 390/320, 200% zoom and reduced motion remain usable with no page overflow. Check keyboard order, invalid/loading/error/success states and contrast.
- Test actual downloaded bytes, long text, line breaks and Markdown-special characters; no user text executes as markup or script. Source prompt link works. No external service is contacted.

Prompt brief

Audience
Support specialists handing reproducible SaaS issues to engineering.
Use case
Turn observed behavior, steps and an expected result into an inspectable local report.

Expected result

  • A responsive form that builds a Markdown file from your entries, with honest local-only behavior and recovery states.

Implementation notes

  • Six required fields with derived completeness and focus-aware validation.
  • Local team/priority suggestions; no service is connected.
  • Immutable Markdown packet, real file download and manual selection after failure.

Accessibility and responsive requirements

  • Desktop, tablet and 390/320px mobile layouts without page overflow.
  • Labelled controls, keyboard focus, announced status and reduced motion.

Quality checklist

  • Expected-result validation rejects whitespace.
  • Cancel/reset prevents late reports.
  • Changing any draft value removes old report/download.
  • Downloaded Markdown bytes match the visible packet.
  • Fictional evidence appears only after an explicit insertion.
Share a result example

Paste a public image URL from a result this prompt helped create. Submissions stay private until reviewed.

Related prompts