Add experiment logs to the monitoring page #48

Merged
0950726 merged 122 commits from feat/experiment-logs into dev 2026-01-28 10:16:00 +00:00
Showing only changes of commit 64dcdc49b3 - Show all commits

View File

@@ -85,7 +85,10 @@ function WarningsList(props: { warnings: EditorWarning[] }) {
<div className={styles.warningGroupHeader}>global:</div>
<div className={styles.warningsList}>
{splitWarnings.global.map((warning) => (
<WarningListItem warning={warning} />
<WarningListItem warning={warning} key={`${warning.scope.id}|${warning.type}` + warning.scope.handleId
? `:${warning.scope.handleId}`
: ""}
/>
))}
{splitWarnings.global.length === 0 && "No global warnings!"}
</div>
@@ -94,7 +97,10 @@ function WarningsList(props: { warnings: EditorWarning[] }) {
<div className={styles.warningGroupHeader}>other:</div>
<div className={styles.warningsList}>
{splitWarnings.other.map((warning) => (
<WarningListItem warning={warning} />
<WarningListItem warning={warning} key={`${warning.scope.id}|${warning.type}` + warning.scope.handleId
? `:${warning.scope.handleId}`
: ""}
/>
))}
{splitWarnings.other.length === 0 && "No other warnings!"}
</div>
@@ -103,7 +109,7 @@ function WarningsList(props: { warnings: EditorWarning[] }) {
);
}
function WarningListItem(props: { warning: EditorWarning }) {
function WarningListItem(props: { warning: EditorWarning, key: string}) {
const jumpToNode = useJumpToNode();
return (