Acebook — Day 3

Feeling fairly smug that our story point estimations from the previous day hadn’t been wiiildly inaccurate, we decided it would be a good idea to check in on our story points estimations for the tasks for the day ahead. We made sure everyone got their caffeine fix for the morning and then set off to work in new pairs for the day.
Team 1: Yas and Danielle worked on adding more functionality to the Posts page today — the ability for a logged in user to edit or delete their post. Whilst we are still all adjusting to Devise and its seemingly infinite number of helpers, a fair bit of research was required to implement these features. We ended the day with a Posts page showing all posts, dated, in chronological order, with the edit/delete functionality, which was a big final step towards completing our MVP.
Team 2: Nathan and Jess tacked a few different edge cases over the course of the day. Despite some disruption over lunch time after Jess’ purse was stolen near Tesco (don’t worry, the popcorn and Oreo purchases were still worth it), they implemented personalised welcome messages. After playing around with various interpolation techniques in the devise.yml file, they eventually found the answer in the Sessions Controller. They also ensured users can only sign up with unique usernames and emails, passwords must match password confirmations and users are routed to the Posts page once logged in.
Team 3: Brad and Jay had a few quick wins in the morning, updating the password validation message and removing some unnecessary buttons on the signup and login pages. Otherwise, they had a fun day getting to grips with Bootstrap and how we might go about implementing ferret-themed (of course!) styling into our project. They found this introductory article particularly helpful.
Aside from continued learning on Bootstrap, Devise and Rails, one of our biggest surprises from today was that ferrets are carnivores! What’s in store for tomorrow? Well we have a few more requirements to be implemented, such as users not signed up or logged in, can only view the homepage; users have only 10 minutes to edit a post; and adding line breaks to posts so no-one else has to worry about accidentally submitting their post mid…
^ gotcha!
