All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added a new filter for business units in the analysis page
- On the analysis page, the user can now navigates in the subcategories in the charts view LANDGRIF-1507
- Download data button in the analysis page now downloads the data according to the filters applied from the API LANDGRIF-1502
- Renew token when it is expired
- Enable map popup for h3 contextual layers LANDGRIF-1484
- Add units to analysis table individual indicators LANDGRIF-1486
- Fixed error message date for faled data upload LANDGRIF-1493
- Update password in profile form was not working as expected LANDGRIF-1479
- Added delete user functionality and edit user modal (not connected to api) LANDGRIF-1346
- From update user form: removed 'display name' adn added 'company title' LANDGRIF-1343
- Changed the intervention form to send 'Unknown' newT1SupplierId and newProducerId when there is no value. LANDGRIF-1448
- Changed create and update user form LANDGRIF-1345
- Changed analysis/table 'group by' filter value 'Supplier' to 'T1 Supplier' and 'Producer' LANDGRIF-1441
- Add avatar to user list LANDGRIF-1344
- Change users list to don't show the current user LANDGRIF-1346
- Updated styles
- Updated sidebar design. LANDGRIF-1035
- Fixed error message when upload failed with no errors LANDGRIF-1474
- Fixed edit intervention admin region LANDGRIF-1445
- Fixed remove badge when unselecting 'T1 supplier' filter in analysis LANDGRIF-1442
- Fixed intervention creation: business units check strategy LANDGRIF-1444
- Fixed analysis filters selectors width LANDGRIF-1437
- Fixed treeselect auto scroll LANDGRIF-1435 Added the mapbox-raster layers LANDGRIF-1277
- Download file with upload errors LANGRIF-1342
- Showing progress and errors for data upload LANDGRIF-1293
- Integration of local layer to handle different type of layers in the future. LANDGRIF-1248
- New purple style for scenario select in analysis page. LANDGRIF-1037
- Add filter by year on analysis table. LANDGRIF-965
- Separate 'T1 supplier' and 'producers' in different dropdowns LANGRIF-1404
- T1 supplier and producers are different dropdowns LANDGRIF-1402
- Updated analisys view-toggle buttons. LANDGRIF-1041
- Hide the manage data table search bar and years filter.LANDGRIF-1310
- Add unit for the volumes in the procurement data table view.LANDGRIF-1315
- Showing correct value for contextual layer type range in the pop-up. LANDGRIF-1317
- Changed the layers info from a tooltip for a modal.LANDGRIF-1341
- Signup removed from auth page.LANDGRIF-1314
- Updated date and time format in the upload data page, also added the author LANDGRIF-1297
- Changed table style. LANDGRIF-1299
- Updated axios version.
- Intervention form: list only supported location types.
- Analysis filters: location types options now listed according to scenarios (if any). LANDGRIF-1255
- Unified styles of badges/pills for filters. Additionally, allow to pass classes to colorized them. LANDGRIF-1205
- Updated Nextjs to v13, updated eslint-config-next, updated next-auth LANDGRIF-1114
- Intervention form: list only supported location types.
- Analysis filters: location types options now listed according to scenarios (if any). LANDGRIF-1255
- Replaced Deck.gl map with
react-map-glto prepare migration to Layer Manager. LANDGRIF-812
- Fix selectors allowing select disabled options when searching LANDGRIF-1318
- Wrong error message in the scenario creation LANDGRIF-1302
- Fix map resizing when sidebar is collapsed LANDGRIF-1305
- Uploading excel LANDGRIF-1304
- Styles amendments for the contextual layers modal
- Fixed callback Url after login LANDGRIF-1260
- Fixed items alignement in the legend. LANDGRIF-1093
- Fixes response error displayed messages. LANDGRIF-1273
- Fixed axios response error type.
- Fixed callbackUrl after logout LANDGRIF-1260
- Fixed coefficients panel acting weird when values are edited. LANDGRIF-1246
- Fix permissions for edit scenarios on analysis pages LANDGRIF-1253
- Added role check to enable upload data source buttonLANGRIF-1125
- Added role check to enable upload data source button LANDGRIF-1125
- Added
@floating-ui/reactand@floating-ui/react-domdependencies. LANDGRIF-1037 - Added disabled option styles for single and autocomplete selects. LANDGRIF-1037
- Added DOM virtualization (with
react-virtualized) to autocomplete select to avoid lagging and low performance. LANDGRIF-1037 - Added new select components: single and autocomplete, based on
headless-uiandfloating-uilibraries. Also, single select with multiple values. LANDGRIF-1037 - Added new location types coming from API and region handling. LANDGRIF-1143
- Added a end year field in the intervention form LANDGRIF-1113
- Added a volume field in the intervention form LANDGRIF-1112
- Added
*to Type of Intervention title to indicate the selection is mandatory. Also, a hint when it is not selected. LANDGRIF-1142 - New hook to check user role and permissions LANDGRIF-1123
- Switch to toggle layers from the legend itself LANDGRIF-991
- Added a end year field in the intervention form LANDGRIF-1113
- Added a volume field in the intervention form LANDGRIF-1112
- Filter indicators in the chart and table view LANDGRIF-1173
- Disables materials in tree-select when needed. Also, materials are sorted alphabetically now. LANDGRIF-1108
- Disabled
Country of deliveryandUnknownlocation types options from intervention form. LANDGRIF-1148 - Bumped
react-hook-formfixing several validation issues. LANDGRIF-1142 - Bumped
browserslist-dbdependency. - Bumped
@floating-ui/coredependency. - Bumped
browserslist-dbdependency. - Updated
prettierand its dependencies LANDGRIF-1037 - Show the scenario name in the charts LANDGRIF-1116
- Move the users page from data to user LANDGRIF-1122
- Intervention form: an empty object was being sent for coefficients when these were
undefined. LANDGRIF-1238 - Material layer fixed to resolution 4 LANDGRIF-1234
- Issue preventing new users to sign up in the platform. LANDGRIF-1222
- Error requesting scenario comparison. LANDGRIF-1208
- Issue with focus in tree-select and some styling. LANDGRIF-1155
- Fixed condition to fetch available years for material layer. LANDGRIF-1141
- Undefined
endYearvalue sent to API regardless being deactivated. LANDGRIF-1145 - Undefined value of coefficients. LANDGRIF-1142
- Fixed several warnings involving missing references and ids through SSR. LANDGRIF-1037
- Fixed margin in map legend LANDGRIF-1037
- Profile page requires to be logged
- Disable the filter in the manage data page LANDGRIF-1110
- Disable action buttons in the targets page LANDGRIF-1109
- Profile page requires to be logged
- Contextual layers request are not including
indicatorIdparam LANDGRIF-1134 - Contextual layers should render in resolution 4 LANDGRIF-1130
- Removed deprecated
@floating-ui/react-dom-interactionsdependency. - Removed
components/selectandreact-selectlibrary. LANDGRIF-1037
- Contextual layers were not showed in the map
- Styles of the legend were not applied correctly
- Styles of the opacity control were not applied correctly
- New legend type called Comparative legend that allows to use different alignment of the items when a comparison is enabled.
- Address can't be sent to geo-locate a new location in interventions LANDGRIF-1089
- Update rows expanded state on analysis table LANDGRIF-967
- Horizontal scroll on the legend LANDGRIF-1082
- Format of numbers of the contextual layers in the legend LANDGRIF-1090
- Tree Select search inconsistencies and items of depth 3 or deeper disappearing. LANDGRIF-1026 and LANDGRIF-1030
- Format of numbers of the contextual layers in the legend LANDGRIF-1090
- Edition of intervention was not working LANDGRIF-1073
- Legend colors for comparison layer LANDGRIF-979
- Tests were failing due to a change in the api where data was reset
- Scenario list when the user opens the comparison dropdown LANDGRIF-1066
- Fixed reset of "group by" filter in analysis page when a scenario is selected. LANDGRIF-1059
- Toggle to set the visibility (public or private) of a scenario. LANDGRIF-1009
- Tests were failing due to a change in the dev environment
- Information about the layers in the tooltips of contextual layers LANDGRIF-997
- Numbers of growth rates in scenarios page
- Information about the layers in the tooltips of contextual layers LANDGRIF-997
- Numbers of growth rates in scenarios page
- Updated placeholders of year range selectors. LANDGRIF-1057
- In tables the columns are not sortable by default, it should be specified in each column configuration LANDGRIF-965
- Updated styles for tree-selectors according the design
- Select leaf nodes of business units on intervention creation (instead of parent nodes). LANDGRIF-917
- Applied 40-character limitation to scenario title in scenario creation page. LANDGRIF-1016
- In tables the columns are not sortable by default, it should be specified in each column configuration LANDGRIF-965
- Updated styles for tree-selectors according the design
- Changed key value for items in Impact chart tooltip. LANDGRIF-1056
- Analysis sidebar: removed "no results" message triggered when there weren't scenarios available to list. LANDGRIF-1029
- Not include scenarios with 0 interventions in the scenario dropdowns for comparison LANDGRIF-999
- Legend alignment in charts
- Click on the legend also change the opacity of projected areas
- Relative and absolute switcher was not working on the chart view LANDGRIF-993
- Switching between comparison modes not working LANDGRIF-1033
- Filters resetting when switching scenario LANDGRIF-1021
- Analysis table is not updating selecting an scenario LANDGRIF-1019
- Comparison mode toggle for impact table H3 data LANDGRIF-941
- Re-added material layer to the map as a contextual layer LANDGRIF-827
- Add map preview to legend settings modal LANDGRIF-827
- In chart view, when a comparison is enabled the chart changes to line chart LANDGRIF-807
- Scenario creation link from analysis LANDGRIF-805
- Scenario comparison in the chart view LANDGRIF-945
- Added comparison e2e tests
- Added mode control e2e tests
- Added icon animation when a file on upload or progress in the actual data page
- Added interaction in the charts clicking on the legend LANDGRIF-772
- Removed minus sign (
-) from absolute difference in comparison charts. LANDGRIF-1046 - Bigger table page size LANDGRIF-922
ACTUAL_DATAwas removed and a null scenario id is used in it's place- Send
scenarioIdparam alongside analysis filters LANDGRIF-891 - Same input for city, address and coordinates for intervention form LANDGRIF-821
- Redesign the Legend LANDGRIF_727
- Applied redesign of Actual data LANDGRIF-810
- Redesign of charts for Impact data
- Updated scenarios list according new design
- Changed the background of the authentication pages
- Updated styles for the menu in the new "Data" (before Admin) section
- Refactored actual data page to avoid strange renders and extra calls to the API
- Fix changing scenario keeping filters not valid for selection LANDGRIF-958
- Errors in intervention creation form not showing up LANDGRIF-958
- Navigating to another page with some query params now correctly override the state LANDGRIF-911
- Zoom controls not working LANDGRIF-928
- Smart filters not being persisted between pages
- Showing errors in the sign-up form
- Loading more consistent for the auth pages
- Wrong mode selector in the analysis page
- Reset indicators selector when changing the mode in analysis page LANDGRIF-901
- Indicator name concatenates boolean variable in table view LANDGRIF-902
- Compare not showing in table view LANDGRIF-903
- Added loading in the data section before load the table
- An issue where scenario description was not updated correctly
- An issue where canceling the intervention creation was redirecting to the wrong page LANDGRIF-926
- Fixed UI issues in the scenario card list
- Fixed an issue where compare was not working on scenario vs scenario
- Fixed an issue where the chart was not showing correctly the projected data
- Fixed an issue where more filters were not including the compare scenario ID LANDGRIF-976
- Fixed an issue where unit was not showing correctly in the tooltip map
- Comparison colors for the impact layer when is enabled LANDGRIF-979
- Fixed an issue where smart filers in more filters were not passing all params required LANDGRIF-978
- Recovering download template file in the upload modal LANDGRIF-964
- Solved an issue where years was not filtering the actual data table LANDGRIF-969
- Recovering sorting by column in the actual data table LANDGRIF-965
- Tooltip in the chart doesn't break the page LANDGRIF-995
- Dashed line added to analysis table to difference between real and projected data LANDGRIF-736
- Map UI state in the URL params (center, zoom) LANDGRIF-728
- Baseline water stress contextual layer LANDGRIF-743
- Pagination functionality to the impact table LANDGRIF-777
- Added new theme and layout for Landgriffon LANDGRIF-782
- Show scenario comparison data in table view LANDGRIF-745
- Redesign of new intervention creation LANDGRIF-783
- Read contextual layers and their data from the APILANDGRIF-792
- Page titles with templates
- Pagination to users data table LANDGRIF-924
- Changed select styles to match the design, specifically for the years. They now have a different behavior than the others to improve usability.
- Applied new design for the targets section in the admin page.
- Scenarios selection disabled temporarily in map visualization mode LANDGRIF-744
- Replaced excel file to download in the Data page.
- Updated params for scenario comparison endpoint
- Location types params added to "/impact/table" endpoint LANDGRIF-733
- An issue in the table component when the user navigates to the admin page
- Prevent collapse button to break his position LANDGRIF-729
- Scenario description not updating properly LANDGRIF-740
- Limit options for start year in analysis to years with available data LANDGRIF-737
- Make loader more visible when chart data is fetching LANDGRIF-759
- Aggregated values in chart ('other/others' category) should always be '#E4E4E4' LANDGRIF-771
- Show aggregated values in chart just if there are more than 5 elements in total LANDGRIF-773
- Last scenario hidden by gradient LANDGRIF-739
- Extra bad requests in analysis LANDGRIF-716
- UI fixes in the intervention creation form LANDGRIF-742
- Styles for the sort dropdown in the scenarios list LANDGRIF-738
- Sort country list alphabetically and added search functionality to the input in the intervention form LANDGRIF-776
- User was not able to choice an option in the selectors for intervention creation LANDGRIF-785
- Crash when the session expired LANDGRIF-786
- Latitude validation in the intervention form
- Coefficients were not to be null in the intervention form
- Overview link in the sidebar menu.
- Storybook for documentation of UI components
- Added
Selectcomponent to Storybook - Twin.macro babel plugin for Tailwind and Styled-components integration
- Forcing desktop version in mobile devices LANDGRIF-676
- In tables, added border on the left when parent is expanded LANDGRIF-650
- Better error response for failed logins LANDGRIF-685
- Added UI state in the URL params LANDGRIF-638
- Use SWC instead of Babel
- Upgrade Tailwind to version 3.0.24
- Upgrade to Yarn version 3.2.1
- Upgrade to Node LTS 16.15.0
- Increased allowed file size for upload from 1.5MB to 2.0MB
- Tooltip redesigned in charts view, legend included inside chart card LANDGRIF-702
- Interactivity added to chart legend to highlight areas in the graph LANDGRIF-688
- Active pills showing selected filters on table and chart view LANDGRIF-616
- Select and TreeSelect components redo according to design LANDGRIF-686
- Removed multiply blend mode from the map
- Added basemap selector, allowing to toggle between satellite and terrain LANDGRIF-662
- Upgrade to Next.js 12 LANDGRIF-815
- Fixed select with errors having two borders in some ocassions
nycwas not working runningyarn test- Collapsed button sometimes appears in the middle LANDGRIF-678
- Interventions pannel should close when navigating to "Analysis" throught breadcrumbs LANDGRIF-657
- Arrow icon in the tables also toggle collapse the rows
- Fixed issues related to duplicated keys in the table rendering LANDGRIF-650
- Location types params standarized
- Location types params added to "/h3/map/impact" endpoint
- Legend selects now automatically close when choosing a value
- Standarized values for group by in analysis section LANDGRIF-710
- Tooltip not showing last date in chart LANDGRIF-709
- Number of rows in analysis table view updated accordinly with cells expansion LANDGRIF-693
- First version of table mode
- Block search spiders: added robots.txt
- Save filters on Redux store LANDGRIF-242
- Behavior for more filters popup: it should only filter when the user clicks on Apply LANDGRIF-265
- Legend component for choropleth layers LANDGRIF-124
- Dataset selector (aka layer selector) in the filters LANDGRIF-264
- Filters populated with data from the API LANDGRIF-242
- Area charts and widgets behavior for the chart mode LANDGRIF-181
- In "More filters" the counter icon show how many filters are selected LANDGRIF-273
- Added spinner when the map is loading and rendering an H3 layer
- Home redirects to the analysis page
- Migrated requests from containers to react hooks
- By default analysis have the scenarios/interventions panel collapsed
- Table and chart have are able to show a minimun of two years LANDGRIF-699
- Scenario dropdown for edition and remove LANDGRIF-156
- Filters and sortable to scenarios list LANDGRIF-168
- Updated analysis documentation and needs LANDGRIF-195
- Show visualization mode in the URL (map, table or chart) LANDGRIF-119
- Show selected scenario in the URL LANDGRIF-159
- Actual data as first element in the scenarios list LANDGRIF-171
- Added collapsed button and show it in the URL LANDGRIF-128
- Scenarios list connected with the API LANDGRIF-182