-
Notifications
You must be signed in to change notification settings - Fork 11k
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
fix: File Upload description bypassing message maximum character limit setting #33218
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 2babbb1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 37 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33218 +/- ##
============================================
- Coverage 75.18% 58.90% -16.29%
============================================
Files 495 2794 +2299
Lines 21600 66737 +45137
Branches 5362 15003 +9641
============================================
+ Hits 16241 39314 +23073
- Misses 4717 24608 +19891
- Partials 642 2815 +2173
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @MartinSchoeler,
Would it be a good idea to implement the check on the backend as well? Currently, users can send long messages through the API bypassing the character limit.
033721e
to
e44659c
Compare
e44659c
to
2d32fd6
Compare
e8a5274
to
44f84b8
Compare
44f84b8
to
3558dc9
Compare
Could you review again? Added the changes that were requested, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title should describe the issue and not the solution. I'll change that for you.
a7da7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some UI tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work here!
Proposed changes (including videos or screenshots)
Added the message character limit restriction to the file upload description field, before this, you could send a message bigger than the limit by sending a file with a large description
Issue(s)
SUP-620