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

Clamp notification content #4548

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Clamp notification content #4548

merged 3 commits into from
Apr 3, 2024

Conversation

flvndvd
Copy link
Contributor

@flvndvd flvndvd commented Apr 3, 2024

Description

Resolves https://github.com/dust-tt/tasks/issues/594.

This PR clamps notification's content since we don't always control what's being displayed there. This is a dirty hack since this text isn't easy to split (no whitespaces). We should instead improve our error handling to avoid logging those types of errors.

image

Risk

Deploy Plan

@flvndvd flvndvd self-assigned this Apr 3, 2024
@flvndvd flvndvd requested a review from Duncid April 3, 2024 10:14
@flvndvd flvndvd marked this pull request as ready for review April 3, 2024 10:15
@Duncid
Copy link
Contributor

Duncid commented Apr 3, 2024

LGTM

@flvndvd flvndvd merged commit 219abb2 into main Apr 3, 2024
7 checks passed
@flvndvd flvndvd deleted the flav/clamp-notification branch April 3, 2024 13:18
flvndvd added a commit that referenced this pull request May 26, 2024
* Clamp notification content

* Bump to max 320px

* ✨
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