Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Initial product variation logging PoC#801

Open
heddn wants to merge 4 commits intodrupalcommerce:8.x-2.x from
heddn:log_product_variations
Open

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

Conversation

@heddn
Copy link

@heddn heddn commented Sep 19, 2017

No description provided.

Copy link
Author

heddn commented Sep 19, 2017
edited
Loading

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

Copy link
Author

heddn commented Sep 19, 2017

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
Copy link
Author

@heddn heddn left a comment

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /