Skip to content

Commit 1e97599

Browse files
authored
Remove Twitter account linking documentation (#1802)
Twitter account linking functionality has been completely removed from both the UI and backend. This PR updates the documentation to reflect these changes and removes all related screenshots. **Changes made:** - Removed all Twitter account linking documentation including the entire linking and unlinking sections from profile settings. - Updated 2FA configuration docs to remove Twitter as a recovery option. - Updated privacy policy and data request documentation to remove Twitter references. - Removed Twitter connect functionality from shared components. - Cleaned up 8 unused screenshot images (7 Twitter-related and 1 unused GitHub disconnect image). - Updated 5 screenshots to reflect the current UI without Twitter linking support. **Files modified:** - `content/getting-started/managing-your-npm-user-account/managing-your-profile-settings.mdx` - removed Twitter linking sections - `content/getting-started/managing-your-npm-user-account/requesting-your-data.mdx` - removed Twitter account reference - `content/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication.mdx` - removed Twitter recovery option - `content/policies/privacy.mdx` - removed Twitter data collection references - `src/shared.js` - removed Twitter connect functionality - Updated screenshots: `connect-github.png`, `github-remove.png`, `github-success.png`, `link-github-account.png`, `recover-account.png` - Deleted screenshots: `connect-twitter.png`, `twitter-authorize.png`, `twitter-disconnect.png`, `twitter-login.png`, `twitter-remove.png`, `twitter-success.png`, `link-twitter-account.png`, `github-disconnect.png` **Manual testing:** Verify all documentation pages render correctly without broken links or Twitter references. Check the following pages in the local development server or staging environment: - `/getting-started/managing-your-npm-user-account/managing-your-profile-settings` - should only show GitHub linking options - `/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication` - should only mention GitHub for account recovery - `/getting-started/setting-up-your-npm-user-account/recovering-your-2fa-enabled-account` - support ticket section should only mention GitHub - `/getting-started/setting-up-your-npm-user-account/receiving-a-one-time-password-over-email` - support ticket section should only mention GitHub - `/policies/privacy` - should not reference Twitter data collection - `/getting-started/managing-your-npm-user-account/requesting-your-data` - should not list Twitter account in personal details Confirm all updated screenshots display properly and reflect the current UI state. **Test results:** No new automated tests added as this is a documentation-only change. Existing linting and formatting checks pass successfully.
1 parent b8298f9 commit 1e97599

File tree

18 files changed

+4
-41
lines changed

18 files changed

+4
-41
lines changed

content/getting-started/managing-your-npm-user-account/managing-your-profile-settings.mdx

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ From the web, you can change the following user profile settings:
1616
- Password
1717
- Full name
1818
- Link GitHub Account
19-
- Link Twitter Account
2019
- Email address added to package metadata
2120
- Two-factor authentication status
2221

@@ -46,24 +45,6 @@ From the web, you can change the following user profile settings:
4645

4746
<Screenshot src="/getting-started/managing-your-npm-user-account/github-success.png" alt="Screenshot of linking from Account Setting with successfully linked GitHub account" />
4847

49-
### Linking your npm and Twitter accounts
50-
51-
1. On the account settings page, you will find a button to link your Twitter account. Click that.
52-
53-
<Screenshot src="/getting-started/managing-your-npm-user-account/connect-twitter.png" alt="Screenshot of linking from Account Setting without any accounts linked" />
54-
55-
2. If you are not currently logged in to Twitter you will be prompted to go through the authentication flow. Click "Log in"
56-
57-
<Screenshot src="/getting-started/managing-your-npm-user-account/twitter-login.png" alt="Twitter login form" />
58-
59-
3. After successfully logging in, or if you already had an active browser sessions, you will be prompted to "Authorize app", click the button.
60-
61-
<Screenshot src="/getting-started/managing-your-npm-user-account/twitter-authorize.png" alt="Landing page to authorize the installation of the npm account linking app" />
62-
63-
4. You will be redirected to npm and the link will show as successful in your settings.
64-
65-
<Screenshot src="/getting-started/managing-your-npm-user-account/twitter-success.png" alt="Screenshot of linking from Account Setting with successfully linked Twitter account" />
66-
6748
### Removing your GitHub account from npm
6849

6950
1. On the account settings page, you will find a button to remove your GitHub account. Click that.
@@ -72,14 +53,6 @@ From the web, you can change the following user profile settings:
7253

7354
_Note: Clicking remove will only remove the link from your npm account. You need to `revoke` permissions from your [GitHub app authorization settings](https://github.com/settings/apps/authorizations) to permanently remove the integration from your GitHub account_
7455

75-
### Removing your Twitter account from npm
76-
77-
1. On the account settings page, you will find a button to remove your GitHub account. Click that.
78-
79-
<Screenshot src="/getting-started/managing-your-npm-user-account/twitter-remove.png" alt="Screenshot of linking from Account Setting with a cursor hovering over remove button" />
80-
81-
_Note: Clicking remove will only remove the link from your npm account. You need to `revoke` permissions from your [Twitter connect apps management page](https://twitter.com/settings/connected_apps) to permanently remove the integration from your Twitter account_
82-
8356
## Managing user account profile settings from the command line
8457

8558
<Note>

content/getting-started/managing-your-npm-user-account/requesting-your-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edit_on_github: false
55

66
You can export and review the metadata that npm stores about your personal account. The export is an archive containing the following information.
77

8-
1. Your personal details such as username, email address, full name, linked Twitter / GitHub accounts, masked Personal Access Tokens (PAT) and the organisations that you are a member of.
8+
1. Your personal details such as username, email address, full name, linked GitHub account, masked Personal Access Tokens (PAT) and the organisations that you are a member of.
99
2. Metadata of all the packages that you have access to.
1010
3. Each individual version of packages that you have published to npm.
1111

content/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ If you have enabled 2FA auth-and-writes, authentication will be handled automati
146146

147147
## Configuring account recovery options
148148

149-
When you enable 2FA on your npm user account, we strongly recommend you link your GitHub and/or Twitter accounts to your npm user account. In the event you lose access to your 2FA device and recovery codes, these linked accounts can be used to verify your identity and expedite the recovery of your npm account.
149+
When you enable 2FA on your npm user account, we strongly recommend you link your GitHub account to your npm user account. In the event you lose access to your 2FA device and recovery codes, this linked account can be used to verify your identity and expedite the recovery of your npm account.
150150

151151
1. <>{shared['user-login'].text}</>
152152

@@ -161,13 +161,8 @@ When you enable 2FA on your npm user account, we strongly recommend you link you
161161
<Screenshot src="/getting-started/setting-up-your-npm-user-account/link-github-account.png" alt="Screenshot showing Link GitHub account button" />
162162

163163
4. On the authorization page, verify all information looks correct. Then click **Authorize npm account link**.
164-
5. To [link your Twitter][advanced-twitter-setup] account, on the account settings page, under "Linked Accounts & Recovery Option", click **Link with Twitter**.
165164

166-
<Screenshot src="/getting-started/setting-up-your-npm-user-account/link-twitter-account.png" alt="Screenshot showing Link Twitter account button" />
167-
168-
6. On the authorization page, verify all information looks correct. Then click **Authorize app**.
169-
170-
The Twitter or GitHub account is now linked to your npm account. To remove the link to either account, you can click the **Remove** button next to the account you want to remove from your npm account.
165+
The GitHub account is now linked to your npm account. To remove the link, you can click the **Remove** button next to the account.
171166

172167
[about-two-factor-authentication]: /about-two-factor-authentication
173168
[authorization-and-writes]: /about-two-factor-authentication#authorization-and-writes
@@ -186,4 +181,3 @@ The Twitter or GitHub account is now linked to your npm account. To remove the l
186181
[feitian]: https://www.ftsafe.com/
187182
[configuring-account-recovery-options]: /configuring-two-factor-authentication#configuring-account-recovery-options
188183
[advanced-github-setup]: managing-your-profile-settings#linking-your-npm-and-github-accounts
189-
[advanced-twitter-setup]: /managing-your-profile-settings#linking-your-npm-and-twitter-accounts

content/policies/privacy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ You do not have to give your personal or legal name to create an npm account. Yo
119119

120120
If you sign up for an account, then npm will publish account data for the whole world to see on user pages [like this one](https://www.npmjs.com/~kemitchell). npm also publishes account data through the npm public registry, which is available for everyone to see, and Enterprise registries that npm hosts for others to find with commands like npm owner ls tap.
121121

122-
If you give npm a personal name or names on social media like [GitHub](https://github.com/) and [Twitter](https://twitter.com/) through the website, like when you include this on your profile or user page, npm publishes that data along with the email address and user name for the account. You don't have to give npm a personal name or any social media names, and you can remove this data at any time by updating your user page.
122+
If you give npm a personal name or names on social media like [GitHub](https://github.com/) through the website, like when you include this on your profile or user page, npm publishes that data along with the email address and user name for the account. You don't have to give npm a personal name or any social media names, and you can remove this data at any time by updating your user page.
123123

124124
npm uses your email to:
125125

src/shared.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ const shared = {
8989
If you have previously linked a GitHub account to your npm account, select <strong>Connect to GitHub</strong>.
9090
This will help our support team verify your account.
9191
</li>
92-
<li>
93-
If you have previously linked a Twitter account to your npm account, select{' '}
94-
<strong>Connect to Twitter</strong>. This will help our support team verify your account.
95-
</li>
9692
</Ul>
9793
),
9894
},
4.2 KB
Loading
Binary file not shown.
Binary file not shown.
5.06 KB
Loading
6.79 KB
Loading

0 commit comments

Comments
 (0)