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

Update activity stream, #9768, #9769 #10662

Merged
merged 4 commits into from
Mar 26, 2024

Conversation

njkim
Copy link
Collaborator

@njkim njkim commented Mar 6, 2024

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description of Change

Update the active stream view not to returns "Update" (such as tile create) when the tiles are created with the resource creation.

Issues Solved

#9768, #9769

Checklist

  • Unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Ticket Background

  • Sponsored by:
  • Found by: @
  • Tested by: @
  • Designed by: @

Further comments

@njkim njkim requested a review from apeters March 6, 2024 23:25
Copy link
Member

@jacobtylerwalls jacobtylerwalls left a comment

Choose a reason for hiding this comment

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

+1 tested. Checked importing business data on the CLI, some AfS workflows. Looks good!

@@ -228,9 +228,11 @@ def save(self, *args, **kwargs):
context = kwargs.pop("context", None)
transaction_id = kwargs.pop("transaction_id", None)
super(Resource, self).save(*args, **kwargs)
self.save_edit(user=user, edit_type="create", transaction_id=transaction_id)
Copy link
Member

Choose a reason for hiding this comment

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

I think as the ticket author pointed out it's possible that moving this call to solve #9769 is not necessary if we do the filtering in #9768 as in this PR, but I still like the idea of doing it in case the another caller somewhere else in the application chooses not to filter in the same precise way.

@jacobtylerwalls jacobtylerwalls merged commit 9e2e532 into dev/7.6.x Mar 26, 2024
4 checks passed
@jacobtylerwalls jacobtylerwalls deleted the 9768_update_activity_stream branch March 26, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants