mirrorz-org/mirrorz-help

feat: mask not available help from input mirrorz.json

Opened this issue · 0 comments

Currently, the list in https://mirrors.help always displays all mirror items.

However, once we do not have data for one help doc, accessing that help doc would result in an exception. We should mask them in the list.

xtom.help just overrides the json https://github.com/xtomcom/xtom.help/blob/master/override/routes.json

TUNA mirror-web instead, masks them by deleting items after statically rendering them in https://github.com/tuna/mirror-web/blob/cdc12cd622e43206b7b7b32be3b112db9d44bf32/static/js/help.es6#L55