Miscellaneous Fixes (#21033)

* catch failed image embedding in triggers

* move scrollbar to edge on platform aware dialog drawers

* add i18n key

* show negotiated mse codecs in console on error

* try changing rocm

* Improve toast consistency

* add attribute area and score to detail stream tooltip

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Josh Hawkins
2025-11-25 07:34:20 -06:00
committed by GitHub
parent 2a9c028f55
commit 3bbe24f5f8
17 changed files with 136 additions and 46 deletions

View File

@@ -104,12 +104,14 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
if (modelState == "complete") {
toast.success(t("toast.success.trainedModel"), {
position: "top-center",
closeButton: true,
});
setWasTraining(false);
refreshDataset();
} else if (modelState == "failed") {
toast.error(t("toast.error.trainingFailed"), {
position: "top-center",
closeButton: true,
});
setWasTraining(false);
}
@@ -182,6 +184,7 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
setWasTraining(true);
toast.success(t("toast.success.trainingModel"), {
position: "top-center",
closeButton: true,
});
}
})
@@ -193,6 +196,7 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
toast.error(t("toast.error.trainingFailedToStart", { errorMessage }), {
position: "top-center",
closeButton: true,
});
});
}, [model, t]);

View File

@@ -219,7 +219,9 @@ export default function EventView({
position: "top-center",
action: (
<a href="/export" target="_blank" rel="noopener noreferrer">
<Button>View</Button>
<Button>
{t("export.toast.view", { ns: "components/dialog" })}
</Button>
</a>
),
},