fix(panel,video): dead dialog triggers behind tooltips; dotted composition ids render

HelpTip nested inside a Dialog/AlertDialog trigger puts the trigger's
click handler on the Tooltip root, which renders no DOM — the agents
Spawn item and the KB Reindex-All / Delete-index confirms were dead.
Tooltips now wrap the triggers. The video renderer accepts interior
single dots in composition ids (release-0.25.0) with '..' still
unrepresentable, and propose_video refuses an unrenderable id at
authoring time.
This commit is contained in:
Renn F
2026-07-16 15:47:08 +02:00
parent 225abcf511
commit 0843bbaaaa
5 changed files with 57 additions and 17 deletions
@@ -286,3 +286,14 @@ async def test_propose_video_defaults_input_props_to_empty_dict(
draft = markers.get_video_draft(authoring)
assert draft is not None
assert draft["input_props"] == {}
@pytest.mark.asyncio
async def test_propose_video_rejects_unrenderable_composition_id() -> None:
"""An id the renderer's charset rule would 400 is refused at authoring
time, not at render time days later."""
env = await _actions("developer", "ux_ui").propose_video(
agent_id=uuid4(), **_valid_kwargs(composition_id="release 0.25.0!")
)
assert env.error == "invalid_state"
assert "not renderable" in (env.message or "")