feat(GODT-2816): Wait until mandatory fields are filled then fill body and title.

This commit is contained in:
Romain LE JEUNE
2023-07-28 16:35:52 +02:00
committed by Romain Le Jeune
parent 3d64c5f894
commit 80d729e3e5
15 changed files with 885 additions and 766 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;
}

View File

@ -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,