EDM-4014 device logs cancel#659
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
🚧 Files skipped from review as they are similar to previous changes (5)
Summary by CodeRabbit
WalkthroughDevice logs search control flow is refactored to distinguish snapshot and live-stream modes with improved request generation tracking. The hook API splits into ChangesDevice logs dual-mode search
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
5d88703 to
9024bb3
Compare
rawagner
approved these changes
Jun 3, 2026
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
9024bb3 to
da783dd
Compare
celdrake
added a commit
to celdrake/flightctl-ui
that referenced
this pull request
Jun 3, 2026
* EDM-4014: Add cancel button and improve overall UX * EDM-4012: Reset filters when logType changes * Fix disconnect banner for dark theme with suggested token Made-with: Cursor (cherry picked from commit 8c875e0)
celdrake
added a commit
that referenced
this pull request
Jun 3, 2026
* EDM-4058: Correctly identify RBAC exclusions (#671) Made-with: Cursor (cherry picked from commit afa4951) * EDM-3976 vulnerabilities empty state (#651) * No need to return placeholder when no configs exist Made-with: Cursor (cherry picked from commit 15c4ddc) * EDM-4008: Enforce only valid date range selection (#660) Made-with: Cursor (cherry picked from commit 5ee7434) * EDM-4020: Refresh vulnerability summary in Overview (#657) Made-with: Cursor (cherry picked from commit 4204596) * EDM-4063: Add docker:// protocol if link does not contain any (#675) (cherry picked from commit 24c25bf) Made-with: Cursor * EDM-4014 device logs cancel (#659) * EDM-4014: Add cancel button and improve overall UX * EDM-4012: Reset filters when logType changes * Fix disconnect banner for dark theme with suggested token Made-with: Cursor (cherry picked from commit 8c875e0) * EDM-4018: Allow search for vulnerabilities be case-insensitive (#656) * EDM-4018: Allow search for vulnerabilities be case-insensitive * Fix space not being an allowed character Made-with: Cursor (cherry picked from commit 623d65a) * EDM-4011: Fix parser missing footer depending on formatting (#663) Made-with: Cursor (cherry picked from commit 0ce4600) * EDM-4013 device logs search validations (#662) * EDM-4013: Block file paths with dots for moving away of /var/log * EDM-4013: Strengthen validations for systemd unit names Made-with: Cursor (cherry picked from commit ac370df) --------- Co-authored-by: Rastislav Wagner <rawagner@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several improvements to Device logs:
Adds a cancel button so that if the search is stuck users can create a new one.
When user searched for logs with some response and they perform a new search, we now clear the old logs and ensure we show a spinner for a minimum amount of time. Otherwise the second retrieval might happen too fast and the user might not perceive that they are now looking at the new logs.
Whenever the logCategory changes, we reset the filters. This is because not all filters are valid in each category.
Improvements around "liveLogs": it behaves more consistently, and the Disconnected banner will also be displayed when the device disconnects while streaming logs.