Skip to content

Latest commit

 

History

History
593 lines (509 loc) · 38.6 KB

CHANGELOG.md

File metadata and controls

593 lines (509 loc) · 38.6 KB

Changelog

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.

[3.2.0] - X

Added

  • Ocean Watch: partners page. OW-23
  • Ocean Watch: basic dashboard structure. OW-26
  • Ocean Watch: initial routes. OW-54
  • Ocean Watch: adds new type of partners. OW-56

Changed

  • optional Redis client locally.
  • [email protected]
  • relocates pages according to Next's dynamic routes. RW-52
  • replaces next-routes links and router with next/link and next/router packages. RW-54

Fixed

  • fixes search place in Explore map. RW-58
  • fixes height and padding styles of map widgets. RW-44

Removed

  • removed routes global state. RW-53

[3.1.0] - 2020-04-26

Added

  • Google Analytics v4 tracking script.
  • scripts folder containing scripts used in the application.
  • 500 static page.

Changed

  • updated text of My Data's coming soon view. RW-38
  • consistent spelling of favorite. RW-35
  • refactor: uses dynamic import for loading scripts without SSR.
  • [email protected]

Fixed

  • visual bug where the dataset navigation bar in the explore sidebar would remain after closing the sidebar. RW-37
  • wrong deserialization of the user object when an user updated its profile. RW-21
  • /static-page endpoint. RW-19

Removed

  • dashboards redaction.

[3.0.7] - 2020-04-06

Added

  • 404 static page.
  • added tests to verify pages are loaded successfully in get-involved, about, data pages.
  • added new service and entrypoint to launch Docker.

Changed

  • [email protected]
  • run name-default-component codemod.
  • [email protected]
  • replaced webpack-bundle-analyzer dependency with @next/bundle-analyzer.
  • replaced redundant environment variables that pointed to the RW API URL with a single one.
  • replaced staging API URL: staging-api.globalforestwatch.org to staging-api.resourcewatch.org
  • replaced better-npm-run with cross-env.
  • moved @babel/core to devDependencies.
  • updated Node version from v8 to current LTS (v14).
  • @vizzuality/wysiwyg (former vizz-wysiwyg) has been updated removing a lot of unused/deprecated dependencies that were blocking the application to upgrade the Node version.
  • renamed some internal folders called pages to tabs as they were giving some issues with the new Node version.
  • Energy dashboard: added 2 new widgets.

Fixed

  • fixed a bug where the map would zoom in/out when a popup with scroll was displayed.
  • fixed a bug where map styles overlapped.
  • fixed wrong URL for related datasets card box.
  • fixed authentication issue in static-pages endpoint. RW-19
  • fixed issue where the "Powered By Resource Watch" logo in embeds didn't appear in external sites.
  • fixed issue with user areas overlapping with dataset detail view in Explore page.
  • fixed issue with Twitter card attributes in dashboards. #177007206

Removed

  • styles optimization (cssnano and optimize-css-assets-webpack-plugin dependencies)
  • duplicated meta charset tag and other meta tags in the document.
  • user token from tools endpoint.
  • moveto dependency.
  • moment-range dependency.
  • three dependency.
  • json-loader dependency.
  • bcrypt dependency.

[2.20.5] - 2020-02-23

Added

Changed

  • Removed "BETA" from Resource Watch logo. #176843582

Fixed

Removed

  • RW_FEATURE_FLAG_AREAS_V2 feature flag.

[2.20.4] - 2020-12-17

Added

  • Explore: added spinner to area creation as it takes several seconds to finish.

Changed

Fixed

  • admin: fixed widget metadata override when the user saved the widget via widget-editor. #175408294
  • restored URL params (zoom, latitude, longitude) for map-swipe. #176121901

Removed

[2.20.1] - 2020-12-14

Added

  • captions to widgets in energy/countries dashboard (only in preproduction).
  • map-type widget embed: widget links. #175408294
  • Dashboards: added better error handling for maps instead of crashing. #175408544
  • Explore detail: added spatial_-_resolution metadata field. #175672826
  • In area cards, now it's possible to rename the area there without navigating somewhere.
  • Explore: area of interest bounds.
  • Explore: added aoi param to URL to allow loading areas of interest from the URL.
  • pagination for collections coming from API.
  • call action in areas of interest to go to all-data section.
  • Explore: added active state for prominent buttons in new area form.
  • Embed maps: display user areas. #175394222
  • widget-editor: WRI's colour scheme.

