Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/stepper-hover-text-popover.md

This file was deleted.

6 changes: 6 additions & 0 deletions src/common/stepper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sourceacademy/common-stepper

## 0.0.4

### Patch Changes

- 7226fba: Add a `hoverText` `SyntaxProfile` capability: a node type can now show a fixed-text hover popover (e.g. `built-in function print`) alongside its normal inline rendering, without collapsing/replacing that rendering the way `functionValues`'s mu-term does. Unlike a function value's popover (the node's own template, i.e. a body, rendered on demand), this shows a single already-formatted line the language stashed on the node ahead of time — there is no body to expand. A language opts in by listing the node type and the property holding that text in its `SyntaxProfile.hoverText`; `web-stepper` renders the popover generically from the rule, no per-language host code.

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/common/stepper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sourceacademy/common-stepper",
"version": "0.0.3",
"version": "0.0.4",
"packageManager": "yarn@4.18.0",
"description": "Shared, language-agnostic protocol for the Source Academy stepper plugin pair",
"scripts": {
Expand Down