«Add comment» in the Edit menu via GitHub Issues
A new «Add comment» menu item in the Edit menu lets logged-in users submit feedback on a page without editing the content directly. The comment is created as a GitHub Issue in the correct repo.
User flow
- User clicks «Add comment» in the Edit menu
- A simple dialog opens with a free-text field
- Title is pre-filled with the page title and a link to the page
- On submit:
POST /repos/SAMT-X/{repo}/issuescreates the issue - User sees confirmation with a link to the created issue
Technical
- Same authentication and permission pattern as other operations
- Only requires the user to be logged in – not necessarily write access to the repo
- GitHub Issues are open for all authenticated users to create (if the repo has issues enabled)
- Pre-filled body: page title + URL + free text from user
Related
- Can be combined with conflict notifications in the PR flow
- Foundation for a future «Admin» switcher showing open issues per page