Closed emi420 closed 1 week ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
hey @emi420 , we have another issue related to iD upgrade. When I toggle the editor to RapiD and again back to iD, an error occurs. Below is the screenshot -
Other findings
I have also tried it on different branches (develop
). It still shows the same error.
So, it is not specific to this (upgrade/iD-editor-2.30.2
) branch.
Older version (v2.29.0
) did not have this error.
Steps to reproduce
cc - @ramyaragupathy @manjitapandey
What type of PR is this?
Related Issue
Fixes https://github.com/hotosm/tasking-manager/issues/5780
Describe this PR
A new version (2.30.2) of the iD Editor was published as a NPM package on hotosm/id
This PR upgrades the package and also adds a configuration line for Webpack to ignore and not parse the
iD.min.js
file, as it was raising some warnings:It should be ok as this is a packed and minified file.
Copy static files and imagery patch
I've also divided the commands in package.json for copying static files for both iD and Rapid and removed the patch for the iD imagery as isn't being used anymore.