-
Notifications
You must be signed in to change notification settings - Fork 974
Converts AutofillAddressPanel into redux component #9490
Conversation
onSave () { | ||
appActions.addAutofillAddress(this.props.currentDetail, this.props.originalDetail) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why removing this.props.currentDetail
? This will cause save not working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because this is this WIP and I need to check some things before finishing this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the current status of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is done, but we need to find a way to fix IME problem
const originalDetail = currentWindow.getIn(['autofillAddressDetail', 'originalDetail'], Immutable.Map()) | ||
|
||
const props = {} | ||
// Used in renderer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you will also need to set
props.currentDetail = currentDetail
props.originalDetail = originalDetail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't want to do that, let's discuss it more on the call
6e6312c
to
a863d3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will introduce the problem of #9017
app/autofill.js
Outdated
@@ -15,16 +15,16 @@ module.exports.init = () => { | |||
|
|||
module.exports.addAutofillAddress = (detail, guid) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guid
arg here can be removed now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
test/contents/autofillTest.js
Outdated
.waitUntil(function () { | ||
return this.getAppState().then((val) => { | ||
console.log(val.value.autofill.addresse) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgot to remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
a863d3b
to
94a2942
Compare
Not sure what you meant by that |
just like this |
@darkdh if I understand correctly this PR will cause a regression for thing that was fixed in #9017, because I removed this part 4102e95#diff-590c7f19ab835ddb769d5c3e5b227ab5R51 ? |
yeah, but in this PR. Adding it back doesn't solve the issue because lots of things also changed |
Yeah we can't just add that part back, because we are connected to the store now and it will not work, so we need to find another approach of how to fix this. |
Will try to find a way how to fix it, added back label WIP |
@darkdh can you please provide STR how to trigger this problem, because I tried it on my machine and I can't reproduce it, autofill dialog is not auto-dismissing |
@NejcZdovc you need an input method which requires selecting character for a certain symbol combination like Chinese or Japanese. |
I use |
Yes the issue gets back. Also I added another test plan (l10n) to the first post. ref #9045 |
fa21adb
to
8a495f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
ref={(nameOnAddress) => { this.nameOnAddress = nameOnAddress }} /> | ||
spellCheck='false' | ||
ref={(ref) => { this.nameOnAddress = ref }} | ||
defaultValue={this.props.name} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neat pick. The order is different than others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
8a495f8
to
fc54b2d
Compare
Resolves brave#9444 Auditors: @bsclifton @bridiver Test Plan:
fc54b2d
to
57d207a
Compare
One slight issue on deleting the candidate. STR:
Actual result: just conversion candidate pulldown disappears and Expected result: @NejcZdovc would you mind solving this issue as it is a regression? thanks! |
Submitter Checklist:
git rebase -i
to squash commits (if needed).Resolves #9444
Auditors: @bsclifton @bridiver @darkdh
Test Plan:
Test Plan (l10n):
ひらがな
mode)about:autofill
brave
Reviewer Checklist:
Tests