ecatch-kyst / web

IT Bachelor project @ NTNU ⚡🎣
https://ecatch-kyst-beta.firebaseapp.com
GNU General Public License v3.0
5 stars 0 forks source link

Feature/input validation #102

Closed haavarol closed 5 years ago

haavarol commented 5 years ago

Input is now validated before it is sent to server.

closes #90

Before I opened this Pull Request, I have:

according to my best knowledge.

codecov[bot] commented 5 years ago

Codecov Report

Merging #102 into develop will decrease coverage by 2.16%. The diff coverage is 24.32%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #102      +/-   ##
===========================================
- Coverage     44.8%   42.63%   -2.17%     
===========================================
  Files           59       61       +2     
  Lines          712      774      +62     
  Branches       139      168      +29     
===========================================
+ Hits           319      330      +11     
- Misses         342      366      +24     
- Partials        51       78      +27
Impacted Files Coverage Δ
src/utils/index.js 42.85% <ø> (ø) :arrow_up:
src/db/Store.js 26.31% <ø> (ø) :arrow_up:
src/db/actions/messages.js 1.81% <0%> (-0.46%) :arrow_down:
src/components/Forms/components/DropdownMap.jsx 15.38% <0%> (ø) :arrow_up:
src/components/Forms/components/GeoPointInput.jsx 57.89% <100%> (ø) :arrow_up:
src/components/Forms/components/TextInput.jsx 87.5% <100%> (ø) :arrow_up:
src/utils/validate.js 100% <100%> (ø)
src/utils/valid.js 13.33% <13.33%> (ø)
src/components/Forms/components/Dropdown.jsx 61.53% <40%> (-2.47%) :arrow_down:
src/components/Forms/FormInput.jsx 94.44% <85.71%> (+1.11%) :arrow_up:
... and 2 more

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 ae5e886...b406c79. Read the comment docs.