Skip to content

Support profile - move security settings onto separate screen#114

Closed
iandunn wants to merge 1 commit into
trunkfrom
support-account-screen
Closed

Support profile - move security settings onto separate screen#114
iandunn wants to merge 1 commit into
trunkfrom
support-account-screen

Conversation

@iandunn
Copy link
Copy Markdown
Member

@iandunn iandunn commented Dec 7, 2022

WIP

Fixes WordPress/wporg-two-factor#26

Regular Profile:

Screenshot 2023-09-18 at 12 55 55 PM

Forum Profile

Screenshot 2023-09-18 at 12 57 31 PM

@iandunn iandunn self-assigned this Dec 7, 2022
@iandunn
Copy link
Copy Markdown
Member Author

iandunn commented Dec 8, 2022

@dd32, @pkevan, @tellyworth : this pr creates a new https://wordpress.org/support/users/{username}/edit/account/ page. that works in conjunction with the ui-stub branch in wporg-two-factor, which renders the wporg-two-factor/settings block into new page. that block would use REST API requests like Dion is building in WordPress/two-factor#504 to save the 2FA settings, and Core users endpoint to save email/password/language.

the text is just rough stubs and there's no design, but take a look at the code for both branches and let me know if you think this is a good architecture to build on

@pkevan
Copy link
Copy Markdown
Contributor

pkevan commented Dec 12, 2022

I'm not deeply familiar with the profiles part, but seems like a sensible way to approach this initially.

bazza pushed a commit that referenced this pull request Dec 13, 2022
This commits the parts of #114 that don't affect production users, and can therefore be deployed now. Adding a link to this screen and removing the email/password settings from the built-in Edit screen will needs to wait until the WPORG Two Factor UI is done.

The rewrite rule was added in `r19711-dotorg`.

See WordPress/wporg-two-factor#26


git-svn-id: https://meta.svn.wordpress.org/sites/trunk@12321 74240141-8908-4e6f-9713-ba540dce6ec7
@iandunn iandunn force-pushed the support-account-screen branch from 3e3bd92 to e8ea29b Compare December 13, 2022 19:16
@iandunn
Copy link
Copy Markdown
Member Author

iandunn commented Dec 13, 2022

I've committed the parts that we can deploy now in 4db5f38 and r19711-dotorg, so now the branch just has the parts that need to wait until we launch everything for users.

@StevenDufresne
Copy link
Copy Markdown
Contributor

I think we may need another path to security settings.

Logged in, when I click "Edit Profile", I land on https://profiles.wordpress.org/{username}/profile/edit/ which doesn't have any references to security settings. I would have to already know the settings is in our "Forum profiles".

Should we add a section to the General tab that leads directly to 2fa?

Screenshot 2023-09-15 at 2 06 45 PM

I'm not sure if that's the best language or link treatment :).

@pkevan
Copy link
Copy Markdown
Contributor

pkevan commented Sep 15, 2023

We probably also want to change the label/link in the Forum profile from Edit Account to be more descriptive too
Screenshot 2023-09-15 at 08 23 50

@iandunn
Copy link
Copy Markdown
Member Author

iandunn commented Sep 15, 2023

change the label/link in the Forum profile from Edit Account to be more descriptive too

🤔 Do you have any ideas? It was named "Account" because previously the email/password settings were in a section of the profile page named "Account"

Renaming it to "Security" makes sense for the 2FA settings, but I don't think users would expect that for email. Maybe "Account Settings" instead of "Edit Account" ?

@iandunn
Copy link
Copy Markdown
Member Author

iandunn commented Sep 15, 2023

Should we add a section to the General tab that leads directly to 2fa?

What do you think about this?

Screenshot 2023-09-15 at 10 01 34 AM

That way we include "Security", with might catch folks eyes while they're scanning, but it still has "password" and "two-factor authentication". I'm also open to having a sections for each, though.

@StevenDufresne
Copy link
Copy Markdown
Contributor

Yeah, that looks good to me.

@pkevan
Copy link
Copy Markdown
Contributor

pkevan commented Sep 18, 2023

change the label/link in the Forum profile from Edit Account to be more descriptive too

🤔 Do you have any ideas? It was named "Account" because previously the email/password settings were in a section of the profile page named "Account"

Renaming it to "Security" makes sense for the 2FA settings, but I don't think users would expect that for email. Maybe "Account Settings" instead of "Edit Account" ?

It's just labelled Security on WP.com, although I agree it's somewhat confusing when it contains email, although don't think it's a big issue - might be good for consistency.

@iandunn iandunn force-pushed the support-account-screen branch from 77f54ea to 570f31e Compare September 18, 2023 19:02
@iandunn
Copy link
Copy Markdown
Member Author

iandunn commented Sep 18, 2023

🤔 Changing the menu label would also entail changing the rewrite rule and links to the page.

I don't personally think it's worth it, but I'm not opposed to it either. I'd rather not tack that onto this PR, though, do you mind opening another issue for it?

@bazza bazza closed this in 8d6d43c Sep 18, 2023
outdoor2kode pushed a commit to outdoor2kode/wordpress.org that referenced this pull request Jan 28, 2024
@dd32 dd32 deleted the support-account-screen branch February 3, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Account settings on to separate screen

5 participants