Add visual indication for required fields in interaction mode #417
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#417
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now
tea pr review
has a different error handling of required fields for action request changes and comment. The former gives you a hint that you missed a required field so you can add the content for your change request. The latter just aborts the actual review resulting in losing your made code comments.EDIT: The different behavior is due to Gitea version < 1.15.
It would be good to have a
*
for required options during selection. Maybe this could be done globally.I created an upstream issue, should be rather easy to implement. https://github.com/AlecAivazis/survey/issues/382
The bad error handling is because the server rejects the request, this situation probably occurs because you use gitea < 1.15:
In 1.15 comment-body for comment reviews became optional, when there is at least one code comment (#399).
We could add a version check for client side validation.
That's most likely the case. I missed the already merged PR for that. I'll update the issue description.