Skip to content
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

feat(ui): enhance empty state handling for executions and selection in components #5557

Merged
merged 14 commits into from
Oct 22, 2024

Commits on Oct 20, 2024

  1. feat(select-table): add conditional rendering for empty state and sel…

    …ection header
    
    - Added an <el-empty> component to display when data is not available
    - Updated bulk select header to render only if there is selection and data
    sikehish committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e562a85 View commit details
    Browse the repository at this point in the history
  2. feat(bar): add empty state for zero executions

    - Added <el-empty> component to display when total executions are 0
    - Updated conditional rendering for info container and chart display based on total executions
    sikehish committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e4e8f0e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    57b109e View commit details
    Browse the repository at this point in the history
  2. feat(ui): improve empty state display for executions and flows tables

    - Added conditional rendering for the executions table in Executions.vue to avoid displaying two empty states on the same page.
    - Implemented similar changes for the flows table in Flows.vue.
    sikehish committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    2e7c920 View commit details
    Browse the repository at this point in the history
  3. feat(doughnut): add total prop to Doughnut.vue and implement executio…

    …n logic
    
    - Added a new `total` prop to the Doughnut.vue component with type Number.
    - Implemented similar logic from executions/Bar.vue into executions/Doughnut.vue for consistency in handling total executions.
    sikehish committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    244cdb5 View commit details
    Browse the repository at this point in the history
  4. feat(logs-wrapper): add el-empty component and enhance validation

    - Added an `<el-empty>` component to display when `hasStatsData` is false.
    - Enhanced validation logic in `<template #table>` on line 58 for improved data handling.
    sikehish committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    93ec7a4 View commit details
    Browse the repository at this point in the history
  5. feat(translations): add English translation for "no data"

    - Added translation for "no data" corresponding to "No data available" in `kestra/ui/src/translations/en.json`.
    sikehish committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6949ade View commit details
    Browse the repository at this point in the history
  6. feat(logs): add conditional rendering for logs in Bar.vue

    - Wrapped the existing Bar component in a div that checks if `props.data.length > 0`.
    - Added an <el-empty> component.
    sikehish committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    dd3804c View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Update en.json

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    b0de20a View commit details
    Browse the repository at this point in the history
  2. Update LogsWrapper.vue

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    2ed0564 View commit details
    Browse the repository at this point in the history
  3. Update SelectTable.vue

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    e91014e View commit details
    Browse the repository at this point in the history
  4. Update Bar.vue

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    9a75779 View commit details
    Browse the repository at this point in the history
  5. Update Doughnut.vue

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    701e896 View commit details
    Browse the repository at this point in the history
  6. Update Bar.vue

    MilosPaunovic authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    352e227 View commit details
    Browse the repository at this point in the history