hatchways / team-cherry

1 stars 1 forks source link

Bug fix and websocket establishment #55

Closed powerseed closed 4 years ago

powerseed commented 4 years ago
  1. Fixed the bug that FE send multiple requests to BE for mentions when rendering the main page.
  2. Fixed the bug that sort state doesn't have a default value.
  3. Established Websocket between FE and BE. When ever user visit main page, click on platform toggles or input in the search bar, FE will send user's into to BE, and BE will store it in an array.

(The part of pushing new mentions to users has been done, will do it after the async queue is implemented)