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

Feature/actions history #259

Merged
merged 4 commits into from
Jun 15, 2022
Merged

Feature/actions history #259

merged 4 commits into from
Jun 15, 2022

Conversation

annashamray
Copy link
Contributor

@annashamray annashamray commented Jun 8, 2022

@annashamray annashamray added wip Work in progress and removed wip Work in progress labels Jun 8, 2022
@annashamray annashamray requested review from vaszig and JostCrow June 8, 2022 13:50
@annashamray annashamray force-pushed the feature/actions-history branch from 1e4533b to c694d70 Compare June 9, 2022 12:09
@@ -28,7 +28,7 @@ def get_change_message(fields=None, form=None):
form, form.changed_data
)

return _("Changed {changed_fields}.").format(
return _("Changed: {changed_fields}.").format(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it's really necessary, but we could add here a different message when the user doesn't make an actual change to any field (like django admin's message).

actions

admin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching it! I think there is no point in logging form submission without the actual change, so I excluded such cases from logging. Now it should be fixed.

@annashamray annashamray merged commit 19a8d8c into develop Jun 15, 2022
@annashamray annashamray deleted the feature/actions-history branch June 15, 2022 07:53
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.

3 participants