-
Notifications
You must be signed in to change notification settings - Fork 18
Work modal #1079
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
Work modal #1079
Conversation
epictrack-api/migrations/versions/eed10a65e3c3_make_columns_not_nullable.py
Show resolved
Hide resolved
validate=validate.Length(max=500), | ||
required=True, | ||
) | ||
long_description = fields.Str( | ||
metadata={"description": "Long description of work"}, | ||
epic_description = fields.Str( |
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.
Any particular reason for this name change. Cz the long description would serve the purpose. In the front end we keep changing the label, but it may not be possible to change the backend column name all the time.
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.
Only reason for changing the backend column name is so it matched what we have on the front end. Otherwise we just have to remember that report description (frontend) is the short description (backend) and that epic description (frontend) is long description (backend).
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.
But if you want I can revert all the backend changes
@@ -26,13 +26,13 @@ class WorkBodyParameterSchema(RequestBodyParameterSchema): | |||
required=True, | |||
) | |||
|
|||
short_description = fields.Str( | |||
metadata={"description": "Short description of work"}, | |||
report_description = fields.Str( |
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.
same as below
#1001