NYCPlanning / labs-applicantmaps

5 stars 5 forks source link

492: custom direct_select modes #501

Closed trbmcginnis closed 5 years ago

trbmcginnis commented 5 years ago

Custom direct_select modes so that...

  1. shapes are not draggable
  2. zoning districts require a label before clicking anywhere else

closes #492

codecov[bot] commented 5 years ago

Codecov Report

Merging #501 into develop will increase coverage by 0.22%. The diff coverage is 83.33%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #501      +/-   ##
===========================================
+ Coverage     87.5%   87.72%   +0.22%     
===========================================
  Files           68       68              
  Lines          896      896              
===========================================
+ Hits           784      786       +2     
+ Misses         112      110       -2
Impacted Files Coverage Δ
app/components/mapbox-gl-draw.js 80.64% <ø> (+1.23%) :arrow_up:
app/components/project-geometries/modes/draw.js 86.81% <100%> (ø) :arrow_up:
app/utils/mapbox-gl-draw/annotations/mode.js 25% <80%> (+1.92%) :arrow_up:
app/components/map-form.js 97.67% <0%> (+2.32%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bfad4be...97a5d0b. Read the comment docs.