kylelhk / Pictionary

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

Issue #56 Fix bugs on Create Drawing page #60

Closed trieuH closed 4 months ago

trieuH commented 4 months ago

Change Summary

  1. Changed protection of endpoints in routes.py to @login_required which is implemented by flask_login. This will reduce the lines of code needed to ensure a user is authenticated before they can access our endpoints.
  2. Fixed a bug where if a user selects "Create Drawing" from the navbar, then when they click "Exit" from the word category modal and selects "Cancel" from the confirmation dialog, they are shown a canvas with no word to draw and no timer. Implemented a custom modal for the confirmation dialog instead to control how the cancel button is handled. Clicking cancel will now show the word category modal if it was originally showing. image
  3. Changed the drawing page's CSS to ensure the page's elements are centered on wide screens.

Change Form

Other Information