Skip to content

Feature/roadmap 3.2#40

Merged
hexplus merged 43 commits into
mainfrom
feature/roadmap-3.2
Jun 26, 2026
Merged

Feature/roadmap 3.2#40
hexplus merged 43 commits into
mainfrom
feature/roadmap-3.2

Conversation

@hexplus

@hexplus hexplus commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Description

Works the roadmap feature list. An audit first found that 6 of the 8 items were already shipped (the codebase had moved past the roadmap), so this PR verifies those in place and implements the two genuine gaps that remained — released under 3.3.2.

New (the two gaps):

  • Name-based action registryregisterAction(name, fn) / getAction(name), plus an action(el, "name", param) string overload, so actions can be applied/looked up by name (plugins, declarative usage) instead of importing each one. The built-ins (clickOutside, longPress, copyOnClick, autoResize, trapFocus) are auto-registered, and the registry is shared across duplicate runtime copies (globalThis first-copy-wins, matching the reactive core). — src/core/rendering/action.ts
  • bindField supports <select multiple> — a change on a multiple-select now sets the bound field to the array of selected option values (via selectedOptions) instead of just the first; single selects, text inputs, and checkboxes are unchanged. — src/ui/form.ts

Verified already-shipped (no code change, confirmed in place): bindField, show() typing (show<T extends Element>), shorthand tag syntax, toast severity (.info/.success/.warning/.error), router KeepAlive (KeepAlive + KeepAliveRoute + RouterOptions.keepAlive), defineComponent docs.

Docs: CHANGELOG 3.3.2 gains an "Added" section for the two features; TODO.md roadmap section marked complete with per-item locations.

Tests: tests/action-registry.test.ts (5) and tests/select-binding.test.ts (3), written test-first. Full suite: 323 files / 3962 pass.

Known follow-up: reactive write-back of an array to a <select multiple>'s selected options (the read side is done) — noted in TODO/roadmap.

Related Issue

Closes #

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • I have read CONTRIBUTING.md
  • My code builds without errors
  • I have tested my changes
  • I have updated documentation if needed

hexplus added 30 commits March 28, 2026 15:11
@hexplus hexplus merged commit 6cd0989 into main Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant