The robot log follows the newest line
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, typescript
- Domain
- frontend
Research direction
Start in target/sim/simulator.ts at log(), where each line is appended without scrolling, and check the log element's CSS for the scroll container. The rule to implement is: scroll to the newest line only when the view is already at the bottom, and leave the scroll position alone once the player scrolls up. Add a case to the editor test suite that appends past the visible area, asserts the follow, then scrolls up, appends again, and asserts the view is unchanged.
Written by the indexing model from the issue text.
Description
Job to be done
When my program runs, I want the robot log to show the newest line, so I can see what the robot does now without scrolling.
Player value
The player sees what happens, when it happens.
What the code does today (develop, 2026-11-24)
log()intarget/sim/simulator.tsadds each line at the bottom and does not scroll. Measured in headless Chromium with the log's own CSS: at the bottom, the same lines stay in view when new ones come.- The log keeps its newest 1000 lines (#283).
Acceptance criteria
- When the newest line is in view, the log follows it.
- When the player has scrolled up, the lines they read stay in view.
- A test in the editor suite checks both.
Parent: #63
Related: #283
Priority: P3
- Dominant language
- Java
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 42
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from halisonworks/mod-codeling
-
area: docs good first issue P2 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
halisonworks/mod-codeling#273 ·
Maintainers usually reply within 1 day
-
Server admin guideOpenarea: docs P2 type: feature
Difficulty 2/5 Half a day Newbie friendliness 72/100
halisonworks/mod-codeling#272 ·
Maintainers usually reply within 1 day
-
area: docs good first issue P2 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
halisonworks/mod-codeling#271 ·
Maintainers usually reply within 1 day
-
area: build good first issue P3 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
halisonworks/mod-codeling#268 ·
Maintainers usually reply within 1 day
-
area: server enhancement P3
Difficulty 4/5 3-5 days Newbie friendliness 28/100
halisonworks/mod-codeling#287 ·
Maintainers usually reply within 1 day
All issues in halisonworks/mod-codeling
Similar issues
-
hermes-queue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
chrisalunlloyd2-sudo/mindpalace#430 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
unitycatalog/unitycatalog#2363 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days