Skip to content

fix: allow adding continent to opportunity#5024

Merged
omBratteng merged 6 commits into
mainfrom
fix-opp-continent
Oct 30, 2025
Merged

fix: allow adding continent to opportunity#5024
omBratteng merged 6 commits into
mainfrom
fix-opp-continent

Conversation

@omBratteng

@omBratteng omBratteng commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Changes

Currently only empty or Europe

API PR

dailydotdev/daily-api#3243

Preview domain

https://fix-opp-continent.preview.app.daily.dev

Currently only empty or Europe
@vercel

vercel Bot commented Oct 30, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
daily-webapp Ready Ready Preview Oct 30, 2025 9:46am
1 Skipped Deployment
Project Deployment Preview Updated (UTC)
storybook Ignored Ignored Oct 30, 2025 9:46am

@rebelchris rebelchris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check though, think now the edit always expects country + subdivision etc.

@rebelchris rebelchris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, but maybe support any continent?

city: z.string().max(240).optional(),
subdivision: z.string().max(240).optional(),
continent: z
.union([z.literal('Europe'), z.literal(''), z.undefined()])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could technically be more?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Said Europe for now, no?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think also one for US technically, but maybe Country is ok there.
It's ok for this demo

@omBratteng omBratteng merged commit 009429c into main Oct 30, 2025
10 checks passed
@omBratteng omBratteng deleted the fix-opp-continent branch October 30, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants