feat(GODT-2842): Implement Bug Report Fallback notification.

This commit is contained in:
Romain LE JEUNE
2023-08-10 09:46:12 +02:00
parent 4ee6da4baa
commit 78c0651661
8 changed files with 1112 additions and 1001 deletions

File diff suppressed because it is too large Load Diff

View File

@ -261,6 +261,7 @@ message AppEvent {
ReportBugSuccessEvent reportBugSuccess = 5;
ReportBugErrorEvent reportBugError = 6;
ShowMainWindowEvent showMainWindow = 7;
ReportBugFallbackEvent reportBugFallback = 8;
}
}
@ -274,6 +275,7 @@ message ReportBugFinishedEvent {}
message ReportBugSuccessEvent {}
message ReportBugErrorEvent {}
message ShowMainWindowEvent {}
message ReportBugFallbackEvent {}
//**********************************************************
// Login related events

View File

@ -41,6 +41,10 @@ func NewReportBugErrorEvent() *StreamEvent {
return appEvent(&AppEvent{Event: &AppEvent_ReportBugError{ReportBugError: &ReportBugErrorEvent{}}})
}
func NewReportBugFallbackEvent() *StreamEvent {
return appEvent(&AppEvent{Event: &AppEvent_ReportBugFallback{ReportBugFallback: &ReportBugFallbackEvent{}}})
}
func NewShowMainWindowEvent() *StreamEvent {
return appEvent(&AppEvent{Event: &AppEvent_ShowMainWindow{ShowMainWindow: &ShowMainWindowEvent{}}})
}