Closed uzi closed 3 years ago
@uzi besides the typo, is this just a prep patch?
Yeah... just wanted to get these things captured in case someone else has a chance to take a stab at any of the three things I mentioned... or at leas to have the discussion with folks.
This fixes a bit of data that api-client sends back. Note that there should be a few more fixes for the mail stuff before this goes in:
1) We'll want to POST to /api/read_message ids of messages as we read them. This can be done in reddit-mobile, but it might be better to do here in node-api-client in MessagesEndpoint.es6.js ... probably in the get() method when there's a specific thread we're fetching. 2) We'll want to update reddit-mobile's messaging views to highlight (or embolden) messages that are new. 3) We'll need some
badge
css styling for reddit-mobile in theSettingsOverlayMenu
where we showinboxCount
.I consider this a WIP until those things are done as well.