altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

feat: Add user feedback → GitHub issue creation flow

Open anandgupta42 opened this issue 8 months ago • 0 comments

Summary

Provide a way for users to create GitHub issues directly from altimate-code when they have feedback to improve the product. This closes the loop between user experience and actionable development tasks.

Proposed UX (two entry points)

1. Slash command: /feedback

  • User types /feedback in the TUI
  • Prompted for:
    • Title (short summary)
    • Category (bug, feature request, improvement, UX)
    • Description (freeform text, pre-populated with session context if relevant)
  • Creates a GitHub issue in AltimateAI/altimate-code with appropriate labels
  • Confirms with a link to the created issue

2. TUI message box input

  • When a user types feedback-like messages (e.g., "this should work differently", "it would be nice if..."), the agent can suggest: "Would you like me to file this as a GitHub issue?"
  • On confirmation, collects the same info as above and creates the issue

Implementation Details

  • Use gh CLI or GitHub REST API (via @octokit/rest) to create issues
  • Apply labels automatically: user-feedback, from-cli, and category label
  • Include metadata in issue body:
    • CLI version
    • OS / platform
    • Active warehouse type (if applicable)
    • Session context snippet (opt-in, user confirms before including)
  • Respect GITHUB_TOKEN for authentication

Acceptance Criteria

  • [ ] /feedback slash command registered and functional
  • [ ] TUI message box supports direct feedback submission
  • [ ] GitHub issue created with proper labels and metadata
  • [ ] User sees confirmation with issue URL after creation
  • [ ] No sensitive data (credentials, connection strings) included without explicit consent
  • [ ] Works without GitHub token (graceful error message pointing to setup docs)

Labels

enhancement, ux, cli

anandgupta42 avatar Mar 07 '26 00:03 anandgupta42