-
Notifications
You must be signed in to change notification settings - Fork 115
Add journal #3629
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add journal #3629
Conversation
Reviewer's GuideThis PR implements a new “journal” feature end-to-end by extending the system-information store to handle journal entries (with Vuex mutations, API fetch and WebSocket), adding a dedicated Journal Vue component with virtual scroll and formatting, updating the main view to expose the journal tab, and bumping the linux2rest bootstrap version. Sequence diagram for fetching and displaying journal entriessequenceDiagram
actor User
participant SystemInformationView
participant SystemInformationStore
participant Backend
participant JournalComponent
User->>SystemInformationView: Selects "Journal" tab
SystemInformationView->>JournalComponent: Mounts component
JournalComponent->>SystemInformationStore: fetchSystemInformation(JournalType)
SystemInformationStore->>Backend: Request journal entries
Backend-->>SystemInformationStore: Returns JournalResponse
SystemInformationStore->>JournalComponent: Updates journal_entries
JournalComponent->>User: Displays journal entries
Class diagram for new and updated types in journal featureclassDiagram
class SystemInformationStore {
+journal_entries: JournalEntry[]
+appendJournalEntries(response: JournalResponse): void
+updateJournalEntries(response: JournalResponse): void
}
class JournalEntry {
+cursor?: string
+timestamp?: string
+priority?: number
+identifier?: string
+unit?: string
+pid?: number
+hostname?: string
+message: string
}
SystemInformationStore "1" -- "*" JournalEntry: contains
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
af7eb24 to
f5d4870
Compare
Signed-off-by: Patrick José Pereira <[email protected]>
f5d4870 to
b244361
Compare


Add page in system information page (mcap log soon)
Helps to replace #3456
Better merged after #3624