Changed

  • Explore: disables area subscriptions.
  • now the area card displays a resume of the subscriptions instead of the subscriptions.
  • migrates to v2 areas.
  • hides cancelled areas requests from app notifications (now they display in the console quietly).
  • [email protected]
  • sorts collections by name by default.
  • [email protected]
  • parses bbox coming from widget-editor to display in a Mapbox map. #175450361
  • memoizes widget-editor adapter to avoid unexpected re-renders. #175594527
  • text tweaks for AoIs. #175788944
  • replaces deprecated viewport-mercator-project with @math.gl/web-mercator;
  • improves the way the dashboard detail page is loaded avoiding empty sections during data fetching #172928273.
  • Dashboards: now the blocks renders with the scroll user instead of loading everything at once. This should reduce the page workload and impact. #175408544
  • [email protected]
  • Enabled subscriptions for area cards regardless where the cards are displayed.
  • Unified way of working with areas of interest in map explore in energy dashboard.
  • Explore map now displays one area of interest at the same time.
  • In MyRW, collections without resources are hide depending on the tab the user is.
  • updates icons for widgets and datasets in collections table.
  • moved collections away from redux.
  • Updated styles for primary buttons when they are disabled according to UI Kit.
  • Explore: disallows to create an area if the respective fields are not populated correctly.
  • Explore: unified button styles of top bar buttons.
  • Explore: unified prominent button styles from datasets and areas.
  • Explore map and area cards now use different styles for areas.
  • unified methods to process files when a user uploads an area.
  • moved favicon to public root.
  • changed from static to public the folder where the server serves statics.
  • [email protected]
  • widget-editor: better separation of utils and constants.

Fixed

  • wrong height page loading certain pages. #172928273
  • avoids passing null/undefined widgets in GEDC. #175594527
  • tooltip crashing when data is undefined. #175888099
  • query not fetching country list in Energy dashboard. #175594527
  • visual glitch with top bar in explore detail.
  • collections more consistent across the app. #175272462
  • Explore: glitch in country selector inside new are form.

Removed

  • user favorites management from redux.
  • unused layout/page component.
  • Explore: panel to edit area.
  • MyRW: tab to edit area.
  • x-powered-by headers.
  • Explore: top bars of sidebar are now clickable.
  • deprecated widget schemas and utils replaced by widget-editor
  • canvas and vega dependencies.

[2.16.0] - 10-21-2020

Added

  • possibility of drawing custom areas in Explore map. #175261981
  • added pagination for areas in MyRW. #175261981
  • user areas of interest can now be displayed in Explore map. Also, edition is available. #175261981
  • sitemap generation.
  • new fetching for fields from carto datasets. Instead of using WRI's API /fields endpoint, points directly to Carto SQL API as it admits query modifications. #171632711
  • better error handling for widget cards fetching layers.
  • extra validation step to ensure widgetConfig attribute of widgets is present and valid. #174911795

Changed

  • login in Explore page won't redirect to MyRW anymore, the user will remain in the Explore page. #175261981
  • unified design of area cards in explore and MyRW. #175261981
  • [email protected]
  • maintenance: moved webpack from dependencies to devDependencies.
  • widget-editor: updated RW-adapter to accept app's params (like API url).
  • maintenance: updated eslint and its plugins. #174977793

Fixed

  • intermittent area edition bug where the area to edit wasn't loaded properly. #175261981
  • widget-editor: fixed a WE crash when the user changes the visualization type in a map-only widget. #175165737
  • admin: in layer edition, the interactivity wasn't being applied on first load until the user modifies it for first time. Now it does.
  • widget-editor: fixed error updating fields. #174996497
  • widget-editor: override of default disabled features. #174930015

Removed

  • maintenance: removed unused next-progressbar and webpackbar dev dependencies.
  • maintenance: removed unused colors dev dependency.
  • widget-editor: removed deprecated assets. #174952659

