Skip to content
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

Open
wants to merge 1 commit into
base: chart-refs-di
Choose a base branch
from

Conversation

@owidbot
Copy link
Contributor

owidbot commented Feb 18, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-create-di-topic-tags

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-02-18 11:47:01 UTC
Execution time: 1.18 seconds

@sophiamersmann sophiamersmann marked this pull request as ready for review February 18, 2025 15:38
Copy link
Member

@ikesau ikesau left a 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 "}
Copy link
Member

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[]
Copy link
Member

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
Copy link
Member

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

di.wizard.tag.search.not.working.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staging-viz Let SVG tester fail silently in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants