Releases: Element84/filmdrop-ui
Releases · Element84/filmdrop-ui
v3.0.0
Changed
- Refactor map code and related files
- Refactor API calls
- Moved config reference from
envSetupVars.js
intosearch.jsx
- Geosearch moved under zoom control and changed to be collapsed
VITE_ADVANCED_SEARCH_ENABLED
andVITE_CART_ENABLED
must be set inconfig.js
- Moved config location from
src/assets/config.js
topublic/config/config.json
- Refactor config to be a json object instead of separate exported constants
- Changed config key names to remove the word
VITE
(leftover from when they were .env vars) - Refactor
default.js
to remove dead code and rename vars - Conditionally render E84 FilmDrop Logo based on config var for `SHOW_BRAND_LOGO``
Fixed
- Map selection and popup now close in unison
- Fix styling of popup results component
Added
- Added 'thumbnail not found' image placeholder
- Added Config feature flags for Advanced Search Options and Cart
- Added draw boundary feature to allow user to draw polygon on map (WIP)
- When polygon drawn, use as search intersects param instead of map viewport bbox
- Added upload geojson feature to allow users to select a geojson file to add to map
- Reusable System Message component for showing app alerts
- Load
config.json
into redux on app load once instead of direct imports - Add pre-initialization page to handle and show error (and not render app) if config is missing
- Add
SHOW_BRAND_LOGO
config option to optionally hide brand logo - Added Hawaii DOQQ grid (for NAIP)
Removed
- Delete
envSetupVars.js
after moving functions and const into other files
What's Changed
- Move map logic out of search component and refactor related files by @bradleyandrick in #167
- Bump @mui/material from 5.12.3 to 5.13.3 by @dependabot in #169
- Bump vitest from 0.31.0 to 0.31.4 by @dependabot in #168
- Bump vite from 4.3.5 to 4.3.9 by @dependabot in #165
- Bump @tsconfig/node18 from 2.0.0 to 2.0.1 by @dependabot in #164
- Bump @emotion/react from 11.10.8 to 11.11.0 by @dependabot in #161
- Update package.lock to resolve GHSA-353f-5xf4-qw67 by @MattBialas in #170
- update example config with color formula for l2a by @bradleyandrick in #171
- move endVarSetup const into search.jsx then delete by @bradleyandrick in #172
- Ba/adding tests by @bradleyandrick in #178
- Ba/feature/config feature flags by @bradleyandrick in #182
- adding draw boundary feature for search by @bradleyandrick in #190
- update deps versions by @bradleyandrick in #193
- upload geojson feature for use in search by @bradleyandrick in #200
- fix titiler parameters for 0.11.x api by @philvarner in #206
- Revert "fix titiler parameters for 0.11.x api" by @philvarner in #208
- update DOQQ file with hawaii by @philvarner in #203
- refactor config to load on init by @bradleyandrick in #202
- Ba/bump deps versions by @bradleyandrick in #210
- Ba/feature/add config setting for e84 logo by @bradleyandrick in #211
- release prep for 3.0.0 by @philvarner in #212
Full Changelog: v2.0.2...v3.0.0
v2.0.2
2.0.2 - 2023-05-18
Fixed
Publish button was not displaying with boolean true value set.
v2.0.1
2.0.1 - 2023-05-17
Fixed
- Legend for geohex aggregation now displays.
v2.0.0
2.0.0 - 2023-05-16
Changed
- Rename REACT_APP_MIN_ZOOM_LEVEL to REACT_APP_MOSAIC_MIN_ZOOM_LEVEL
- Migrate from create-react-app to vite:
- Changed npm start, build, and test commands in package.json
- Rename REACT_APP_ in .env's to be VITE_
- Moved index.html into project root
- Rename index.html link references, title and src
- Updated readme to remove cra references
- Renamed react component files to be .jsx instead of .js
- Updated leaflet css import path
- Refactor inputs to
getTilerParams
to reference full .env object before passing into function - Change from 'require' to ES6 module import in
colormap.js
- Pre-commit hook for test changed to use test-pre-commit with
--run
flag - Bump vite-plugin-svgr from 2.4.0 to 3.2.0
- Migrated from '.env' to './assets/config.js'
- Config vars are now in JSON format
- You can specify new values when running locally, or during the build process
- Update precision for hex geo-aggregate to be defined per zoom levels instead of set based on a quotient
- Change default styles for gridCode and footprint layers to be defined in
Search.jsx
- Updated leaflet basemap to try to read from config if set, else default to OpenStreetMap with css darkmode
Fixed
- Datetime search now searches from midnight UTC on the start date to immediately before midnight
on the day after the end date (i.e., the last instant on the end date) - Set ref for
zoomLevelRef.current
on initial map load
Added
- For high DPI screens (e.g., Retina), scene image tiling is now done at scale of 2 (previously, scale of 1).
- Grid code aggregated results view at medium zoom levels
- Toggle to enable auto-search or manual search with Search Button
- Geo hex aggregated results view at low zoom levels
- Env variable REACT_APP_SEARCH_MIN_ZOOM_LEVELS
- Env variable REACT_APP_COLORMAP
- Migrate from create-react-app to vite:
- Added
vite.config.js
- Added eslint-plugin-jsx-a11y
- Vitest and related testing library libs
- Added NPM
coverage
andserve
commands
- Added
- Added types for react, react-dom, testing-library__jest-dom, and vite-plugin-react-svg
- Set coverage provider to use c8
- Added setup under test in
vite.config.ts
- Added
tsconfig.node.json
- Added reference and excludes sections in
tsconfig.json
- Reducer to reset redux state back to initialization state for use between tests
- Test ids added for
Content
andPageHeader
components - Example tests for
App.jsx
inApp.test.jsx
- Example test for
PageHeader.jsx
inPageHeader.test.jsx
- Added dompurify library for sanitizing before rendering configurable HTML
Removed
- Types declaration from
tsconfig.json
- Tests directory from include section in
tsconfig.json
v2.0.0-pre
The project is moving to a new env/config strategy, and this is the first (pre)release of that feature.
v1.1.0
A final release with geohex aggregations prior to the CRA->Vite and build conversion
What's Changed
- Bump eslint-plugin-n from 15.6.1 to 15.7.0 by @dependabot in #91
- Bump react-leaflet from 4.2.0 to 4.2.1 by @dependabot in #90
- Bump react-tooltip from 5.10.1 to 5.10.4 by @dependabot in #89
- Bump prettier from 2.8.4 to 2.8.7 by @dependabot in #88
- Bump @wojtekmaj/react-datetimerange-picker from 4.1.1 to 4.2.1 by @dependabot in #87
- [Snyk] Upgrade react-leaflet from 4.2.0 to 4.2.1 by @element84-infra in #86
- [Snyk] Upgrade @emotion/react from 11.10.5 to 11.10.6 by @element84-infra in #83
- minor dependency updates by @philvarner in #92
- Bump eslint from 8.37.0 to 8.38.0 by @dependabot in #95
- Bump @mui/icons-material from 5.11.11 to 5.11.16 by @dependabot in #98
- Update datetimerange picker to 5.0.1 by @lucyhutcheson in #101
- Remove web-vitals by @lucyhutcheson in #100
- Lh/aggregate results by @lucyhutcheson in #93
- Bump @typescript-eslint/eslint-plugin from 5.57.1 to 5.58.0 by @dependabot in #106
- Bump @mui/material from 5.11.15 to 5.12.0 by @dependabot in #104
- Bump react-tooltip from 5.10.5 to 5.11.1 by @dependabot in #103
- remove leaflet-draw by @philvarner in #107
- Lh/search button toggle by @lucyhutcheson in #99
- Lh/hex results by @lucyhutcheson in #109
- Add parameters for mosaic search by @lucyhutcheson in #119
- Fix sar polarizations query by @lucyhutcheson in #120
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Fix collection dropdown by @lucyhutcheson in #76
- Fix collection dropdown on windows by @lucyhutcheson in #77
- Adjust zoom notice styling to not cover geosearch by @lucyhutcheson in #81
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- Add geosearch and attribution icon by @lucyhutcheson in #73
- prep for 1.0.0 release by @philvarner in #74
Full Changelog: v0.6.0...v1.0.0
v0.6.0
What's Changed
- fix landsat mosaic color_formula in example env by @philvarner in #71
- Add collection date and bbox ranges by @lucyhutcheson in #72
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Add support for sar:polarizations, code cleanup by @lucyhutcheson in #61
- Fixes for issues #63 and #54 by @lucyhutcheson in #65
- Add rescale, colormap, expression tiler parameters by @lucyhutcheson in #62
- release prep for v0.5.0 by @philvarner in #69
Full Changelog: v0.4.0...v0.5.0