You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add messages screen. We need to show messages from the server.
We also need to show an indicator on the messages tab in the menu if there are new messages. For that we need to know which messages are new. For that we need to set all seen messages to "seen" (there is a property for that on the message model). So after the messages are downloaded to the messages tab, and ideally - scrolled to in the messages screen, for each of the messages that haven't been "seen" before, we need to send a patch request with "seen" set to true.
Add messages screen. We need to show messages from the server.
We also need to show an indicator on the messages tab in the menu if there are new messages. For that we need to know which messages are new. For that we need to set all seen messages to "seen" (there is a property for that on the message model). So after the messages are downloaded to the messages tab, and ideally - scrolled to in the messages screen, for each of the messages that haven't been "seen" before, we need to send a patch request with "seen" set to true.
API endpoints: GET https://rainbowchallenge.lt/api/schema/swagger-ui/#/api/api_message_list and PATCH: https://rainbowchallenge.lt/api/schema/swagger-ui/#/api/api_message_partial_update
The text was updated successfully, but these errors were encountered: