feat(Console): adds toolbar#1841
Conversation
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
There was a problem hiding this comment.
Pull request overview
Refactors the console widget by extracting its action controls (scroll-to-latest, flip layout, filter menu, clear, search) into a dedicated ConsoleToolbar displayed at the top of the console card. The previous Console.vue is renamed to ConsoleBrowser.vue and gains a search prop for client-side message filtering. UpdatingDialog is updated to consume the renamed component and gains a scroll-to-latest action via the dialog's menu slot. Locale files are updated accordingly: console.label.auto_scroll/flip_layout are removed and general.btn.flip_layout (plus clear and scroll_to_latest in English) are added; most other locale changes are trailing-whitespace cleanup.
Changes:
- New
ConsoleToolbar.vueandConsoleFilterMenu.vue;Console.vuerenamed toConsoleBrowser.vuewith a newsearchprop and filter logic. ConsoleCard.vueandUpdatingDialog.vueupdated to use the new components;globals.tsaddsmdiDockTop/mdiDockBottomicons.- Locales updated:
general.btn.flip_layoutadded across translations;console.label.auto_scroll/flip_layoutremoved; English addsclearandscroll_to_latest.
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/components/widgets/console/ConsoleToolbar.vue | New toolbar with scroll/flip/filter/clear/search controls. |
| src/components/widgets/console/ConsoleFilterMenu.vue | Extracts filter dropdown (hide temp waits + per-filter toggles). |
| src/components/widgets/console/ConsoleBrowser.vue | Renamed from Console.vue; adds search prop and filtering, bumps fullscreen height offset to 308px for the toolbar. |
| src/components/widgets/console/ConsoleCard.vue | Wires the new toolbar and browser; relocates flipLayout state binding. |
| src/components/common/UpdatingDialog.vue | Switches to ConsoleBrowser; adds scroll-to-latest button in dialog #menu slot. |
| src/globals.ts | Adds mdiDockTop/mdiDockBottom icons used by the toolbar. |
| src/locales/en.yaml | Adds general.btn.{clear,flip_layout,scroll_to_latest}; removes obsolete console labels. |
| src/locales/*.yaml (other languages) | Mirrors English key relocation (flip_layout moved to general.btn); removes obsolete console labels; mostly trailing-whitespace cleanup. |
Adds a toolbar to the console and moves the console controls to it.
Screenshots