-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first pass, back-end * first pass, front-end * simplify date range query, dont need subquery * update and add tests * make filtersService file, abstract components * add test for convertDateOptionToDateRange * update date helpers, modify tests * wip, Filters * update local dev default to last year * udpate tests to reflect local dev default * else if nit * refactor: moar abstraction (#3078) * refactor: moar abstraction * tiny nits, update tests * fix test --------- Co-authored-by: angelathe <[email protected]> * refactor Filters file to add BaseFilter file * add BaseFilter * fix todays date for test * move FiltersService to utils as date-utils * add test to check reading query will result in correct date range * Update dateRangelabels Co-authored-by: Mary McGrath <[email protected]> * [pre-commit.ci] auto fixes from pre-commit hooks * reverting change temporarily, causing test failures * update default nits * update default nits * hardcode expected start dates in tests * Flexible widths Co-authored-by: [email protected] * fix small nit, tag disappeared when no conditions were selected * update snapshot test for tag, turn btnClass to functional prop isActive * refactor dateRangeLabels * move default date range const to date-utils because forgot to import in page * update docstrings * refactor updateQueryParam * update today test fixture to add time * feat: only allow one filter open at a time, easy closing * Update containers/ecr-viewer/src/app/components/BaseFilter.tsx * fix: reset trigger * fix: cleanup * fix: only listen when a filter is open * fix: consolidate trigger logic, add tests * docs: comment * fix: comments, cleanup * fix: moar = * test: focus handling * feat: wip - reset filters button * test: cajole mocks * test: better check * fix: merge cleanup * test: make reset button test more robust * fix: reset button gap * test: update snapshot * fix: gap naming convention * refactor: readability --------- Co-authored-by: angelathe <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2c0029c
commit 0d2f477
Showing
7 changed files
with
272 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.