- Notifications
You must be signed in to change notification settings - Fork715
fix: issue 9455#9473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix: issue 9455#9473
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fc742db to2afbc14CompareFailed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryThis PR addresses issue#9455 by adding validation checks in the logs search bar download functionality:
Issues to address:
Confidence Score: 3/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram participant User participant SearchBar participant searchService participant Notification Note over User,Notification: Download Flow with New Validations User->>SearchBar: Click Download (CSV/JSON) SearchBar->>SearchBar: downloadLogs(data, format) alt data is empty or null SearchBar->>Notification: "No data found to download" Notification-->>User: Show notification else data exists SearchBar->>SearchBar: Convert to CSV/JSON SearchBar-->>User: Download file end User->>SearchBar: Click Custom Range Download SearchBar->>SearchBar: downloadRangeData() alt customDownloadQueryObj.query missing SearchBar->>Notification: "Please run a query first" Notification-->>User: Show notification else query exists SearchBar->>searchService: search(query) searchService-->>SearchBar: results alt results.hits.length > 0 SearchBar->>SearchBar: downloadLogs(hits, format) else no hits SearchBar->>Notification: "No data found to download" end end User->>SearchBar: Schedule Job SearchBar->>SearchBar: addJobScheduler() alt no stream selected SearchBar->>Notification: "Please select a stream" Notification-->>User: Show notification else stream selected SearchBar->>SearchBar: proceed with scheduling end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
No files reviewed, 2 comments
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
c726c1e to55b45cdCompare55b45cd to1e34c07Compare2c6c83b intomainUh oh!
There was an error while loading.Please reload this page.
This pr fixes the issue in#9455 , stream should be selected before creating scheduled job