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

Catalog: Fetch catalog doc and projects and render #293

Merged
merged 1 commit into from
Dec 17, 2021
Merged

Conversation

hojberg
Copy link
Member

@hojberg hojberg commented Dec 17, 2021

Problem

Part of the new Catalog page #144

Solution

Fetch the full catalog for the Catalog page by fetching the special
catalog doc and parsing it into a CatalogMask which is used to
categorize projects which are now also fetched.

With the data in hand the page renders a series of UI.Card components
for each category with their projects.

CleanShot 2021-12-17 at 13 19 25@2x

Caveats/Notes

Note that the categories are not currently sorted, but we'll want them
to be in the future.

Fetch the full catalog for the Catalog page by fetching the special
catalog doc and parsing it into a CatalogMask which is used to
categorize projects which are now also fetched.

With the data in hand the page renders a series of `UI.Card` components
for each category with their projects.

Note that the categories are not currently sorted, but we'll want them
to be in the future.
@hojberg hojberg merged commit c829da2 into main Dec 17, 2021
@hojberg hojberg deleted the fetch-catalog branch December 17, 2021 19:08
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