📝 Update changelog
Some checks failed
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.10) (push) Failing after 6m39s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.11) (push) Failing after 4m44s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.12) (push) Failing after 5m2s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.9) (push) Failing after 4m31s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.10) (push) Failing after 5m1s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.11) (push) Failing after 2m23s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.12) (push) Failing after 4m30s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.9) (push) Failing after 4m19s
Pyright Lint / Pyright Lint (pydantic-v1) (push) Failing after 4m33s
Ruff Lint / Ruff Lint (push) Successful in 25s
Pyright Lint / Pyright Lint (pydantic-v2) (push) Failing after 4m47s
Site Deploy / publish (push) Failing after 4m9s
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.9) (push) Has been cancelled

This commit is contained in:
noneflow[bot]
2025-03-09 13:25:31 +00:00
parent 09343c332e
commit 871636ced9
11 changed files with 34 additions and 19 deletions

View File

@ -4,7 +4,6 @@ import clsx from "clsx";
import "./styles.css";
import type { Resource } from "@/libs/store";
import { fetchRegistryData } from "@/libs/store";
@ -64,9 +63,10 @@ export function Form({
const currentStepNames = formItems[currentStep].items.map(
(item) => item.name
);
if (currentStepNames.every((name) => result[name]))
{setCurrentStep(currentStep + 1);}
else {}
if (currentStepNames.every((name) => result[name])) {
setCurrentStep(currentStep + 1);
} else {
}
};
const onPrev = () => currentStep > 0 && setCurrentStep(currentStep - 1);
const onNext = () =>

View File

@ -55,7 +55,7 @@ function MessageBox({
dangerouslySetInnerHTML={{
__html: msg.replace(/\n/g, "<br/>").replace(/ /g, "&nbsp;"),
}}
/>
/>
</div>
);
}

View File

@ -6,7 +6,6 @@ import { pickTextColor } from "@/libs/color";
import type { Tag } from "@/types/tag";
import "./styles.css";
export type Props = Tag & {

View File

@ -12,8 +12,12 @@ import type { IconName } from "@fortawesome/fontawesome-common-types";
export const getValidStatus = (resource: Resource) => {
switch (resource.resourceType) {
case "plugin":
if (resource.skip_test) {return ValidStatus.SKIP;}
if (resource.valid) {return ValidStatus.VALID;}
if (resource.skip_test) {
return ValidStatus.SKIP;
}
if (resource.valid) {
return ValidStatus.VALID;
}
return ValidStatus.INVALID;
default:
return ValidStatus.MISSING;