[2.2.1] - 2020-02-03

Fixed

  • Fix issue with dashboard detail updating only partially. [code]

[2.2.0] - 2020-02-03

Added

  • Added is featured option to admin/dashboards new/edit page. [code]
  • Modal added to Planet Pulse page plus other related updates. [code]
  • Redirects to dashboard pages from old deprecated topic pages. [code]

Fixed

  • Fix for metadata form bug. [code]
  • Fix for an issue with the delete link in the dashboards table from the back office. [code]
  • Restore backoffice interaction to provide column names for selection. [code]
  • Fixed vizualization bug - temporality load widget (new vizualization). [code]
  • Get involved page - style fix. [code]
  • Planet pulse - css dropdown menu fix (responsive). [code]
  • Fix the problem when dialogs temporary load when the page loads first time. [code]
  • Fix width for the main page subheader box. [code]
  • Fix explore detail buttons not appearing. [code]
  • Fix charts overflowing in explore cards. [code]
  • Fix "More" link to point to dashboards gallery. [code]
  • Fix planet pulse dropdown native menu visibility. [code]
  • Dashboard page link fix + myrw dashboard preview fix. [code]
  • Fix: set the default layer on open in map click. [code]

Changed

  • Planet pulse: remove obsolete "Forest clearing" layer. [code]
  • Update all routes (header, footer, dashboard gallery) to dashboard dynamic routes (from API). Removed topics routes. [code]
  • Home page - topics section replaced by featured dashboards section. [code]
  • Layers service refactored to comply with new approach for services. [code]
  • Added unsafe prefix to deprecated methods. [code]
  • Some updates to layers displayed in Planet Pulse. [code]
  • Minor updates to blog feed to load new Spotlight category. [code]
  • Minor change to Pulse pop up text. [code]
  • explore-actions refactored to use services methods instead of explicit calls to fetch. [code]
  • Refactor of pages service to use axios. [code]
  • Remove unused passport dependencies. [code]
  • Changed preview url for admin dashboards. [code]
  • Support for cloning topics into dashboards removed. [code]
  • Dashboards "More" links removed. [code]
  • Show dashboards gallery section only when there is content for it. [code]
  • Remove button to clone a topic when creating a dashboard. [code]

[2.1.10] - 2019-12-11

Added

  • Log site search events with GA [code]

Fixed

  • Fix for a problem in the TagsForm component [code]
  • Several subscriptions issues fixed in [code]
  • Fix for a couple minor errors in Areas of interest --> subscriptions [code]

Changed

  • API communication services refactor, including improvements such as:
    • use of Axios in all requests
    • better error handling
    • better error logs
    • serialize responses when applicable using the component WRISerializer The code for these changes can be found here: [1], [2], [3], [4]
  • Subscriptions are now handled following the standardized agreed approach, i.e. one subscription entity should be created in the API for each combination of [area, dataset, subscription type] [code]
  • Next.js updated to the latest version 9.1.1 [code]. More info about the changes included can be found here
  • Set origin parameter when signing up user on the API [code]
  • Delete insights-related obsolete code and files across the app [code]

[2.1.9] - 2019-09-30

Added

  • Hooks linter & Staged lint [code]
  • Add checkbox to newsletter page [code]

Fixed

  • Use metadata title in subscribe to alerts modal from explore detail [code]
  • Subscriptions fixes [code]
  • Fix bounds and styles in area cards [code]
  • Fix area update and fields displayed in form [code]
  • Fix area creation [code]
  • Fix subscriptions' preview title [code]
  • Fix for content shown in the topics tooltip from the navigation bar [code]

Changed

  • Adds Cesium navigation styles externally [code]
  • small patch to edit sentence on newsletter ty page [code]

[2.1.8] - 2019-09-16

Added

  • Specify order in which layers should appear on Explore [code]
  • Newsletter thank you page [code]
  • Expandable table of contents in FAQs [code]
  • Applications read-only field added to dataset form in the back office [code]

