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

[DEV-19095] Newsroom payload change to include privacy and cookie policies #352

Merged

Conversation

pestaa
Copy link
Member

@pestaa pestaa commented Jan 10, 2025

No description provided.

@pestaa pestaa requested a review from yuriyyakym January 10, 2025 11:51
@pestaa pestaa self-assigned this Jan 10, 2025
Comment on lines +105 to +111
| {
link: string;
}
| {
content: string;
origin: 'default' | 'custom';
};
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be extracted to a for example Policy or PolicySource type

Copy link
Member Author

Choose a reason for hiding this comment

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

Ideal would be ContentOrigin, but it feels a bit dramatic for a very niche thing. I'll keep it as is for, and we'll address if this area grows.

@pestaa pestaa merged commit 8ca6439 into master Jan 14, 2025
4 checks passed
@pestaa pestaa deleted the feature/dev-19095-ui-to-enter-custom-policy-links-and-contents branch January 14, 2025 08:41
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