We’re getting close to deploying, so we’re making all the necessary tweaks to having Prism ready to go! For this past week, that meant writing Jasmine tests, creating error messages for Devise, and tweaking the functionality of the visualization page.
The next project was tweaking the visualization page: I had built it so that users had to click on the categories to see the visualizations, but the team pointed out that users would probably rather see a visualization from the start. I was able to change our code so that users will always see a visualization for the first category of any given text as soon as the page loads.
Finally, we needed to include error messages for Devise, our ruby gem that handles user authentication. Although we had already written a bunch of error and notification messages (ie. “Invalid Password” or “Your password has been emailed to your account”), we hadn’t added the necessary code to make it work. After adding a partial file and rendering it on the main application page, and then styling it with CSS, I was able to make all our error and notification messages show up! Now, the design team will make them look attractive and Alex will add internationalization for the messages, and we’ll be all set!
It’s been a busy week, but it looks like we’ll be able to make our deadline!