Skip to content

Conversation

finestructure
Copy link
Member

This wires up a draft UI for displaying custom package collection membership on the package page.

The link currently goes to the source list on Github but I'll address this in a follow-up to link to a page with all packages in this particular custom collection (just like other collections).

CleanShot 2024-10-25 at 12 10 37@2x

.class("custom-collections"),
.forEach(customCollections, { collection in
.a(
.href(collection.url), // FIXME: link to custom collection page
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be a follow-up PR

}

func customCollectionsItem() -> Node<HTML.ListContext> {
guard !customCollections.isEmpty else { return .empty }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's gate this to staging for now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@finestructure finestructure merged commit 452b094 into main Oct 25, 2024
5 of 6 checks passed
@finestructure finestructure deleted the custom-collections-basic-ui branch October 25, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants