platelet-app / platelet

Dispatch system for emergency volunteer couriers.
https://platelet.app
Apache License 2.0
38 stars 10 forks source link

Guided setup time of call field #131

Closed duckbytes closed 1 year ago

duckbytes commented 1 year ago

Adds a field to the guided setup for changing the time of call.

image

Disables the SAVE TO DASHBOARD button if the time is invalid or if it is empty.

Defaults to the time that the guided setup is opened and confirms with the user if the time is changed and DISCARD button pressed.

codecov-commenter commented 1 year ago

Codecov Report

Merging #131 (f0b9373) into master (de89df3) will increase coverage by 0.02%. The diff coverage is 83.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   58.92%   58.94%   +0.02%     
==========================================
  Files         302      302              
  Lines        9876     9895      +19     
  Branches     2499     2503       +4     
==========================================
+ Hits         5819     5833      +14     
- Misses       3694     3698       +4     
- Partials      363      364       +1     
Impacted Files Coverage Δ
src/scenes/GuidedSetup/GuidedSetup.js 84.02% <70.58%> (-2.02%) :arrow_down:
src/components/ContactForm.tsx 100.00% <100.00%> (ø)
...rc/scenes/GuidedSetup/components/CallerDetails.tsx 80.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

duckbytes commented 1 year ago

@Joetooker95 let me know if you're happy with how this looks.

duckbytes commented 1 year ago

Going to merge this for now with an aim to push out an update before training on Friday.

We can always come back to it and change later it based on user feedback.