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

Catalog: Fetch catalog doc and projects and render#293

Merged
hojberg merged 1 commit into
mainfrom
fetch-catalog
Dec 17, 2021
Merged

Catalog: Fetch catalog doc and projects and render#293
hojberg merged 1 commit into
mainfrom
fetch-catalog

Conversation

@hojberg

@hojberg hojberg commented Dec 17, 2021

Copy link
Copy Markdown
Member

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 requested a review from pchiusano December 17, 2021 18:19
@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.

2 participants