FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(ui): wire QueryaStatusBar live metrics (busy, rows, query duration) · Issue #714 · QueryaHub/Querya-Desktop · GitHub

fix(ui): wire QueryaStatusBar live metrics (busy, rows, query duration) #714

Description

Problem

Follow-up to Dart MCP review of feature/ui-parity-and-status-bar (69ee818 / UI-04).

QueryaStatusBar is mounted in main_screen.dart, but only receives:

  • activeConnection
  • isReadOnly
  • isSidebarVisible / onToggleSidebar
  • onOpenPreferences

These props exist on the widget but are never passed from MainScreen:

  • isBusy
  • statusMessage
  • rowCount / columnCount
  • lastQueryDuration

So the right-side metrics and busy spinner stay empty in the running app. UI-04 acceptance (“updates on query execution / background work”) is not met.

Proposal

  1. Lift last-query duration, active grid row/col counts, and busy/status text into MainScreenWorkspaceState (or a small StatusBarModel listenables).
  2. Update sources on SQL result completion, table browse, schema load, and connection switch.
  3. Pass values into QueryaStatusBar from main_screen.dart.
  4. Widget/integration tests: after a stubbed query result, status bar shows duration + row count.

Files

  • lib/features/main_screen/querya_status_bar.dart
  • lib/features/main_screen/main_screen.dart
  • lib/features/main_screen/main_screen_workspace_state.dart
  • Results / workspace panels that finish queries

Acceptance

  • Executing a query updates lastQueryDuration in the status bar
  • Active result grid selection/result size updates rowCount / columnCount
  • Schema load / long query sets isBusy (spinner) and clears when idle
  • Connection switch clears stale metrics
  • Tests cover at least duration + row count path

Related

  • Spec: docs/ui-parity-and-command-palette-issues.md § UI-04
  • Review canvas: Dart MCP UI parity review

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendTheme parser epic label: frontenduiUser interface components and widgetsuxUser experience, keyboard shortcuts and interactions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL