Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microbit-foundation/python-editor-v3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.27
Choose a base ref
...
head repository: microbit-foundation/python-editor-v3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 19 commits
  • 132 files changed
  • 3 contributors

Commits on May 1, 2024

  1. Centralize keyboard shortcuts (#1175)

    This also adds two new keyboard shortcuts:
    Save project hex: (Windows) Ctrl+Shift+S; (Mac) Cmd+Shift+S
    Send to micro:bit: (Windows) Ctrl+Shift+E; (Mac) Cmd+Shift+E
    microbit-robert authored May 1, 2024
    Configuration menu
    Copy the full SHA
    bcedfb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2126e74 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Improve error handling for WebUSB issues (#1164)

    Use a dialog to show WebUSB errors with clearer action for the user.
    microbit-robert authored May 3, 2024
    Configuration menu
    Copy the full SHA
    9bfff59 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    e77d65f View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Warn users when using V2 API features with micro:bit V1 (#1177)

    Updates Pyright to a version with the changes from microbit-foundation/pyright#35 and conditionally hides the new messages depending on the connected device.
    
    A new setting can hide the messages. The setting can be flipped from a CodeMirror diagnostic action.
    
    See https://microbit-global.monday.com/boards/1125389526/views/244984/pulses/1434825789
    microbit-robert authored May 23, 2024
    Configuration menu
    Copy the full SHA
    2838da6 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    37da34f View commit details
    Browse the repository at this point in the history
  2. Enable the simulator service worker on beta/staging (#1181)

    This is experimental at this point and is part of investigating PWA
    support for the micro:bit Python Editor.
    microbit-matt-hillsdon authored May 28, 2024
    Configuration menu
    Copy the full SHA
    b727b8a View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. PWA functionality including offline mode (featured flagged) (#1170)

    Notable behaviours:
    - Fallback to English when changing language offline (when the selected language assets aren’t cached).
    - Shows image placeholders for uncached images when offline.
    - The app will automatically trigger a page reload when it detects the service worker has been updated. The service worker is updated when any of the build assets are updated.
    
    There are two levels of feature gating:
    - It's only enabled for microbit-foundation builds to avoid others shipping it accidentally. You can change FEATURE_PWA in the build to change this. We're open to a better system of build-time feature flags if there's interest (at least allowing existing env vars to override would make sense).
    - There's a client side feature flag. You have to set this via `localStorage.setItem("flags", "pwa")` for now if you want to test an actual PWA install. We'll default that flag on to release to the beta after building more confidence internally.
    
    Known issues:
    - The app name is too long for the iOS home screen and is truncated by eliding the space between micro:bit and Python then a .... It works fine when you open it. We'll discuss whether it's reasonable to address this or live with it. It doesn't seem to be related to the colon in micro:bit and the user can customise the app name.
    microbit-robert authored May 30, 2024
    Configuration menu
    Copy the full SHA
    340e5bb View commit details
    Browse the repository at this point in the history
  2. Allow SW scope without a trailing slash (#1184)

    This is something of a compromise and requires a header.
    microbit-matt-hillsdon authored May 30, 2024
    Configuration menu
    Copy the full SHA
    5171377 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    eded0a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Use EventTarget rather than the Node "events" module (#1188)

    This should amount no meaningful change but is a useful preliminary to extracting the device code for reuse.
    
    Incorporates the only meaningful file from https://github.com/DerZade/typescript-event-target/ (with licence details) to save on the dependency.
    microbit-matt-hillsdon authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    506446c View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Translation sync & add pl as preview (#1191)

    * Translation sync & add pl as preview
    * Update for Pyright chunk name fix
    microbit-matt-hillsdon authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    ef6dc21 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    46c2580 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Enable PWA on production (#1195)

    Remove it locally as the SW code bails in that scenario anyway.
    microbit-robert authored Nov 27, 2024
    Configuration menu
    Copy the full SHA
    7d0a576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e9fb88 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. Signature help: restructure async work (#1198)

    sendRequest isn't an async function and it can synchronously throw errors
    so we need something to prevent reentrant updates in the error case.
    
    Otherwise though we don't needed it if we move more work into the state.
    
    I've also calculated line/column ASAP - I'm not sure this is necessary but it
    feels obviously correct / straightforward which is a win in this code.
    microbit-matt-hillsdon authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    9947c9a View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2024

  1. Configuration menu
    Copy the full SHA
    346e4e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fd35e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28baa00 View commit details
    Browse the repository at this point in the history
Loading