Fixed

  • Fix for error saving widgets from dataset detail page [code]
  • Fix for email share icon dissapearance [code]
  • Issue with location search in Explore fixed [code]
  • Fix placeholder and improve text of Environment field in Layer form [code]
  • Fix issue with widget creation in MyRW [code]
  • Fix related to the widget editor and how we infer is a widget is of type map or not [code]
  • Fix for an issue that prevented some fields to appear in the dataset form page from the back office (e.g. the published check box). Fix related to the widget editor and how we infer is a widget is of type map or not [code]
  • Prevent wrong env values to be set when creating/updating subscriptions [code]
  • Fix error thrown when saving edit dataset page [code]
  • Fix issue consisting of subscriptions not showing up in the AOI section [code]
  • Fix for dataset creation issue [code]
  • MyRW visualizations --> Edit button link logic fixed [code]

Changed

  • Datasets and visualizations from collections link to different pages depending on user and ownership [code]
  • Upgrade widget editor to 1.4.5 [code]
  • Bump mixin-deep from 1.3.1 to 1.3.2 [code]
  • Remove front-end 'wall' preventing unpublished datasets to be visible in Explore detail [code]
  • The user should stay in the dataset form page after clicking on save/update [code]
  • Myrw --> Vizualizations: show most recent widgets first [code]
  • Upgrade to [email protected] [code]
  • Bump lodash from 4.17.11 to 4.17.13 [code]

[2.1.7] - 2019-08-19

Fixed

  • Fixes interactions layer issue in admin [code]
  • Fixes edge case for layer interactions [code]

[2.1.6] - 2019-08-19

Added

  • Alert preview improvements [code]

Fixed

  • Fix for Markdown link styles [code]
  • Fix issue with Layer form (published checkbox was always checked) [code]
  • Fix "Dataset not found" error when saving widgets [code]

[2.1.5] - 2019-08-01

Added

  • Explore detail: markdown related improvements [code]

Fixed

  • Fix for: "Array error when saving widget" [code]
  • Fix for issue: Backoffice widget creator only appears when dataset manually selected [code]

