feat(adminui): {{equip}}-aware hover + {{equip}}. leaf completion in the script editor

This commit is contained in:
Joseph Doherty
2026-06-10 08:04:51 -04:00
parent cadd6c60b7
commit c7041a24e7
5 changed files with 121 additions and 2 deletions
@@ -16,6 +16,8 @@ public sealed class HoverSignatureTests
=> Task.FromResult<IReadOnlyList<string>>(System.Array.Empty<string>());
public Task<ScriptTagInfo?> GetTagInfoAsync(string path, CancellationToken ct)
=> Task.FromResult(path == "Line1.Speed" ? new ScriptTagInfo("Line1.Speed", "Tag", "Double", "MAIN-modbus") : null);
public Task<IReadOnlyList<string>> GetEquipmentRelativeLeavesAsync(string? filter, CancellationToken ct)
=> Task.FromResult<IReadOnlyList<string>>(new[] { "Speed" });
}
[Fact] public async Task Hover_on_GetTag_returns_member_markdown()