mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
Add GH labels to bug reports (#84)
This commit is contained in:
@@ -17,4 +17,6 @@ final class BuildSettings {
|
|||||||
static let bugReportApplicationId = "riot-ios"
|
static let bugReportApplicationId = "riot-ios"
|
||||||
static let bugReportUISIId = "element-auto-uisi"
|
static let bugReportUISIId = "element-auto-uisi"
|
||||||
|
|
||||||
|
static let bugReportGHLabels: [String] = ["Element-X"]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class BugReportViewModel: BugReportViewModelType, BugReportViewModelProtocol {
|
|||||||
let result = try await bugReportService.submitBugReport(text: context.reportText,
|
let result = try await bugReportService.submitBugReport(text: context.reportText,
|
||||||
includeLogs: context.sendingLogsEnabled,
|
includeLogs: context.sendingLogsEnabled,
|
||||||
includeCrashLog: true,
|
includeCrashLog: true,
|
||||||
githubLabels: [],
|
githubLabels: BuildSettings.bugReportGHLabels,
|
||||||
files: files)
|
files: files)
|
||||||
MXLog.info("[BugReportViewModel] submitBugReport succeeded, result: \(result.reportUrl)")
|
MXLog.info("[BugReportViewModel] submitBugReport succeeded, result: \(result.reportUrl)")
|
||||||
callback?(.submitFinished)
|
callback?(.submitFinished)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Bug report: Add GH labels.
|
||||||
Reference in New Issue
Block a user