Skip to content

refactor(ui): explicit-dep highlight effect + Tauri→Wails prose - #402

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-ui/rig-2199-effect-discipline
Open

refactor(ui): explicit-dep highlight effect + Tauri→Wails prose#402
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-ui/rig-2199-effect-discipline

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

S1 (RIG-2199): convert the MarkdownText highlight-debounce effect to
createEffect(on([code, lang, () => props.inline], apply)), mirroring the
MessageStream on(deps, apply) shape. Tracks all three implicit reactive
reads explicitly so the v1-safe prep is 1:1 with Solid 2's split effects;
inline is included defensively (structural per instance) so the guard can
never read a stale value. Debounce/onCleanup semantics unchanged.

S3 (RIG-2201): replace the stale "Tauri" comments with Wails at the six
real prose sites (App.tsx, stub-data.ts, live/client.ts, live/connection.ts,
markdown/highlighter.ts); the runtime binding is @wailsio/runtime. Fixture
strings and the deliberate daemon-transport.test.ts note left unchanged.

Refs RIG-2199, RIG-2201

Co-authored-by: Matt Wilkinson matt@sealedsecurity.com

S1 (RIG-2199): convert the MarkdownText highlight-debounce effect to
createEffect(on([code, lang, () => props.inline], apply)), mirroring the
MessageStream on(deps, apply) shape. Tracks all three implicit reactive
reads explicitly so the v1-safe prep is 1:1 with Solid 2's split effects;
inline is included defensively (structural per instance) so the guard can
never read a stale value. Debounce/onCleanup semantics unchanged.

S3 (RIG-2201): replace the stale "Tauri" comments with Wails at the six
real prose sites (App.tsx, stub-data.ts, live/client.ts, live/connection.ts,
markdown/highlighter.ts); the runtime binding is @wailsio/runtime. Fixture
strings and the deliberate daemon-transport.test.ts note left unchanged.

Refs RIG-2199, RIG-2201

Co-authored-by: Matt Wilkinson <matt@sealedsecurity.com>
@linear-code

linear-code Bot commented Aug 19, 2026

Copy link
Copy Markdown

RIG-2199

RIG-2201

@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-ui-rig-2199-effect-d.compass-eng-docs.pages.dev

Deployed from compass-ui/rig-2199-effect-discipline at f13507f.

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