-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
🎉 add topic tags input to di creation dialog #4570
base: chart-refs-di
Are you sure you want to change the base?
Conversation
Quick links (staging server):
Login:
SVG tester:Number of differences (default views): 0 ✅ Edited: 2025-02-18 11:47:01 UTC |
01c010a
to
23a05bb
Compare
55f09da
to
b8da097
Compare
23a05bb
to
08bf0c4
Compare
b8da097
to
7d78a3e
Compare
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.
tres bien
{topicTags.map((tag, index) => ( | ||
<Fragment key={tag.id}> | ||
<i>{tag.name}</i> | ||
{index < topicTags.length - 1 && " and "} |
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'm surprised we don't already have a util called englishJoin
or something for this
type FormData = Partial<Record<FormFieldName, string>> | ||
type FormData = Partial< | ||
Omit<Record<FormFieldName, string>, "topicTagIds"> & { | ||
topicTagIds?: number[] |
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.
always so sad when you have to do something like this 😢
<Select | ||
placeholder="Select topic tags..." | ||
mode="multiple" | ||
showSearch |
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.
Oops, looks like this isn't working
I forgot about topic tags!
This PR adds support for tagging DIs on creation in the admin.
This is part 8 of 9 in a stack made with GitButler: