feat(FN-3746): document plugin API coverage and add focus-visible states
Completes Step 6 of FN-3746 by adding `focus-visible` states to ProjectCard and ProjectOverview CSS components, and documenting the Even Realities plugin API coverage in the project docs. Fusion-Task-Id: FN-3746
This commit is contained in:
@@ -1473,16 +1473,33 @@ describe("fn pi extension (runnable structured-output regression slice)", () =>
|
||||
const tool = api.tools.get("fn_research_run")!;
|
||||
const researchStore = store.getResearchStore();
|
||||
|
||||
setTimeout(() => {
|
||||
const promoteRun = () => {
|
||||
const queuedRun = researchStore.listRuns({ limit: 1 })[0];
|
||||
if (!queuedRun) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
researchStore.updateRun(queuedRun.id, { status: "running" });
|
||||
researchStore.updateRun(queuedRun.id, {
|
||||
status: "completed",
|
||||
results: { summary: "done", findings: [{ heading: "h1", content: "f1", sources: [] }], citations: [] },
|
||||
});
|
||||
return true;
|
||||
};
|
||||
|
||||
setTimeout(() => {
|
||||
if (promoteRun()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const retryTimer = setInterval(() => {
|
||||
if (!promoteRun()) {
|
||||
return;
|
||||
}
|
||||
clearInterval(retryTimer);
|
||||
}, 25);
|
||||
|
||||
setTimeout(() => clearInterval(retryTimer), 500);
|
||||
}, 25);
|
||||
|
||||
const result = await tool.execute(
|
||||
|
||||
Reference in New Issue
Block a user