element-hq / element-hq/element-android

Suggestion: Have a "file a bug" button which goes to an issue form with prefilled variables

Open
#4,538 0 comments 0 reactions 0 assignees View on GitHub
A-Rageshake T-Enhancement
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Your use case

#### What would you like to do?

Add a "File a bug on github" button to Element, and/or to rageshakes, to easily file bugs.

#### Why would you like to do it?

This would lower the threshold for filing bugs.

#### How would you like to achieve it?

Github has issue forms now, but one small thing that i just discovered is that you can prefill variables.

Compare the following URL to the following issue template;

```
https://github.com/vector-im/element-android/issues/new?assignees=&labels=T-Defect&template=bug.yml&version=v1.3.8
```

https://raw.githubusercontent.com/vector-im/element-android/develop/.github/ISSUE_TEMPLATE/bug.yml

This pre-fills the "version" part of the report, leaving the user only to note down reproducability steps.

The local app could collect all version and install information on its own, such as OS (if possible), Version, Device, etc.

Note: For cross-version compatibility, it may be best for element.io to set up a bounce service, where the client just gives variables, and the service redirects to the latest bug-issue template, so this doesn't have to be hardcoded in the client.

Note 2: This would only work for github users, which would have to log in, it might not be very useful for every other user.

### Have you considered any alternatives?

_No response_

### Additional context

Clone of https://github.com/vector-im/element-ios/issues/5176

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.