-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[UI v2] feat: Adding concurrency-limit-task-run-card component #16444
base: main
Are you sure you want to change the base?
Conversation
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.
Based on: https://gist.github.com/jaens/693bd767b0f18d6577265815f6831c7a
TanStack/router#952
A bit quick and dirty way of doing it, but I just want to be able to use @tanstack/react-router
components to be used in Storybook stories
e08e3bc
to
1b0e12d
Compare
ui-v2/src/utilities/seconds.ts
Outdated
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.
ported over from other repo
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.
Needed to add for <Link>
component
1b0e12d
to
f30d85b
Compare
@@ -3,14 +3,14 @@ import { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card"; | |||
import { TagBadge } from "./tag-badge"; | |||
|
|||
type TagBadgeGroupProps = { | |||
tags: string[]; | |||
tags: string[] | undefined; |
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.
Added for + dev x.
Schema says tags is optional, so handling undefined
to default to an empty string
887d012
to
4e28f9e
Compare
@devinvillarosa IIRC was have "RunCards" like this all over. What's "concurrency"-y about this component? |
4e28f9e
to
4424975
Compare
ahh makes sense. I don't mind revisiting this and make a more generic |
d577f94
to
e08d97f
Compare
Actually, I see what you mean. I updated the component to be just |
e08d97f
to
fe9e370
Compare
/runs/task-run/$id
@/utilities/seconds
RunCard
component to be usedChecklist
<link to issue>
"mint.json
.Relates to #15512