Skip to content

Conversation

@pieterbeulque
Copy link
Contributor

We'd need to purchase a license to do it in prod, but it looks way nicer for B2B.

@vercel
Copy link

vercel bot commented Dec 4, 2025

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

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
polar Ignored Ignored Preview Dec 8, 2025 10:14am
polar-sandbox Ignored Ignored Preview Dec 8, 2025 10:14am

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

3 similar comments
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@pieterbeulque
Copy link
Contributor Author

@frankie567 Care to take a look at the Python part? 🙇

_name_description = "The name of the customer."
_name_example = "John Doe"

_personal_email_domains: set[str] = {
Copy link
Member

Choose a reason for hiding this comment

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

Could we put that under config.py in Settings? Would allow us to easily override it dynamically if needed.


# Ignore logo.dev URLs for avatar_url - these are computed values
# that the frontend may inadvertently send back
if avatar_url := update_dict.get("avatar_url"):
Copy link
Member

Choose a reason for hiding this comment

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

That logic should be made as a validator and applied at schema level.

def _discard_logo_dev_url(url: HttpUrl) -> HttpUrl | None:
    if url.host and url.host.endswith("logo.dev")
        return None
    return url

AvatarUrl = Annotated[HttpUrlToStr, AfterValidator(_discard_logo_dev_url)]

class OrganizationCreate(Schema): # and OrganizationUpdate
    avatar_url: AvatarUrl | None = None

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@pieterbeulque
Copy link
Contributor Author

Good call on the validator, @frankie567, that's a lot cleaner. Can you take another look?

@pieterbeulque pieterbeulque merged commit 55b04b0 into main Dec 8, 2025
15 of 16 checks passed
@pieterbeulque pieterbeulque deleted the pieter/add-logo-dev branch December 8, 2025 12:03
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.

3 participants