Skip to content

Commit 467842d

Browse files
make the help desk available to regular ce users (#1099)
## Closes: RaspberryPiFoundation/digital-editor-issues#300
1 parent 54dca61 commit 467842d

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## Unreleased
88

9+
10+
## [0.28.6] - 2024-10-29
11+
12+
### Changed
13+
14+
- added "Help" link to the information panel in the sidebar as the first link
15+
916
## [0.28.5] - 2024-10-25
1017

1118
### Fixed
@@ -63,6 +70,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6370
- Build to include public files (#1112)
6471
- Persisting choice of tabbed/split view when running `python` code (#1114)
6572

73+
6674
## [0.27.1] - 2024-10-01
6775

6876
### Fixed

src/components/Menus/Sidebar/InfoPanel/InfoPanel.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ import "../../../../assets/stylesheets/InfoPanel.scss";
77
const InfoPanel = () => {
88
const { t } = useTranslation();
99
const links = [
10+
{
11+
id: "help",
12+
text: t("sidebar.help"),
13+
href: "https://help.editor.raspberrypi.org/hc/en-us",
14+
},
1015
{
1116
id: "feedback",
1217
text: t("sidebar.feedback"),

src/components/Menus/Sidebar/InfoPanel/InfoPanel.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe("Info panel", () => {
3434
});
3535

3636
test("Links are rendered", () => {
37+
expect(screen.queryByText("sidebar.help")).toBeInTheDocument();
3738
expect(screen.queryByText("sidebar.feedback")).toBeInTheDocument();
3839
expect(screen.queryByText("sidebar.privacy")).toBeInTheDocument();
3940
});
@@ -43,5 +44,9 @@ describe("Info panel", () => {
4344
"href",
4445
"https://form.raspberrypi.org/f/code-editor-feedback",
4546
);
47+
expect(screen.queryByText("sidebar.help")).toHaveAttribute(
48+
"href",
49+
"https://help.editor.raspberrypi.org/hc/en-us",
50+
);
4651
});
4752
});

src/utils/i18n.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ i18n
397397
"Our Code Editor is a tool to help young people learn to code. We have only included functions that are simple and safe to use. That's why, for example, links to other websites are not allowed.",
398398
instructions: "Project steps",
399399
feedback: "Feedback",
400+
help: "Help",
400401
privacy: "Privacy",
401402
cookies: "Cookies",
402403
accessibility: "Accessibility",

0 commit comments

Comments
 (0)