UMN-LATIS / leaflet-treering

Use link below to test non-released changes.
https://umn-latis.github.io/leaflet-treering/
0 stars 0 forks source link

DendroElevator leaflet-treering update. #135

Closed thorn573 closed 2 years ago

thorn573 commented 2 years ago

Update effects:

  1. Dating Refactor: Re-dating points no longer relies on their current year value, only their index position. As such, this now acts a reset point if the series goofs up due to other bugs or JSON manipulation. (No Git Issue)
  2. Line Segment Color Bug: All line segments between points should have the proper color when measuring forward/backward annually/sub-annually. Previously, decades were incorrectly colored when measuring backwards annually. (https://github.com/UMN-LATIS/leaflet-treering/issues/127)
  3. Measurement with Break Section Bug: Methods which calculate the distance between two points have been aligned. Before, the plotting window and data view window used slightly different calculations. Changing the distance of a break should dynamically appear in the plot as well. (https://github.com/UMN-LATIS/leaflet-treering/issues/129)
  4. Insert Point Refactor: Inserting a point will now "snap" to an existing line segment rather than just populate at the clicked location. (https://github.com/UMN-LATIS/leaflet-treering/issues/122)
  5. Marker Refactor: All markers are more square in design. Additionally, a new marker denotes where a zero growth year appears. Marker appearance is based on its xy-coordinate in relation to other markers, thus should dynamically reskin after markers are dragged. (https://github.com/UMN-LATIS/leaflet-treering/issues/131)
  6. Shifting Option: All editing tools have a pop up asking which section of years they would like to modify with their edit. For example, when inserting a point, the user must now decide whether the outer portion's years increase or the inner portion's years decrease. (https://github.com/UMN-LATIS/leaflet-treering/issues/31)
  7. Meta Data Banner Refactor: Meta data banner now includes ppm, dpi, and if the end points are early/latewood. Minor changes to overall appearance. (No Git Issue)
  8. Enter Event: Enter now closes any open dialog box. (No Git Issue)
  9. Leaflet Version Update: Most recent version of Leaflet used. Fixes bug occurring on Mac where right clicking an icon "shutdown" all tools. (https://github.com/UMN-LATIS/leaflet-treering/issues/126)