Feature: Feedback Submission
User Need
Teams is a young product, and early user feedback is one of the most valuable signals for prioritizing improvements. Users need a frictionless, in-app way to share feedback without leaving the application or navigating to an external form.
At the same time, the inbox that collects this feedback is typically a triage inbox owned by a small group — not something every user should be a member of. Feedback submission lets any authenticated user file feedback into a designated inbox without opening up membership of that inbox.
User Stories
- As a user who notices a bug or has a suggestion, I want to share feedback without leaving Teams so I can capture the thought while it is fresh.
- As a team lead triaging feedback, I want all user feedback to land in one dedicated inbox so I can review and route it without sifting through other folders.
- As an operator, I want to point the feature at a specific inbox per environment so review, staging, and production each route feedback to the right target.
- As a security-conscious operator, I want the feature to stay hidden in environments where it has not been explicitly configured so feedback is never routed to the wrong inbox by default.
Concrete Scenarios
Scenario A — Submitting feedback: A support agent notices that the thread list sometimes fails to refresh after popup auth. They click the "Feedback" button at the bottom of the sidebar, type a subject, add a short reproduction in the comment, and click Submit. The thread appears in the configured feedback inbox for the triage team. The agent is not a member of that inbox, but the submission succeeds.
Scenario B — Feature disabled: In a customer deployment, the operator has not configured a feedback inbox. The Feedback button does not appear in the sidebar and no feedback can be submitted from Teams.
Scenario C — Draft preservation: A user opens the feedback modal, types a subject, is interrupted, and clicks Cancel. Later they reopen the modal — the subject they typed earlier is still there. Only a successful submit clears the form.
Scenario D — Review environment: A preview app for a merge request is spun up. The review environment is configured to route feedback to a demo triage inbox, so the Feedback button is available in the preview and feedback flows into the demo inbox. Production, which has a different triage target, stays unconfigured until explicitly wired.
Design
Sidebar entry point
When the feature is enabled, a small Feedback button (styled as a text link) appears at the bottom of the sidebar — only while the panel is expanded. Clicking it opens the Send Feedback modal, which contains:
- Subject — free-text input
- Inbox — read-only row displaying the configured feedback inbox name, so users know where their feedback is going
- Comment — free-text, multi-line textarea
The Submit button is disabled until both Subject and Comment have non-empty trimmed values. Cancel and Submit both close the modal; only a successful Submit clears the draft. If the submit fails, the modal stays open with the draft preserved.
Membership bypass
Normally, creating a thread in a shared inbox requires the caller to be a member of that inbox. Feedback is the exception: any authenticated user can file feedback into the configured feedback inbox. This is handled by the external submission endpoint (POST /api/threads/:inboxId/submissions) — the feedback inbox is automatically added to that endpoint's allowlist, so there is one submission mechanism rather than a separate feedback-only bypass.
A logged-in Teams user still goes through full claim validation, and the submitter's identity is derived from their authenticated session (not from the client), so feedback always reflects who actually submitted it and keeps their OX identity.
Feature gating
The feature is fully dormant when no feedback inbox is configured: the Feedback button is hidden, no server endpoint exposes feedback configuration, and the bypass path is never taken. Operators opt in per environment.
Acceptance Criteria
- When no feedback inbox is configured, the Feedback button is hidden and feedback cannot be submitted
- When a feedback inbox is configured, the button appears in the sidebar and opens the Send Feedback modal
- The modal displays the configured inbox name so users see where their feedback is going
- Submit is disabled until both Subject and Comment have non-empty trimmed values
- A successful submit creates a new thread in the feedback inbox, attributed to the submitting user
- Users who are not members of the feedback inbox can still submit
- All other inboxes continue to enforce membership — the bypass is scoped to the feedback inbox only
- Cancel closes the modal and preserves the draft; only a successful Submit clears it
- All user-visible strings use
gt()for translation
Edge Cases
- Feedback inbox renamed: The name shown in the modal re-resolves on each page load, so renames take effect without a redeploy.
- Feedback inbox deleted or misconfigured: The feature disables itself on the client and logs a warning server-side, so no feedback gets silently lost or mis-routed.
- Whitespace-only input: Subject and Comment are trimmed before the enable check; fields containing only whitespace keep Submit disabled.
Out of Scope
- Email notifications to the feedback triage team (they see new threads via their regular Teams workflow)
- Multiple feedback inboxes per deployment
- User-selectable feedback category or severity
- Attaching screenshots or logs to a feedback submission
- Follow-up conversation between submitter and triage team through the feedback modal (continues as a normal thread)
Configuration
The feedback inbox is selected per environment via the FEEDBACK_INBOX_ID environment variable (exposed as feedbackInboxId in the Helm chart). See Configuration Reference for deployment details.
Production should stay unconfigured by default so it does not inherit a non-prod target.
Related
- Configuration Reference — environment variable and Helm value
- E2E Test Spec: Feedback — acceptance test scenarios

