Skip to content

Releases: RaspberryPiFoundation/editor-ui

v0.13.0

02 Mar 18:08
89b7bf3
Compare
Choose a tag to compare

Added

  • Added release notes to README.md (#354)
  • Pagination on 'Your projects' page (#338)

Changed

  • Switched processing implementation from p5.py to py5.py (#364)
  • Font size only scales code, text output and error messages rather than the whole UI (#365)
  • Refactored font size settings to use React ContextProvider (#366)
  • Clicking 'login to save' triggers save/remix after successful login (#368)
  • Renaming project, adding new file or renaming file triggers autosave immediately (#368)
  • Bump http-cache-semantics from 4.1.0 to 4.1.1 (#361)
  • Removed redundant file indices (#377)
  • Use GraphQL API to fetch project index page (#376)

Fixed

  • Make sure accessDeniedData login button redirects to /projects (#356)
  • Allowed HTML projects to load (#362)
  • Scrollbar flash on first load (#358)
  • Scrollbar appearing in visual output (#358)
  • Sense hat visual output height (#358)
  • Web component font size (#358)
  • Web component icon visibility (#358)
  • Renaming project, adding new file or renaming file always triggers autosave (#368)
  • Use HtmlRunner for html projects (#378)
  • Accessibility Fixes (#373, #382, #383)
  • Hide the codemirror cm-widgetBuffer (#384, #395)
  • Height discrepancy of the tab containers (#385)

v0.12.0

27 Jan 11:08
b6d0105
Compare
Choose a tag to compare

Changed

  • Simplified the URL structure to replace project type (#347)
  • Upgrade react-router to v6
  • Bump json5 from 1.0.1 to 1.0.2 (#321)

Fixed

  • Show p5 error messages in the user interface (#346)
  • Get review apps working (#351)

v0.11.0

17 Jan 16:02
66b38aa
Compare
Choose a tag to compare

Added

  • Styling of the projects list (#317)
  • Ability to collapse and expand the left hand file pane (#316)
  • Plausible event tracking for left hand file pane (#325)
  • Last updated field added to the projects table (#319)
  • Message for empty state on projects (#327)
  • Rename project action on project index page (#324)
  • Context menu for project index page actions on mobile (#324)
  • Danger button styling (#330)

Changed

  • Change port number to fix 'no consent token' error (#326)
  • Long file names truncated rather than scrolling in left hand file pane (#316, #337)
  • Tab scrollbars only appear when necessary (#331)
  • Added merge=union gitattribute for this file (#339)

Fixed

  • Make sure button text is always centered (#328)
  • Make theme and font size persist across all pages of the app (#329)
  • Make dismissing the Beta banner persist across all pages of the app (#329)
  • Touch area of icon-only buttons (#330, #336)
  • Delete project action on project index page (#330)
  • Refactored project list loading to allow loading states to be shown (#330)
  • Removed unneeded scrollbars on the editor and output panels (#331)
  • Make Your projects page background extend below the fold (#334)

v0.10.0

06 Jan 15:13
1153a99
Compare
Choose a tag to compare

Added

  • Plausbile event tracking for login, remix, save and code run (#250)
  • Message prompting users to login or save if they make non-autosaved changes (#291)
  • Unit tests for the autosave trigger (#291)
  • Project not found and access denied modals shown on project loading error (#298)
  • Styling for small buttons (#303)
  • Project page header and styling (#314)
  • Ability to open and focus files from the left hand file pane (#301)
  • Ability to close file tabs (#301)
  • Validation to prevent file names containing spaces (#301)

Changed

  • Bump terser from 4.8.0 to 4.8.1 (#143)
  • Updated buttons and tabs styling (#296)
  • Updated icons (#296)
  • Bump engine.io from 6.2.0 to 6.2.1 (#272)
  • Increased clickable area for tabs (#299)
  • Bump decode-uri-component from 0.2.0 to 0.2.2 (#295)
  • File tab bar scrolls rather than wraps (#301)
  • Long file names no longer wrap in tab bar (#301)

Fixed

  • Moved FileMenu click handler to MenuItem for better keyboard support (#300)
  • Touch target size on button to open file context menu (#301)

v0.9.0

12 Dec 15:07
ec76910
Compare
Choose a tag to compare

Added

  • Beta banner and modal (#266)
  • Autosave icons and status (#268)
  • Autosave project to database if user logged in and owns project (#270)
  • Autosave project changes to local storage if user not logged in or does not own project (#270)
  • Modal to prompt login or download if save button clicked when not logged in (#276)
  • Ability to rename any project (#284)

Changed

  • Refactor API thunks and save logic (#268)
  • Removed file menu for main.py (#269)
  • Refactored project saving (#270), loading (#270) and remixing (#276) into redux asynchronous thunks
  • Creates remix if save button clicked when logged-in user does not own project (#276)
  • Send user access token with requests to load a project from the API (#280)
  • Redirect users to the home page when they log out (#280)
  • Trigger project reloading when the user changes (#280)
  • Removed remix functionality from project name (#284)
  • Flow for renaming the project (#284)
  • Updated icons (#285)

Fixed

  • Contrast on file menu hover in dark mode (#269)
  • Stylelint errors (#269)
  • Copy changes (#269)

v0.8.0

15 Nov 10:30
60c3529
Compare
Choose a tag to compare

Added

  • Copyright and contributing documentation (#207)
  • Errors when running code now include the name of the file in which the error occurred (#239)
  • Sentry integration (#252)
  • Ability to download a project (#255)
  • FileMenu dropdown (#139)
  • Confimatory message when a project has been saved (#262)

Changed

  • Switch wrapping in the editor to horizontal scrolling for long lines (#242)
  • Replaced hard-coded text with translatable strings (#253)
  • Launch rename modal via redux (#139)

Fixed

  • Allow users to save their code as anew project from the root page when logged in (#259)
  • Stop users renaming main.py (#203)
  • Style fixes on the 'My Projects' page (#265)
  • Remove project name, download and save buttons from the header on the 'My Projects' page and when project is still loading (#265)

v0.7.0

21 Oct 17:20
6fcd749
Compare
Choose a tag to compare

Changed

  • Set indentation to 4 spaces to match PEP8 standard (#246)
  • Update Github workflow not to strip dots from the git ref, and remove test dependency for main and ref deploys (#244, #248)

v0.6.0

21 Oct 14:03
af34f38
Compare
Choose a tag to compare

Added

  • Github action for checking if changelog updated (#189)
  • The web component runCompleted event now returns duration: null if the host page's tab loses focus during the code run (#192)
  • Global nav on editor site with link to raspberrypi.org and account menu (#195)
  • Footer on editor site with links to Privacy, Cookies, Accessibility and Safeguarding policies (#200)
  • Cookie banner on the editor site (#206) but not in the embedded viewer (#231)
  • Unit tests for login button and 'useProject' hook (#211)
  • Script for Google Tag Manager to be used on the standalone editor site (#225)
  • Indentation markers in the editor (#237)
  • Ability to switch between split and tabbed output views on the editor site and in the web component (#234)

Changed

  • Upgraded to Jest 29 (#211)
  • Updated Editor site title and logo (#220)
  • Updated Codemirror and related dependencies to their latest versions (#221)
  • Update build process to strip non-alphanumeric characters from the branch name (#222)

Fixed

  • Styling of Astro Pi orientation reset button on editor site (#202)
  • Updated text output font to display emojis correctly (#221)

v0.5.0

23 Sep 10:42
Compare
Choose a tag to compare

Added

  • Functionality for renaming a file (#193)
  • Styling for a secondary button (#193)

Changed

  • Layout and spacing in the Mission Zero Control Panel so web component fits in a narrower container (#191)
  • Updated modal styling (#193)

v0.4.0

13 Sep 11:29
e99d9af
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Added

  • Option to specify that the visual output tab should be present on page load via a query string, otherwise only the text output is present (#182)
  • Automatically add and switch focus to the visual output tab when a visual library is imported during the code run (#182)

Changed

  • Update styling of embedded player to stack the visual and text output (#182, #187)
  • Update styling on the sense_hat visual output (#174)
  • Update build workflow with a reusable job to update preview, staging, and prod (#176)
  • Change deployment to use specific AWS endpoint, and deploy releases to /releases/... and branches to /branches/.. (#177)

Fixed

  • Stop button contrast in dark mode (#182)
  • Surfacing errors promptly when stopping p5 code runs (#182)
  • ESLint (#175) and stylelint (#178) errors