drewcook / arbor-ui

A collaborative, music-making NFT platform for artists and collectors, built on Ethereum.
https://arbor.audio
GNU General Public License v3.0
7 stars 7 forks source link

Separate routes for RecentProjectActivity #233

Closed noahdahlman closed 1 year ago

noahdahlman commented 1 year ago

I have a few things as feedback on how this initially got implemented. I'd like the get them addressed in this PR as a follow-up.

The initial PR got merged in without my feedback at all, and the way the projects are getting are wrong - it should limit the results to 3. I think it needs to be moved to it's own route, and or the params passed in need to be ensured that they are working on the records correctly, or if they need to be translated to direct mongoose helper methods and moved to its own route, like /projects/recent, which always returns the latest three.

Originally posted by @drewcook in https://github.com/arbor-protocol/ui/issues/229#issuecomment-1356834294

0xlws commented 1 year ago

first commit moved request to its own route, results limited to 3: commit. let me know about the implementation