- Basic animation (standard ball bounce) was placed on the parent of the map
- A state MapBoundReached tracks which bound (N, S, W or E) was reached
- This state variable was then used to conditionally apply the CSS animation
- How could we detect the end of the animation to remove it from the DOM after the animation played once?
- try and add an eventListener on the parent of the map using ref and useEffect ❌
- try and use the onAnimationEnd prop
the territory shortcuts seem to trigger this animationEnd event ❌
- try and differentiate between territory shortcut animation and map bound animation using
use isPanning ❌
- use isDragging ✅
- Now that the animation end event is being detected properly and its not interfering with the territory shortcuts, moving back to
- Getting the bounds to work for all directions (N, S, W, E)
- clunky feel and can’t get it to trigger accurately
- Making the animation feel real (right not it’s just a random bounce)
- Decided to attempt to use the transition built-into the ReactMapGL API, this was also not leading to reliable results.
* Remove up/down arrows from indicators
* update style of side panel categories if supported
- if the browser has ":has" support, the new category styles will be applied
- if not, the older style will remain in place
* update snapshots
* update styling for indicator values
- refactor disadvantaged blue dot to utils.scss
* remove missing icon and reduce subtext font size
* Remove un-needed import in test file
* Update category, indicator copy
* Update copy indicator desc and titles
* update side panel styling for 1.0
* Update methodology version / styling
* remove duplicate high school degree indicator
- for island areas
* Update 404 page copy
* Remove link that is failing during markdown checks
* Updated FE indicators constants to remove _M
- by removing these _M suffix on the FE
constants, we remove any dependency on changes to the BE score
* Add HRS_ET
- refactor to add IndicatorTypes
- modify tests
- add intl
* Add AML and FUDS
- update indicatorFilter
- update tests each indicator has 3 states to test
* Connect BE signal for demographics
- update tests
- i18n-ize
* Remove obsolete tests snapshots
* Update to Score N constants
* Remove higher ed socio-economic indicator
- remove spacer "Meets both socio"
- update snapshots
* Update BE signal types for
- AML
- FUDS
* Filter out missing historic underinvest. indicators
- For the special case when historic underinvestments are missing do not show that indicator at all
- update unit tests
* Make AML appear as No for all that are missing
* Update snapshot
- create a state variable to keep track of weather or not the layer was toggled
- allow mapInfoPanel to reset on layer switch
- allow AreaDetail to show census and tribal info
- allow LayerSelector to set layer toggled
- Add selectedFeature to both MapTribal and MapTract components
- create various tribal constants for styling
- i18n constants
- Remove census tracts layers into it's own component
- Create a tribal layer component
- Update LayerSelector component tests
- update OS map to react to layer selector
-