condenser icon indicating copy to clipboard operation
condenser copied to clipboard

server-side sorted comments

Open roadscape opened this issue 6 years ago • 0 comments

The backend discussion API is being updated to accept a sort parameter. Condenser needs to stop sorting comments client-side and instead pass the sort param to the backend. The only difference of the response is that the replies key of each comment will be pre-sorted.

When changing comment sort order in the UI, condenser will need to issue a new request, and re-render the tree. The signature of the call is bridge.get_discussion(author, permlink, sort).

roadscape avatar Nov 20 '19 18:11 roadscape