Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error message for ImportErrors #1105

Merged
merged 81 commits into from
Oct 21, 2024

Conversation

KristinaDudnyk
Copy link
Contributor

@KristinaDudnyk KristinaDudnyk commented Oct 15, 2024

Closes: #309

CHANGELOG.md Outdated
### Changed

- Updated the ImportErrors message
- In ErrorMassege component added the way to display html elements in string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight typo in ErrorMessage

Comment on lines 307 to 308
const articleLink =
"https://help.editor.raspberrypi.org/hc/en-us/articles/30841379339924-What-Python-libraries-are-available-in-the-Code-Editor";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably fine for now, but I'm wondering whether in the future we might want to link this off to different locales with translations of the article 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @loiswells97 for you review!!
Locales were added

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just a thought for the future sorry, not something we want right now... I just checked and it looks like it's only the en-us locale that exists on the help site for now, en-GB for example gives a 404

Copy link
Contributor

@loiswells97 loiswells97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, nice one ✅

@KristinaDudnyk KristinaDudnyk merged commit fd604a8 into main Oct 21, 2024
8 checks passed
@KristinaDudnyk KristinaDudnyk deleted the 309-update-error-message-for-importerrors branch October 21, 2024 12:53
@loiswells97 loiswells97 mentioned this pull request Oct 22, 2024
loiswells97 added a commit that referenced this pull request Oct 22, 2024
## [0.28.0] - 2024-10-22 

### Added

- PyodideWorker setup for the editor (#1104)
- Enabling `pyodide` support in the web component (#1090)
- `Pyodide` `matplotlib` support (#1087)
- Tests for running simple programs in `pyodide` and `skulpt` (#1100)
- Fall back to `skulpt` if the host is not `crossOriginIsolated` (#1107)
- `Pyodide` `seaborn` support (#1106)
- `Pyodide` module caching (#1113)

### Changed

- Upgrade to `webpack 5` (#1096)
- Bump `pyodide` to `v0.26.2` (#1098)
- Updated the ImportErrors message (#1105)
- In ErrorMessage component added the way to display html elements in
string (#1105)

### Fixed

- Dynamic runner switching with more than one `python` file (#1097)
- Pyodide running the correct file (`main.py`) when there are multiple
`python` files (#1097)
- Build to include public files (#1112)
- Persisting choice of tabbed/split view when running `python` code
(#1114)
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.

3 participants