Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mask not available help from input mirrorz.json #66

Open
ZenithalHourlyRate opened this issue Mar 13, 2023 · 0 comments
Open

feat: mask not available help from input mirrorz.json #66

ZenithalHourlyRate opened this issue Mar 13, 2023 · 0 comments

Comments

@ZenithalHourlyRate
Copy link
Collaborator

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

ZenithalHourlyRate added a commit that referenced this issue Mar 28, 2023
Ref to #66

Mirror sites may use this to hide the nav bar when redirecting users
from their home page.
ZenithalHourlyRate added a commit that referenced this issue Mar 28, 2023
Ref to #66

Mirror sites may use this to hide the nav bar when redirecting users
from their home page.
ZenithalHourlyRate added a commit that referenced this issue Mar 29, 2023
Ref to #66

Mirror sites may use this to hide the nav bar when redirecting users
from their home page.
ZenithalHourlyRate added a commit that referenced this issue Mar 29, 2023
Ref to #66

Mirror sites may use this to hide the nav bar when redirecting users
from their home page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant