mattermost-community / mattermost-plugin-solar-lottery

A tool somewhat similar to pager duty, allows to have rotations with magic "solar lottery" scheduling, or overrides.
Apache License 2.0
4 stars 10 forks source link

Add /lotto shift leave command #25

Closed FedjaVitko closed 4 years ago

FedjaVitko commented 4 years ago

Summary Implements the /lotto shift leave command.

In this implementation the command does the same thing for open and started shift. I am certainly open to suggestions!

Ticket Fixes https://github.com/mattermost/mattermost-plugin-solar-lottery/issues/14

codecov-io commented 4 years ago

Codecov Report

Merging #25 into master will decrease coverage by 0.38%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   14.91%   14.53%   -0.39%     
==========================================
  Files          37       37              
  Lines        2078     2133      +55     
==========================================
  Hits          310      310              
- Misses       1763     1818      +55     
  Partials        5        5              
Impacted Files Coverage Δ
server/solarlottery/shift_join_leave.go 0.00% <0.00%> (ø)
server/solarlottery/user.go 0.00% <ø> (ø)
server/solarlottery/user_messages.go 0.00% <0.00%> (ø)

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 c136e9e...423e496. Read the comment docs.