US flag signifying that this is a United States Federal Government website An official website of the United States Government

Quarterly Reminders from Dolores Landingham

Closed
Ended on 06/22/2016
Winning bid (Dan Malks): $495.00

Skills

CSS, HAML, Rails, and Ruby

Acceptance Criteria

Feature

As an admin user, I want the system to automatically send out quarterly reminders to the team, so that I don't have to remember to do it myself.

Scenario: Admin creates quarterly reminder to be sent to all of 18F

  • Given that I am an admin
  • And I am logged in
  • When I visit the new_scheduled_messages path
  • And I add a title and message body to a scheduled message
  • And select 'quarterly' as the message type
  • Then the 'Business days after employee starts to send message' and 'Time of day to send message (uses employee's local time zone)' fields no longer show
  • And instead, there is a message "This message will be sent to all employees quarterly"
  • And the message should be sent to all employees in Dolores on October 1, January 1, April 1 and July 1 at 9am in the user's local time zone
  • If any if the above dates is on a weekend, it should send the message on the following Monday

Testing Requirements

  • At least one capybara end-to-end test for the above functionality (see spec/features directory for other capybara tests)

  • At least one RSpec test using Timecop that ensures a quarterly message is sent out on the correct date (see https://github.com/18F/dolores-landingham-bot/blob/de8cec44ec78e128fb7c602813a62651f8e303d3/spec/services/message_sender_spec.rb as an example)

  • Unit tests for any new underlying functionality (RSpec)

  • Suggested implementation (not required)

  • We are already using the holidays gem, which you can use to make sure messages don't get sent out on a weekend https://github.com/18F/dolores-landingham-bot/blob/master/Gemfile#L25

  • Regular messages are for onboarding purposes and are only sent once. Now that we are introducing a new type of message. I would call the new column on scheduled_messages type have it be an ActiveRecord enum that defaults to onboarding but can also be set to quarterly (like in the case for this feature)

  • Once quarterly is selected, the other fields that are specific to onboarding-type messages ( 'Business days after employee starts to send message' and 'Time of day to send message (uses employee's local time zone)') can either be hidden or disabled. whatever is easier.

Bidder DUNS Amount Date (EST)
Dan Croak 148361251 $1,499.00 June 22, 2016 01:07:27 AM EDT
SAASTREE LLC 080191524 $1,520.00 June 22, 2016 12:49:22 AM EDT
Christian G. Warden 080033077 $3,424.00 June 21, 2016 05:06:22 PM EDT
Scott Construction, Inc. 144182268 $2,500.00 June 21, 2016 11:51:21 AM EDT
Island Peak Software 078327018 $2,700.00 June 21, 2016 11:11:58 AM EDT
Mile Two 079913221 $2,498.00 June 21, 2016 08:32:07 AM EDT
Mila Frerichs 313210696 $2,450.00 June 21, 2016 04:03:17 AM EDT
Dan Malks 079977978 $495.00 * June 20, 2016 03:44:53 PM EDT

* - winning bid

Bidding closed

Bidding for this auction closed on June 22, 2016 01:00:00 PM EDT.

Auction started at

June 20, 2016 01:00:00 PM EDT

Auction ended at

June 22, 2016 01:00:00 PM EDT

Delivery deadline

June 29, 2016 01:00:00 PM EDT

Eligible vendors

SAM.gov only

Auction type:

Sealed bid (rules)

Paid at:

August 30, 2016 03:51:54 PM EDT

Accepted at:

June 29, 2016 01:00:00 PM EDT

View on GitHub