Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Temporarily hide the _catalog doc #296

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Temporarily hide the _catalog doc #296

merged 1 commit into from
Jan 5, 2022

Conversation

hojberg
Copy link
Member

@hojberg hojberg commented Jan 5, 2022

Problem

Unison Share will have a new front page that features a catalog which is derived from a Unison Doc. This page will mean that users will never see a tree view of the top of the Unison Share like they do now.

While the Catalog page is being worked on, but not switched over to, we want to hide the _catalog doc from the top level codebase tree to avoid any confusion.

This will enable us to merge unisonweb/share#30 and to start exploring the catalog on a url that isn't linked to from anywhere.

Solution

Add a simple check to hide codebase tree entries named _catalog.

Caveats/Notes

  • This should be removed later when the Catalog page is in place.
  • This catches any definitions named _catalog regardless of where in the tree they are, but this is deemed ok since its temporary.

Unison Share will have a new front page that features a catalog which is
derived from a Unison Doc. This page will mean that users will never see
a tree view of the top of the Unison Share like they do now.

While the Catalog page is being worked on, but not switched over to, we
want to hide the _catalog doc from the top level codebase tree to avoid
any confusion. This should be removed later when the Catalog page is in
place.
@hojberg hojberg requested a review from pchiusano January 5, 2022 14:32
@hojberg hojberg merged commit 76bb32c into main Jan 5, 2022
@hojberg hojberg deleted the dont-render-catalog branch January 5, 2022 15:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants