EFForg / eff_fab

Other
2 stars 5 forks source link

Where list #90

Closed k-stewart closed 6 years ago

k-stewart commented 6 years ago

In order to keep track of where people are and how much unpaid time they've taken, we want to create a web interface for the where emails. Eventually, we will populate the wherepages from emails sent to where@eff.org as well as information sent through a Mattermost slash command.

Scenario: User can see everyone's most recent location through the internet Given Max and Lena have set their where When I visit https://fab.eff.org/where Then I should see Max and Lena's most recent where

Scenario: User can see someone's historical wheres through the internet Given Max has 5 wheres When I visit https://fab.eff.org/where/max Then I should see all 5 wheres

Scenario: User can get a report of PTO Given Lena has set her where as "sick" three times And I visit https://fab.eff.org/where/reports And I select "Lena" and "Sick" Then I should see three sick days with their associated dates

Scenario: User can retrieve status through Mattermost Given Max created a where at 3pm on Tuesday with the body "WFL" When Lena types /whereis Max in Mattermost Then Mattermost should return "Max's last location was "WFL" at 3pm on 2/20/2018"

Scenario: User sets location through Mattermost When Max types /where WFL at 3pm on Tuesday Then where@eff.org receives an email from wherebot@eff.org with subject "Max is WFL at 3pm on Tuesday"

k-stewart commented 6 years ago

Notes from the meeting with Barak, Lena, Luis, Kai and Max:

Mattermost integration: /where PTO this week - sets the typer's where /whereis username - get a specific person's most recent where

k-stewart commented 6 years ago

Yup! This exists now!