kylelhk / Pictionary

CITS5505 Agile Web Development - Group Project
MIT License
1 stars 0 forks source link

Issue #14 Make canvas interactive when creating a drawing #19

Closed trieuH closed 5 months ago

trieuH commented 5 months ago

References #14

Change Summary

  1. Added the ability to draw on the canvas. Also adjusted the dimensions of the canvas so it would look better.
  2. Added the ability to select brush size, brush colour and erase or clear the drawing.
  3. Added the ability to submit the drawing when clicking the submit button. This will save the drawing in the database.
  4. Changed the database to store the drawing data as a string instead of blob, so that it is easier to save and retrieve.
  5. Added a redirection to the home page when the user clicks the quit button.
  6. Tested the frontend to make sure all drawing controls worked.
  7. Tested whether drawing entries were saved correctly in the database (see image below)
    • Checked the table had no entries
    • Submitted a drawing, then checked the table had one entry
    • Inspected the drawing submitted to view the drawing data (the binary data of the drawing is encoded in Base64 and displayed as an ASCII string)

image

Change Form

Other Information