Changed

  • Adds origin param to reset password [code]
  • Adds origin in reset-password token generation [code]
  • Encapsulate CSS for markdown lists into a separate CSS class - Adds origin in reset-password token generation [code]
  • forgotten password - moves to axios and logger [code]](resource-watch#1079)

[2.1.4] - 2019-07-25

Added

  • Prevent blog feed from loading "UNCATEGORIZED" blog posts. [code]
  • Catalog page: pagination and other improvements. [code]
  • MyRW: Improvements to search results messages in MyRW. [code]
  • Improved styles and pagination in Dashboards "Add visualization" modal. [code]
  • Improvements for MyRWDatasets and DatasetList components. [code]
  • Re-enable the pre-populating of the dataset name when creating widget and layers. [code]
  • Handle icons that are RW specific using Icomoon directly from the RW app. [code]
  • Implement "remove" buttons in back office detail pages (widget + layer). [code]
  • Share by email functionality added to all share modals. [code]
  • Layer info pop-up "more info" button leads to resourcewatch.org/data/explore/[slug]. [code]
  • GDPR banner added both to the app and the back office. [code]
  • Surface the Last update date in Explore detail only when this field has a value. [code]
  • Icon component-level styles. Adds optimize-css-assets-webpack-plugin / cssnano [code]
  • Add application and environment parameters to services. [code]
  • removes unused tasks. [code]
  • adds auth in preproduction environment. [code]
  • Timeline appearance improved when there are many time steps. [code]

Fixed

  • Fixes posts fetching. [code]
  • Removes default meta viewport. [code]
  • Fixes issue setting map center in widget-block. [code]
  • Reorganizes styles to avoid override. [code]
  • Fixes fetching widgets in MyRW. [code]
  • MyRW fix: redundant "Explore datasets" button removed from Datasets section. [code]
  • MyRW fix: show pagination tool only when there is more than one page. [code]
  • Fix user collections not being loaded in Explore. [code]
  • Fix back office navigation on save. [code]
  • Fix issue when clicking on Remove layer in the back office. [code]
  • Back office fix: clicking on widgets/layers breadcrumbs leads to the corresponding dataset page. [code]
  • Fix "Suggest a story" link from button in homepage banner. [code]
  • Fix for favorite widgets not loading in MyRW. [code]
  • Fix error thrown on Collections page load. [code]
  • Fix for layer creation (breadcrumbs + bug when selecting dataset). [code]
  • Fix issues with collections, myrw datasets tabs and collections links to datasets + widgets. [code]
  • Prevent widgets from other apps to be loaded in MyRW. [code]
  • Fix issue with dependency. [code]
  • Fix issue with layers and widgets having two environments associated at once. [code]

Changed

  • Bump fstream from 1.0.11 to 1.0.12. [code]
  • Upgrades autoprefixer. [code]
  • Bump js-yaml from 3.12.0 to 3.13.1. [code]
  • Bump handlebars from 4.0.12 to 4.1.2. [code]
  • Updates legend timeline styles. [code]
  • vizz-wysiwyg version upgraded to 2.1.2. [code]
  • Clean up of obsolete/unused images plus Splash page related code. [code]
  • Refactor widget block edition. [code]
  • Update MyRW with new design to remove elements. [code]
  • Leaflet styles updated to 1.3.4. [code]
  • Bump jquery from 3.3.1 to 3.4.1. [code]
  • Bump lodash-es from 4.17.11 to 4.17.14. [code]
  • Bump lodash.mergewith from 4.6.1 to 4.6.2. [code]
  • Email share fields updated. [code]
  • Back office layer+widget form updates. [code]
  • next@9. [code]
  • Share email icon renamed to email. [code]
  • simplifies auth and variables involved. [code]
  • Updates key names. [code]

[2.1.3] - 2019-05-10

Added

Fixed

  • Fixes a bug where topics weren't fetched landing to /sign-in. [code]
  • Fixes wrong styles in forgotten password page [code]
  • Admin backoffice: fixes layers and widgets filtering in dataset view [code]
  • Admin backoffice: fixes an issue loading dataset title after widget edition [code]
  • Admin backoffice: fixes an issue where owner column values weren't displayed properly. Also, fixes sorting by owner. [code]

Changed

  • Admin backoffice: changes pagination: now it renders dynamically instead of fetching all resources at the same time reducing waiting times. [code] [code] [code]

[2.1.2] - 2019-04-25

Fixed

  • Fixed wrong fetch preventing to display the current resource name in the admin edition [code]

Changed

  • Updated fetch method for getting a dataset.
  • Changed error handling for fetching.

[2.1.1] - 2019-04-17

Fixed

  • Fixed an error preventing a user save/update a layer in the admin [code]

Changed

  • Updated Pulse's layers texts according Amelia's suggestions [code]

[2.1.0] - 2019-04-11

Added

  • Unifies sign-up modal across the application.
  • Open Graph tags to display a thumbnail when a user shares/embeds a widget.
  • Better page handling error when the app crashes or don't found a resource.

Fixed

  • Fixes override styling with NextJS 7.0

Changed

  • Updated og:image in /data/wigdet/${id} with widget's thumbnail.
  • Updated widget-editor dependency to latest version (1.4.4).
  • Updated pages structure to be monofile and reduce compilation times.
  • Added loggers to services to catch errors better.
  • Updated lodash to fix a critical vulnerability.
  • Renamed wri-api-components to vizzuality-components.

Removed

  • Removed widgetDetail module. Now the widget is passed as a prop.

[2.0.3] - 2019-03-27

Added

  • Replaced the modal used for sharing a widget in myRW for the same one used in the explore page making the sharing experience more consistent. Removed old one.
  • Now /data/widget/{id} route is accessible for non-published widgets .

[2.0.2] - 2019-03-26

Fixed

  • Fixed bad alignment of user icon in app header.
  • Cross-browsing: header search result suffered from crippling in Firefox 66.

Changed

  • Moved from wri-api-components to vizzuality-components. wri-api-components will be deprecated at some point.
  • Removed header items from store. There was no need to keep them there. Now they are stored in a component-level constants file. This also applies for admin header.
  • Styling: removed white border from embed maps (explore, map, map-swipe).

[2.0.1] - 2019-03-18

Fixed

  • Fixed error compilation with node-gyp and canvas in Dockerfile adding pango-dev, jpeg-dev dependencies.

[2.0.0] - 2019-03-13

Changed

  • Updates app pages according to Next 7.0.
  • Updated README according to recent changes.

Add

  • ./pages/_app file. No need to connect every page to the store anymore.
  • ./pages/_document

[1.2.0] 2017-11-14

Fixed

Added

  • Description of the fields/columns in the editor

Changed

[1.1.0] - 2017-10-11

Fixed

  • Explore details tags are filtered so that generic/unuseful tags are not shown
  • Legend actions buttons are not shown in the widget editor in Map mode
  • Insight cards: Source used to create the cards have been unified, links are visible now (white color)
  • Explore Detail: Source is not shown in the header
  • Explore: Tags button is properly placed now in lists mode as well
  • Planer pulse: Floods layer colors fixed
  • Planet pulse drop downs have now a z-index that makes them be displayed on top of the layer card
  • Planet pulse Carto layers are fetched based on the information in the pulseConfig object
  • Planet pulse 3D layers get their respective markers using the info located in pulseConfig
  • Planet pulse globe tooltips show only the fields that are specified in the object interactionConfig
  • Bar charts properly handle null and negative values
  • Pie and bar charts are now responsive and are properly displayed as thumbnails (newer charts only)
  • Fixed invariant violation error
  • Fixed map container error in back office
  • Datasets always show geoInfo value, even if they are rasters (it will be always true)
  • Widget map creation
  • Better validations for widgetEditor
  • MapControls component added
  • BasemapControl component added
  • ShareControl component added
  • Footer updated
  • Add map widgets to dashboards
  • Add text widgets to dashboards
  • Manually-created widgets could break the tooltip if no proper formatting would be provided
  • Opacity selector for all layers
  • Metadata subtitle
  • WMS Metadata and Dataset form doesn't call fields endpoint
  • Explore detail: download links working
  • Explore detail: correct SEO tags

Added

  • Prototype of the Splash page
  • Pulse: Use Cesium for both 2D and 3D layers
  • Explore: favourite datasets
  • Explore detail: favourite dataset
  • MyRW Dataset favourites
  • Explore detail tags section
  • Favorite widget functionality at Embed widget page
  • Styles for LayerInfoModal component
  • Technical title (formal name) added to Explore Detail
  • Subscribe to alerts from Planet Pulse
  • Insights cards: The whole card is clickable now
  • Planet pulse improvements: color used as extra dimension in more 3D layers
  • Planet pulse globe tooltips have hyperlinks for url values
  • New prototype of tags tooltip in Explore
  • New search input for the filter tooltip in the Widget Editor
  • Implementation of decision tree to get visualizations by dataset. PDF
  • New command to check datasets for widget editor yarn check-datasets
  • New command to check layers yarn check-layers
  • Vega Chart as component
  • Added Vega Chart Thumbnail with theme configuration
  • Added support for server rendering in Explore page (for search crawler)
  • Added support for GEE layers in Map
  • Pie charts display an "others" category to avoid duplicate colors
  • Transifex
  • Transifex blacklist
  • Router onChange progress
  • Dock Component
  • Dashboards: The user is able to add more than one widget at a time. Depending on the number quill will add them in a row with 1, 2 or 3 columns. Never more than 3 widgets
  • Added map widgets to dashboards
  • Added text widgets to dashboards
  • MapControls component added
  • BasemapControl component added
  • ShareControl component added
  • Added new endpoint profiles to save and upload profile images in S3 service
  • Added checkbox for label layers in Explore page
  • Terms and privacy policy pages
  • Tool admin page added to CMS.
  • Added support for timeline in one layer Standarized Precipitation Index
  • Tool page connected to BO

Changed

  • Planet pulse: extra point light added to the scene so that colors can be perceived more easily
  • Tooltips of the charts are now based on the interaction_config object of the widgetConfig
  • WRI logo separate from partner carousel.
  • Footer style's.
  • Better validations for widgetEditor
  • Unique components for Legend and Map
  • Basemaps by default doesn't have labels
  • Styles for search results