LivelyKernel / LivelyKernel/lively.next

Very strange behavior (perhaps not a bug)

Open
#1,723 4 comments 0 reactions 1 assignee View on GitHub

@merryman is already working on this.

Since Mar 2, 2025.

:lady_beetle: bug
Dominant language
JavaScript
Stars
90
Forks
20
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The Galyleo Top Bar has a text field, version, that I just added. The value of the text field is given by `Version ${galyleoVersion}` I'd originally set (in config.js) `galyleoVersion=1.0`, but, after the text field rendered as Version 1, I changed it to `galyleoVersion='1.0'`

But it still renders as "Version 1" in the Top Bar! (see the screenshot). When I evaluate the string in either the code browser or the JavaScript workspace, I get "Version 1.0" as expected. But when I inspect the morph, the text string for the morph is "Version 1"

```
$world.execCommand("open browser", {moduleName: "studio/top-bar.cp.js", packageName: "engageLively--galyleo-dashboard", codeEntity: "submorphs"});
```

**To Reproduce**
`part(GalyleoTopBar).openInWorld()`.
Commit a2f55ac3e48ccaf9bf52fafbc631d852e0c9844d on https://github.com/engageLively/galyleo-dashboard/

**Screenshots**

![Image](https://github.com/user-attachments/assets/96adb881-3751-4a47-9e05-397fa68ffa48)

**Setup**
Please delete non-applicable items!

- Windows
- Linux

**Version**: Please paste the lively.next commit on which the problem occurred here (use the copy button of the Version Checker in the bottom left corner).

154aad128403ef1d7b29332cc5449fb7a6f4a549

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.