Closed (fixed)
Project:
Ray Enterprise Translation
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Jun 2018 at 18:33 UTC
Updated:
18 Sep 2018 at 12:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
EPortela commentedComment #3
EPortela commentedComment #4
EPortela commentedComment #5
EPortela commentedComment #6
EPortela commentedAdded global setting to override profile settings.
Comment #7
EPortela commentedComment #8
EPortela commentedComment #9
EPortela commentedComment #10
EPortela commentedComment #11
EPortela commentedComment #12
penyaskitoIf we would like to ignore it by default, we would need to write an upgrade path that sets this as TRUE, so existing users don't see a change in the current behavior. That will need tests too.
These are inconsistent. Let's use the same name and type.
I'm not sure if this is a UX pattern we want to follow, because it would be the first time. Usually we have a setting, and the profile can override that.
For me the options would be "Use default settings", "no", "yes".
Isn't this service already injected?
Isn't this service already injected?
If this is unrelated let's leave it there.
Are we sure we want to do this, instead of having an extra metadata key?
Why is this necessary?
Comment #13
EPortela commentedThanks for reviewing the previous patch. This new patch addresses all of the points you made in the review. With point 7, we talked to Josh and he said he wanted to include the bundle type as well. Since TMS does not have another field for 'bundle type' or anything similar we have to include it inside of 'content type'.
Comment #15
EPortela commentedComment #16
EPortela commentedAdded test to make sure update path is working.
Comment #17
penyaskitoThe keys don't, but the values need to be passed through
$this->t()Comment #18
penyaskitoUpdated hook_update_N after latest commits.
Fixed precedent comment.
Fixed some comment standards.
Tests are green, and looks like there's coverage for the upgrade path. Not sure if there are enough tests for when the option is false, or overridden in the profile, but I think it's good.
Thanks!
Comment #19
penyaskitoAdded tests for the options themselves.
Comment #20
penyaskitoTests passed as expected. Thanks Edward!
Comment #22
penyaskitoCommitted f6bf4ac and pushed to 8.x-2.x. Thanks!