Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. On click, messages now show when they were sent last, in the django app's set timezone. Closes #27 2. UI improvements like shaping the message bubbles better and adding a circle to indicate a username's first letter (design inspirations from Google's Messaging web app) 3. ChatConsumer is now an AsyncJsonWebSocketConsumer; it serves and receives JSON data by default 4. Refactored websocket code into its own file
- Loading branch information
1 parent
7163692
commit 31e9bfa
Showing
12 changed files
with
508 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,7 @@ | |
|
||
LANGUAGE_CODE = 'en-us' | ||
|
||
TIME_ZONE = 'UTC' | ||
TIME_ZONE = "America/New_York" | ||
|
||
USE_I18N = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.