feat(frontend): allow switching logs inside logs tab#2794
feat(frontend): allow switching logs inside logs tab#2794Slessi wants to merge 3 commits intosiderolabs:mainfrom
Conversation
|
I think dropdown height is 2 pixels bigger than the input. We can either do |
|
Lets also manually add |
there;s also |
|
@frezbo those ones are part of the service list already @Unix4ever sure but should it be part of the service list? is fixing the backend API the correct fix or shall i just manually hardcode in frontend? hardcoded for now, had to do some regex for parsing and to strip the ANSI colours |
Extract logic to get list of machine services into a useMachineServices composable. Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
Move NodeLogs logic into MachineLogsContainer. This deduplicates the code paths between machine vs service logs, and allows viewing service logs from the machines log tab as well. Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
Allow switching between machine and service logs from inside the logs tab via a dropdown of services Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
Allow switching between machine and service logs from inside the logs tab via a dropdown of services. Also includes some refactoring to allow the same behaviour on both machine page and node page.
Closes #2712