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

✨ Add DateRangeFilter #1913

Merged
merged 2 commits into from
Jun 9, 2024
Merged

✨ Add DateRangeFilter #1913

merged 2 commits into from
Jun 9, 2024

Commits on Jun 6, 2024

  1. Add DateRangeFilter

    Create a filter widget based on DateRangeFilter developed
    for Forklift plugin.
    Use the new widget to filter migration waves on both start and end date.
    
    Key points:
    1. filter values are stored as strings in ISO 8601 time interval
       format (date part only) i.e. "2024-04-01/2024-05-01".
    2. date range is a closed range (both ends are included)
    3. browser local time zone is used
    4. date format is hard-coded to "MM/DD/YYYY" to match the format
       used in the UI
    
    Additional changes:
    1. force TZ=UTC for jest unit tests to ensure the same test results
    2. initialize dayjs plugins for tests
    
    Reference-Url: kubev2v/forklift-console-plugin#754
    Reference-Url: https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
    
    Signed-off-by: Radoslaw Szwajkowski <rszwajko@redhat.com>
    rszwajko committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c5bd47f View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Configuration menu
    Copy the full SHA
    f551353 View commit details
    Browse the repository at this point in the history