-
Notifications
You must be signed in to change notification settings - Fork 41
Requests: Add Length Limit for Comment & Update Comment Editor UX #391
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
Open
Samk13
wants to merge
1
commit into
inveniosoftware:master
Choose a base branch
from
Samk13:set-comments-bounderies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Samk13
commented
Jul 3, 2024
| """Return payload schema as a dictionary.""" | ||
| # we need to import here because of circular imports | ||
| from invenio_requests.records.api import RequestEventFormat | ||
|
|
Member
Author
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.
Should we set an upper limit to Log event as well?
Samk13
added a commit
to Samk13/react-invenio-forms
that referenced
this pull request
Jul 4, 2024
* This is useful when the input field has a character limit, allowing users to see the current character count. * Related to inveniosoftware/invenio-requests#391
10 tasks
55d7fba to
8f93ee3
Compare
e23919f to
6d48f8e
Compare
6d48f8e to
ff13818
Compare
ff13818 to
f651cbc
Compare
max-moser
pushed a commit
to inveniosoftware/react-invenio-forms
that referenced
this pull request
Mar 26, 2025
* This is useful when the input field has a character limit, allowing users to see the current character count. * Related to inveniosoftware/invenio-requests#391
* UI: Add live character count validation to TimelineCommentEditor * UI: Connect config value through Redux store to make it available as we make config value configurable, this allowe the max limit to change dynamically as well * These changes depending on thins PR: inveniosoftware/react-invenio-forms#244 * Disable submit button when comment exceed char count * Disable submit button when it's < 1 char * Show understandable error msg when exceeding limit
f651cbc to
ea8600f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❤️ Thank you for your contribution!
Description
Depends on: inveniosoftware/react-invenio-forms#244
Closes: inveniosoftware/invenio-app-rdm#2731
Adapt the UI to this change by:
Adding a localized custom error message
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Frontend
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: