[Fix] 10365 My Accounts Removal#10680
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
darkwing
left a comment
There was a problem hiding this comment.
This looks good per my understanding of the original issue description. Nice work @BboyAkers !
|
Adding @brad-decker as a second reviewer, hopeful that he can confirm this matches his understanding of the issue, and provide more context if necessary. |
ui/app/pages/settings/contact-list-tab/contact-list-tab.component.js
Outdated
Show resolved
Hide resolved
ui/app/pages/settings/contact-list-tab/contact-list-tab.component.js
Outdated
Show resolved
Hide resolved
Gudahtt
left a comment
There was a problem hiding this comment.
Still more dead code to get rid of, and a few lint errors related to that dead code. Getting closer though!
|
Didn't see these changes, sorry! Working on them now 🙂 |
|
@Gudahtt let me know what you think! 🙂 |
ui/app/pages/settings/contact-list-tab/my-accounts/my-accounts.component.js
Outdated
Show resolved
Hide resolved
976fe4d to
0fdb600
Compare
Gudahtt
left a comment
There was a problem hiding this comment.
LGTM! I don't see any more dead code, and I have confirmed that adding local accounts is still possible if you manually enter the address as a contact.
|
This is awesome -- great work @BboyAkers ! I did notice one side-effect that we didn't think of -- if there are no contacts, which is probably the majority of new-ish users, we just have an empty screen: @rachelcope @jakehaugen -- have ideas for text you'd like to see here? |
|
@BboyAkers One small update -- could you implement the "no contacts" language? This is really impressive! |
|
Here's the design for the empty state. |
|
Thanks a ton @rachelcope I'll get crackin on this! |
|
Awesome @BboyAkers, really solid start! A few things:
We're almost there! |
|
Just pushed the changes @darkwing 🙂. Didn't fully center contact list in 'desktop' mode due to the contact container and the contact content container sharing the page. In my other PR. I can make the change to fully center it in desktop mode once this is merged, unless you'd like for me to do it in this PR. Thoughts? Side note: I added the text but it's not in the localization objects. Should I localize it for English and leave it empty for all the other languages for the time being or just leave it as is here? |
darkwing
left a comment
There was a problem hiding this comment.
Hello @BboyAkers ! This PR keeps getting better! :). So the lint issue is a l10n issue, which should be easy to fix!
Per your questions:
- Yeah, we'll need to localize the new text -- simply add it to the English file, then we'll get the remaining localizations
- We should probably get the centering of the "No Contacts" block in this PR for the sake of quality.
1a30872 to
24b5c96
Compare
|
This is 99% of the way there @BboyAkers! Two things:
After we fix these I think this is good to go! |
darkwing
left a comment
There was a problem hiding this comment.
Very last thing we need here is:
https://gist.github.com/darkwing/c14be28bc7c3451ee60be2cf6bd9e22c
which will redirect to the list screen when the a contact is deleted.
72af891 to
3013976
Compare
|
Updated! 🙂 |
darkwing
left a comment
There was a problem hiding this comment.
Wow, this is really excellent @BboyAkers ! Well done!



Fixes: #10365
Explanation: This PR removes
My Accounts string and flow,
CONTACT_MY_ACCOUNTS_ROUTECONTACT_MY_ACCOUNTS_VIEW_ROUTECONTACT_MY_ACCOUNTS_EDIT_ROUTEManual testing steps: