LearnNewsExamplesConnect
Frontmatter
assigneesTanNghiB2303833
createdAtSep 23, 2026, 4:35 PM
updatedAtNov 22, 2026, 6:35 AM
githubUrlhttps://github.com/neomjs/neo/issues/19145
authorneo-opus-ada
commentsCount7
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined2
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 6:35 AM

Pin the range field's value-in-label display

Closed v14.0.0/archive-v14-0-0-chunk-1 enhancementhelp wantedgood first issuecontributor-experiencehacktoberfestaitesting
neo-opus-ada
neo-opus-ada commented on Sep 23, 2026, 4:35 PM

Please comment to claim before starting; check current assignees and linked PRs.

Welcome 👋

Neo.form.field.Range is a slider. With showResultInLabel: true it writes its current value in front of the label, [40] Volume, and keeps it updated as the slider moves. Small, visible behaviour, and no test. A friendly first spec.

This is a good first issue. It needs Node.js and a clone of this repository: no Docker, no AI setup. The #18985 first-timer reservation ended on 2026-10-31, so it is open for anyone: claim it with a comment.

Set up once: follow Set up the engine from a clone, including npm run bundle-browser-deps: without it the unit suite selects zero tests.

Where things live

  • Source: src/form/field/Range.mjs. getLabelEl() and getInputEl() return the label's and the input's virtual-DOM nodes.
  • New test file: test/playwright/unit/form/field/Range.spec.mjs
  • Pattern to copy: test/playwright/unit/form/field/InputWidth.spec.mjs (creating a field in a unit test)
  • Tip: Range extends the number field, which needs one main-thread stub while your tests run. Install it in test.beforeAll, only if it is missing, and remove it in test.afterAll, exactly as test/playwright/unit/apps/colors/ViewportController.spec.mjs does in its test.beforeAll: const main = Neo.ns('Neo.main', true); if (!main.DomEvents) { main.DomEvents = {registerDisabledInputChars() {}, unregisterDisabledInputChars() {}}; /* delete it again in afterAll */ }. Do not put it at the top of the file: another spec imports the real DomEvents, and npm run test-unit then stops with Namespace collision in unitTestMode for Neo.main.DomEvents.

What to cover

Case Expected
labelText: 'Volume', showResultInLabel: true, value: 40 the label text is '[40] Volume'
then value = 60 the label text is '[60] Volume'
showResultInLabel not set the label text is just the labelText
any range field the input's type is 'range', and its class list is exactly ['neo-rangefield-input']
defaults clearable and useSpinButtons are false

Done when

  • test/playwright/unit/form/field/Range.spec.mjs exists, following the pattern file's setup.
  • One test(...) per table row.
  • Test-only: if the field disagrees with a row, say so on this issue before changing src/.
  • npm run test-unit -- test/playwright/unit/form/field/Range.spec.mjs passes.
  • npm run test-unit passes.

Out of scope

tickmarks, the useInputEvent DOM listener, and styling.

While you wait for review

You just pinned one small piece of a multi-threaded application engine: in Neo.mjs your app's code runs inside a web worker, and the main thread only paints. Two things worth ten minutes:

  • See the part nobody expects. Run npm run build-themes -- -n -e dev -t all and npm run server-start, open apps/workstation/, and drag a tab out of the browser window. It becomes its own OS window, still running, with the same component instances and the same worker. Benefits: Introduction explains why that is possible.
  • Your coding agent can go much further here. The skills this repository's AI maintainers work with are published on npm as neo-agent-skills, and they need no Knowledge Base and no Memory Core. With Claude or GPT beside you, the help wanted issues are within reach after this one.
Maintainer notes

Curated under #18985 (Hacktoberfest 2026). Found work: no unit or component spec names this module on dev (2026-09-23). Rows 1–4 were run in the unit environment: '[40] Volume', '[60] Volume', 'Plain', type range, and ['neo-rangefield-input']. Live latest-open sweep: the latest open issues at 2026-09-23T14:31Z; no equivalent. A2A: no claim on this scope. Memory Core: no prior decision.

Origin Session ID: 3be453e4-8b04-4865-be62-4cff34f4e0c6

manuaudio
manuaudio Nov 3, 2026, 1:41 AM

I’m taking this one. I’ll add the focused Range unit spec for the documented label, update, input, and default cases, then run the targeted and full unit commands.

Assisted by Codex.

  • 2026-11-05T10:20:03Z @neo-opus-grace cross-referenced by #15000

@neo-opus-ada - 2026-11-05T10:41:32Z

Premise read by its author, 2026-11-05 (backlog sweep #15000), at dev 6ddbed1bd5. src/form/field/Range.mjs exists, and test/playwright/unit/form/field/Range.spec.mjs still doesn't.

Verdict: holds. @manuaudio, you claimed this on 11-03, so I've assigned it to you to keep anyone else off it. Your plan in that comment matches the ticket.

⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code

  • 2026-11-05T10:41:37Z @neo-opus-ada assigned to @manuaudio
  • 2026-11-07T02:56:51Z @neo-gpt-euclid cross-referenced by #14230
  • 2026-11-09T12:46:05Z @neo-opus-vega cross-referenced by #20655
  • 2026-11-15T16:26:51Z @neo-fable-mnemosyne cross-referenced by #20892

@neo-fable-mnemosyne - 2026-11-15T16:54:35Z

@manuaudio, a claim holds an issue for three days, and this one has been quiet since Nov 3 with no pull request, so I am releasing it. If you are still on it, a comment here takes it back, no questions asked.

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)

  • 2026-11-15T16:54:44Z @neo-fable-mnemosyne unassigned from @manuaudio
  • 2026-11-15T20:00:52Z @github-actions cross-referenced by PR #21042
  • 2026-11-15T21:30:02Z @github-actions cross-referenced by PR #21027
  • 2026-11-16T14:03:34Z @github-actions cross-referenced by PR #21044
  • 2026-11-16T16:19:05Z @github-actions cross-referenced by PR #21128
  • 2026-11-16T17:53:18Z @github-actions cross-referenced by PR #21134
  • 2026-11-16T17:59:29Z @github-actions cross-referenced by PR #21034
  • 2026-11-17T19:57:30Z @github-actions cross-referenced by PR #21279
  • 2026-11-18T00:47:40Z @github-actions cross-referenced by PR #21191
  • 2026-11-18T12:03:18Z @github-actions cross-referenced by PR #21267
  • 2026-11-18T12:04:08Z @github-actions cross-referenced by PR #21320
  • 2026-11-18T12:04:30Z @github-actions cross-referenced by PR #21321

@joshuaallgaier2-cmd - 2026-11-18T19:26:39Z

I'll take this

@github-actions - 2026-11-18T19:27:53Z

Thanks, @joshuaallgaier2-cmd! You already hold #21359. From five merged pull requests you can hold two at once. Please claim this again once a slot opens.

An automatic reply. How claims work [QUARANTINED_URL: github.com]

  • 2026-11-18T21:17:22Z @neo-opus-ada cross-referenced by #21403
  • 2026-11-19T05:26:47Z @github-actions cross-referenced by PR #21438
  • 2026-11-19T14:54:47Z @github-actions cross-referenced by PR #21035
  • 2026-11-19T17:59:22Z @github-actions cross-referenced by PR #21489
  • 2026-11-19T20:55:15Z @github-actions cross-referenced by PR #21405
  • 2026-11-20T00:21:17Z @github-actions cross-referenced by PR #21536
  • 2026-11-20T18:20:50Z @github-actions cross-referenced by PR #21570
  • 2026-11-21T13:09:17Z @github-actions cross-referenced by PR #21782
  • 2026-11-21T14:30:59Z @github-actions cross-referenced by PR #21786
TanNghiB2303833
TanNghiB2303833 Nov 21, 2026, 3:50 PM

I would like to work on this issue. I have reviewed src/form/field/Range.mjs and the unit test setup in test/playwright/unit/form/field/InputWidth.spec.mjs, and verified the Neo.main.DomEvents stub locally. I am ready to add the unit test suite in test/playwright/unit/form/field/Range.spec.mjs.

  • 2026-11-21T14:50:35Z @github-actions assigned to @TanNghiB2303833

@github-actions - 2026-11-21T14:50:36Z

Thanks for claiming this, @TanNghiB2303833, and welcome back! Assigned to you — you can start now.

Your claim reserves this issue for 3 days (any comment here resets the clock; we still merge the first approve-worthy PR if another lands first or a claim goes quiet).

An automatic reply. How claims work [QUARANTINED_URL: github.com]

TanNghiB2303833 cross-referenced by PR #21859 on Nov 22, 2026, 5:02 AM
tobiu referenced in commit 0caba8b - "test(form): add unit tests for Range field value-in-label display (#19145) (#21859) on Nov 22, 2026, 6:35 AM
tobiu closed this issue on Nov 22, 2026, 6:35 AM