This repository was archived by the owner on Dec 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Release Note #223
Merged
Merged
Release Note #223
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d735e76
initial popup example
andreamah 35e4be3
release note programming done, just needs content
andreamah 4795b7e
release note
andreamah e15f0ff
formatting
andreamah 4afc2e0
fixed title
andreamah b9f3afa
detailed fix
andreamah ea2dfcf
formatting
andreamah 807fd0b
pr feedback
andreamah 748236b
resolved merge conflicts
andreamah 60bf21f
Merge branch 'dev' into users/t-anmah/release-note
andreamah a2973b0
Merge branch 'dev' into users/t-anmah/release-note
andreamah b3dfaa8
formatting
andreamah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// TODO: find a better way of loading html into a string | ||
export const LATEST_RELEASE_NOTE = `<h1>Device Simulator Express Release Notes 👩🏾💻 👨🏾💻 (Feb. 27, 2020)</h1> | ||
<p> | ||
Welcome to the first update to the Device Simulator Express! <u>Please feel free to enable our feature flag in | ||
Settings | ||
(under the setting titled “<b>deviceSimulatorExpress.previewMode</b>” in the User settings)</u>. | ||
</p> | ||
<h2>Changes</h2> | ||
<p> | ||
<h3>Fixes (enabled by default):</h3> | ||
<ul> | ||
<li>Enabled support for “from adafruit_circuitplayground import cp” as an import statement for the CPX and | ||
changed | ||
“New File” template to use this format.</li> | ||
<ul> | ||
<li>Aligns better with newer online tutorials. Best practice for adafruit_circuitplayground library imports | ||
changed with <a href="https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/79">this | ||
PR | ||
in Adafruit’s official repo</a>.</li> | ||
</ul> | ||
<li>State for sensor selection persists.</li> | ||
<li>More reliable dependency installation and more informative setup fail information.</li> | ||
<li>Fixes to Serial Monitor for CPX device deployment.</li> | ||
<li>More robust debugger functionality.</li> | ||
<li>Fixed spelling and clarity errors in documentation and pop-up messages.</li> | ||
</ul> | ||
<h3>New features (only available with feature flag enabled):</h3> | ||
<ul> | ||
<li><u>BBC Micro:bit simulator and debugger – <i>open up a new Micro:bit file, write code for the Micro:bit and | ||
test it out!</u></i> | ||
<ul> | ||
<li>Ability to interact with LEDs, buttons, and sensors.</li> | ||
<li>Includes autocompletion and error flagging.</li> | ||
<li>Supports the following:</li> | ||
<ul> | ||
<li>Classes: | ||
<ul> | ||
<li>display</li> | ||
<li>image</li> | ||
<li>accelerometer</li> | ||
<li>button</li> | ||
</ul> | ||
</ul> | ||
<ul> | ||
<li>Global static functions:</li> | ||
<ul> | ||
<li>sleep()</li> | ||
<li>running_time()</li> | ||
<li>temperature()</li> | ||
</ul> | ||
</ul> | ||
</ul> | ||
<ul> | ||
<li>Includes accessibility considerations for simulation.</li> | ||
<ul> | ||
<li>Has ability to use keyboard for button presses and navigation.</li> | ||
</ul> | ||
</ul> | ||
</ul> | ||
</p> | ||
|
||
<p><b>Happy Hacking! ✨✨🐍🐍🍰</b><br> | ||
      <b><i>- The Device Simulator Express Team</i></b></p>`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// import { Webview } from "vscode"; | ||
import * as vscode from "vscode"; | ||
import { LATEST_RELEASE_NOTE } from "../latest_release_note"; | ||
|
||
export class PopupService { | ||
public static openReleaseNote() { | ||
const panel = vscode.window.createWebviewPanel( | ||
"releaseNote", | ||
"Release Note", | ||
vscode.ViewColumn.One, | ||
{} | ||
); | ||
|
||
panel.webview.html = LATEST_RELEASE_NOTE; | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.