ka-extension / ka-extension-ts

A browser extension for Khan Academy.
MIT License
19 stars 11 forks source link

Info for completely hidden programs #119

Closed MatthiasPortzel closed 6 years ago

MatthiasPortzel commented 6 years ago

Programs on KA can be hidden from the hot list, but they can also be "completely" hidden, what the API calls appearsAsDeleted. People other than the program author and guardians, when given a direct link to one of these programs, see KA's 404 page, as if the program was deleted. But these programs aren't actually deleted, and anybody can still see the program's API data (including code). This PR does three things:

I realize 99% of the time these features are unnecessary. I added them mostly to satisfy my own paranoia. And this probably messes with your plans to re-do the program info table, Luke.

Screenshots: Ultimate TD

screen shot 2018-11-11 at 3 55 41 pm

A program that got completely hidden years ago:

screen shot 2018-11-11 at 3 56 53 pm

Terra Magma:

screen shot 2018-11-11 at 3 57 33 pm

A random program

screen shot 2018-11-11 at 3 58 56 pm

A program created with // /cs/pro/5733417664643072

screen shot 2018-11-11 at 3 58 46 pm