Skip to content

Initial product variation logging PoC#801

Open
heddn wants to merge 4 commits into
drupalcommerce:8.x-2.xfrom
heddn:log_product_variations
Open

Initial product variation logging PoC#801
heddn wants to merge 4 commits into
drupalcommerce:8.x-2.xfrom
heddn:log_product_variations

Conversation

@heddn

@heddn heddn commented Sep 19, 2017

Copy link
Copy Markdown

No description provided.

@heddn

heddn commented Sep 19, 2017

Copy link
Copy Markdown
Author

It looks like the following. I'd like feedback on the text of the wording and placement of where to put the UI components of the log. Right now I have it placed on the product edit page.

screenshot_2017-09-19_15-26-28

@heddn

heddn commented Sep 19, 2017

Copy link
Copy Markdown
Author

For the field diffs, I'm using a json serialized string of the original value compared to the current value. Where value is retrieved from the field using getValue()

@heddn heddn changed the title Initial PoC Initial product variation logging PoC Oct 4, 2017
heddn added 2 commits October 5, 2017 11:03
…product_variations

 Conflicts:
	modules/log/commerce_log.module
	modules/log/src/CommerceLogServiceProvider.php
	modules/log/src/Event/ProductVariationChangedFieldsFilterEvent.php

@heddn heddn left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The tests were failing because we now have more events and the hard coded ids in the tests were off. I'm using array_pop now instead.

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.

1 participant