Add messenger react app - #1
Conversation
29cb1d9 to
56d63de
Compare
There was a problem hiding this comment.
mark this as a translation string.
tasawernawaz
left a comment
There was a problem hiding this comment.
Thanks, @tehreem-sadat for working so hard on this in such a short time period and bringing this up.
Overall it is a great work, just a few suggestions, and comments.
There was a problem hiding this comment.
why we need both id and username, usually it's not a good idea to expose the user's id.
There was a problem hiding this comment.
as this is custom method, so we want to make sure that no one should be allowed to call this method without request object.
There was a problem hiding this comment.
this serializer has common fields and methods as ConversationAccessSerializer, can we use inheritance here?
There was a problem hiding this comment.
I believe this should be done on the frontend side as this is related to the UI. If UI changes we don't want to get back here.
There was a problem hiding this comment.
we aren't consistent with this authentication class, this isn't being used in Bulk creation.
There was a problem hiding this comment.
i belive Django automatically creates index on foreign keys,
There was a problem hiding this comment.
Django create individual index but here we need composite index as mostly we will use query containing both sender and receiver.
There was a problem hiding this comment.
just a suggestion you can clean this if by checking if not created at the top
There was a problem hiding this comment.
make sure once we get the actual design we will apply css through classes.
56d63de to
1548515
Compare
|
@tasawernawaz I have done all suggested changes except 2 for which I have mentioned the reasons on your comments. Please review it again. |
tasawernawaz
left a comment
There was a problem hiding this comment.
Just one minor comment, otherwise LGTM
There was a problem hiding this comment.
this docstring needs to be updated now
1548515 to
cdaead3
Compare
create new django app for wikimedia
Description
Add Messenger app: https://www.loom.com/share/39d0c3cba2a14bfbad8d7fc586a0bf3a
Related PR(s)
Theme: wikimedia/wikilearn-edx-theme#1