forked from Silverfish/proton-bridge
feat(GODT-2816): Wait until mandatory fields are filled then fill body and title.
This commit is contained in:
committed by
Romain Le Jeune
parent
3d64c5f894
commit
80d729e3e5
File diff suppressed because it is too large
Load Diff
@ -147,10 +147,11 @@ message GuiReadyResponse {
|
||||
message ReportBugRequest {
|
||||
string osType = 1;
|
||||
string osVersion = 2;
|
||||
string description = 3;
|
||||
string address = 4;
|
||||
string emailClient = 5;
|
||||
bool includeLogs = 6;
|
||||
string title = 3;
|
||||
string description = 4;
|
||||
string address = 5;
|
||||
string emailClient = 6;
|
||||
bool includeLogs = 7;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -330,6 +330,7 @@ func (s *Service) ReportBug(_ context.Context, report *ReportBugRequest) (*empty
|
||||
s.log.WithFields(logrus.Fields{
|
||||
"osType": report.OsType,
|
||||
"osVersion": report.OsVersion,
|
||||
"title": report.Title,
|
||||
"description": report.Description,
|
||||
"address": report.Address,
|
||||
"emailClient": report.EmailClient,
|
||||
@ -345,6 +346,7 @@ func (s *Service) ReportBug(_ context.Context, report *ReportBugRequest) (*empty
|
||||
context.Background(),
|
||||
report.OsType,
|
||||
report.OsVersion,
|
||||
report.Title,
|
||||
report.Description,
|
||||
report.Address,
|
||||
report.Address,
|
||||
|
||||
Reference in New Issue
Block a user