Multiple Emails UI and Integration#27379
Conversation
6c1cab3 to
94803ca
Compare
c1e2b05 to
9e6f35f
Compare
9e6f35f to
58c1e89
Compare
58c1e89 to
35c079a
Compare
9df74ae to
7c341c9
Compare
artonge
left a comment
There was a problem hiding this comment.
Finally ready for review ! 😄
apps/settings/src/components/PersonalInfo/EmailSection/AddButton.vue
Outdated
Show resolved
Hide resolved
apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
Outdated
Show resolved
Hide resolved
apps/settings/src/components/PersonalInfo/EmailSection/Verification.vue
Outdated
Show resolved
Hide resolved
apps/settings/src/components/PersonalInfo/EmailSection/Verification.vue
Outdated
Show resolved
Hide resolved
artonge
left a comment
There was a problem hiding this comment.
From a UX perspective, the current UX allows the user to not have a primary email address. That might not be desirable. But maybe I am missing context.
I would not allow the deletion of the primary email but I would allow setting an additional email address as primary, then the user can delete its now additional email addresses if he wants to.
Also, I would have put the "+ Add" button closer to the additional address fields.
But it looks nice overall :)
The issue is that one might want to edit the primary. |
Refined the primary email deletion UX by automatically setting the next additional email as the the primary email :) as suggested by @skjnldsv
I can definitely make some changes, could you elaborate on where you'd like the button? This was based on Jan's suggestions so @jancborchardt any more suggestions would be welcome :) current visual below for reference |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
juliusknorr
left a comment
There was a problem hiding this comment.
Tested and code looks good 👍
|
Please rebase and LGTM 🚀 |
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
|
Failure unrelated |
|
/backport to stable22 |
|
The backport to stable22 failed. Please do this backport manually. |
|
@Pytal can you backport this manually please? :) |
You bet ;) |

To Do
apps/settings/templates/settings/personal/persona.info.phpfederationsettingsview.jsfederationscopemenu.jsandfederationsettingsview.js@nextcloud/vuecomponent styles to match non-Vue federation controlsVerificationapps/settings/js/settings/personalInfo.jsline157isn't used anymore as it is only shown when both email is not empty and scope is public but scope is never public as found inlib/public/Accounts/IAccountManager.phpcheckValidity())lib/public/Accounts/IAccountManager.php🐞 Bugs
Note: The
TODOcomments are out-of-scope for this PR and will be addressed separately in future PRsContributes to #26866