Skip to content

Commit 11cb236

Browse files
authored
Merge branch 'develop' into feat/auto-detect-language
2 parents c92d2b8 + dd21cca commit 11cb236

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Issues with these labels are a great place to start!
5353
- [Need Steps to Reproduce](https://github.com/processing/p5.js-web-editor/labels/Needs%20Steps%20to%20Reproduce)
5454
- [Ready for Work](https://github.com/processing/p5.js-web-editor/labels/Ready%20for%20Work)
5555

56-
A breakdown of what each label means can be found in the [Preparing an Issue Guide](#preparing-an-issue).
56+
A breakdown of what each label means can be found in the [Preparing an Issue Guide](../contributor_docs/preparing_an_issue.md).
5757

5858
When approaching these issues, know that it's okay to not know how to fix an issue! Feel free to ask questions about to approach the problem. We are all here to learn and make something awesome. Someone from the community will help you out, and asking questions is a great way to learn about the p5.js editor, its file structure, and development process.
5959

@@ -83,7 +83,7 @@ Before submitting a pull request, make sure that:
8383
---
8484

8585
## Ideas for Getting Started
86-
* Use the [p5.js Editor](https://editor.p5js.org)! Find a bug? Think of something you think would add to the project? Reference the [Preparing an Issue Guide](#preparing-an-issue) and open an issue.
86+
* Use the [p5.js Editor](https://editor.p5js.org)! Find a bug? Think of something you think would add to the project? Reference the [Preparing an Issue Guide](../contributor_docs/preparing_an_issue.md) and open an issue.
8787
* Expand an existing issue. Sometimes issues are missing steps to reproduce, or need suggestions for potential solutions. Sometimes they need another voice saying, "this is really important!"
8888
* Try getting the project running locally on your computer by following the [installation steps](./../contributor_docs/installation.md).
8989
* Look through the documentation in the [developer docs](../contributor_docs/) and the [development guide](./../contributor_docs/development.md). Is there anything that could be expanded? Is there anything missing?

client/modules/IDE/components/Header/Nav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ const AuthenticatedUserMenu = () => {
378378
{t('Nav.Auth.MyAssets')}
379379
</MenubarItem>
380380
<MenubarItem id="account-settings" href="/account">
381-
{t('Preferences.Settings')}
381+
{t('Nav.Auth.MyAccount')}
382382
</MenubarItem>
383383
<MenubarItem id="account-logout" onClick={() => dispatch(logoutUser())}>
384384
{t('Nav.Auth.LogOut')}

client/modules/User/components/AccountForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function AccountForm() {
176176
</Field>
177177
)}
178178
<Button type="submit" disabled={submitting || invalid}>
179-
{t('AccountForm.SubmitSaveAllSettings')}
179+
{t('AccountForm.SaveAccountDetails')}
180180
</Button>
181181
</form>
182182
)}

client/modules/User/components/AccountForm.unit.test.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ describe('<AccountForm />', () => {
6161
it('handles form submission and calls updateSettings', async () => {
6262
subject();
6363

64-
const saveAllSettingsButton = screen.getByRole('button', {
65-
name: /save all settings/i
64+
const saveAccountDetailsButton = screen.getByRole('button', {
65+
name: /save account details/i
6666
});
6767

6868
const currentPasswordElement = screen.getByLabelText(/current password/i);
@@ -81,7 +81,7 @@ describe('<AccountForm />', () => {
8181
});
8282

8383
await act(async () => {
84-
fireEvent.click(saveAllSettingsButton);
84+
fireEvent.click(saveAccountDetailsButton);
8585
});
8686

8787
await waitFor(() => {
@@ -92,8 +92,8 @@ describe('<AccountForm />', () => {
9292
it('Save all setting button should get disabled while submitting and enable when not submitting', async () => {
9393
subject();
9494

95-
const saveAllSettingsButton = screen.getByRole('button', {
96-
name: /save all settings/i
95+
const saveAccountDetailsButton = screen.getByRole('button', {
96+
name: /save account details/i
9797
});
9898

9999
const currentPasswordElement = screen.getByLabelText(/current password/i);
@@ -110,12 +110,12 @@ describe('<AccountForm />', () => {
110110
value: 'newPassword'
111111
}
112112
});
113-
expect(saveAllSettingsButton).not.toHaveAttribute('disabled');
113+
expect(saveAccountDetailsButton).not.toHaveAttribute('disabled');
114114

115115
await act(async () => {
116-
fireEvent.click(saveAllSettingsButton);
116+
fireEvent.click(saveAccountDetailsButton);
117117
await waitFor(() => {
118-
expect(saveAllSettingsButton).toHaveAttribute('disabled');
118+
expect(saveAccountDetailsButton).toHaveAttribute('disabled');
119119
});
120120
});
121121
});

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

translations/locales/en-US/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,13 @@
367367
"CurrentPasswordARIA": "Current Password",
368368
"NewPassword": "New Password",
369369
"NewPasswordARIA": "New Password",
370-
"SubmitSaveAllSettings": "Save All Settings"
370+
"SaveAccountDetails": "Save Account Details"
371371
},
372372
"AccountView": {
373373
"SocialLogin": "Social Login",
374374
"SocialLoginDescription": "Use your GitHub or Google account to log into the p5.js Web Editor.",
375375
"Title": "p5.js Web Editor | Account Settings",
376-
"Settings": "Account Settings",
376+
"Settings": "My Account",
377377
"AccountTab": "Account",
378378
"AccessTokensTab": "Access Tokens"
379379
},

0 commit comments

Comments
 (0)