-
-
Notifications
You must be signed in to change notification settings - Fork 738
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
Projects archive UI #7842
Projects archive UI #7842
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
@@ -55,9 +55,15 @@ const BreadcrumbNav = () => { | |||
.map(decodeURI); | |||
|
|||
if (location.pathname === '/insights') { | |||
// Because of sticky header in Insights |
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.
how is it related to archive?
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.
Comment was missing. I'll remember to add this kind of fixes in separate PRs in the future
@@ -23,12 +24,25 @@ const StyledCardLink = styled(Link)(({ theme }) => ({ | |||
pointer: 'cursor', | |||
})); | |||
|
|||
export const ProjectGroup: React.FC<{ | |||
type ProjectGroupProps<T extends { id: string } = IProjectCard> = { |
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.
is the extends because we're spreading remaining props?
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.
It's because we are using projects[id]
for both mapped ProjectCardComponent
and links.
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.
I'd add one test that displays projects and tests basic info display in a separate PR when we have hooks connected to the API
About the changes
Closes issue/1-2666
Discussion points