Skip to content

Commit

Permalink
Ba/feature/replace date range picker (#335)
Browse files Browse the repository at this point in the history
* remove old top content component

* update readme

* update example config

* refactor button placement and names

* update tests

* adjust legend positioning

* update mocks after config change

* stack resultsCount buttons

* stack count message and edit responsiveness

* update changelog

* blackout filters

* update readme with added config values

* update example config

* fixing bug to search all gridcodes selected

* persist dateTime value on details view tab changed

* open details on search

* fix selected view mode color to match material UI guide

* adjust cloud slider style and persist state on tab change

* persist collection selected on details tab change

* remove popup modal from right content

* add auto-zoom to search, adjust style, and raise disabled overlay

* edits to application redux state

* refactor mapHelper to fix single gridcode bug, popup refactor, ItemZoom function

* refactor popupResult to move into LeftContent Details Tab

* add style theme to auto zoom switch

* clean up search imports

* cleaning up css

* change keyPress combination for searching

* add and update tests

* update wording of readme

* remove duplicate styles

* reorder leftContent functions

* remove redundant comment

* remove inline styles

* update changelog

* update changelog wording

* resolve bug in preview height

* remove unnecessary css change

* adding new react-datePicker

* clean up merge main into branch

* add dayJS & bump versions

* remove old datetime format function, add convertToUTC with offset

* move range preview to collection Dropdown component

* bonus: refactor theme of switch

* refactor date range picker

* remove old wojtekmaj-react-datetimerange-picker

* add comment about use of !important

* resolve issue with rerender date formatting

* add state change for rerender date format bug fix

* add no results indication

* handle all tab change rerenders

* clean collection range display code

* remove extra comment

* add label to show UTC format

* clean up datePickers

* remove extra const usage

* update changelog

* update changelog again

* relocate No Results Message

* remove old test ID

* change range text to be extent
  • Loading branch information
bradleyandrick authored Feb 27, 2024
1 parent d92ea81 commit 265aa9b
Show file tree
Hide file tree
Showing 15 changed files with 313 additions and 385 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Run search shortcut added for `SPACE` bar key press.
- Added config option for `SHOW_ITEM_AUTO_ZOOM` to render switch that lets user toggle behavior of map center/zooming automatically on selected scene.
- Added config option for `STAC_LINK_ENABLED` to render link out to item in STAC API when set to `true`.
- Added `results not found message` when search results are empty.

### Changed

Expand All @@ -30,6 +31,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Results popup now renders in left panel.
- Tabs added to left panel to switch between results and info panels.
- Refactor of loading indicator to specify when imagery overlay is loading instead vs. search loading.
- Style adjusted for switch to be in line with other UI elements.
- Replace date picker library `DateTimeRangePicker` to use `react-datepicker`.
- Collection range is now always visible in search panel.
- Date Range Picker does not get changed on collection change. Only set on initial load and then manually by user.

### Fixed

Expand All @@ -39,6 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Improved responsiveness for mid-size screens.
- Bug fix for when multiple grid-code grids are selected, bug was only showing one grid-code in results.
- Refactor keyboard shortcut for running search. Changed to use `ctrl+space`.
- Date range format now renders and searches correctly using UTC instead of using local timezone.

### Removed

Expand Down
Loading

0 comments on commit 265aa9b

Please sign in to comment.