-
-
Notifications
You must be signed in to change notification settings - Fork 50
Custom collections basic UI #3455
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
Conversation
.class("custom-collections"), | ||
.forEach(customCollections, { collection in | ||
.a( | ||
.href(collection.url), // FIXME: link to custom collection page |
There was a problem hiding this comment.
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 } |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
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).