scratchfoundation / scratch-www

Standalone web client for Scratch
https://scratch.mit.edu
BSD 3-Clause "New" or "Revised" License
1.59k stars 842 forks source link

Handle view count for new project page #1858

Closed chrisgarrity closed 5 years ago

chrisgarrity commented 6 years ago

Use green flag prop from LLK/scratch-gui#3968 to call end point in LLK/scratch-api#476

towerofnix commented 6 years ago

If the new count is not over 100, call the API endpoint to increment view count

Just to clarify, what does this imply? It sounds like it means that, under the new project page, projects would be limited to having 100 views, but I don't understand why that'd be intended.

joker314 commented 6 years ago

As a slightly secondary question, will there be checks made server-side to enforce the 100-view limit, or just client side?

colbygk commented 5 years ago

Hi @joker314 and @towerofnix A guiding principle of Scratch is to encourage constructive learning and positive community interactions. Gaming views is a part of the system we have to spend considerable resources on avoiding (in both database transactions and informational storage), and yet, even if we had a perfectly non-game-able system, it makes for a competitive metric that we'd like to avoid leading to negative experiences within the wider community.

benjiwheeler commented 5 years ago

Closed by the combination of four PRs, referenced above