Backport fixes from SaaS (#5187)

# Description of Changes
- Add new skeleton loader style type (block - nothing's currently using
it but it might as well be available)
- Make Dev API overridable (and set to the new docs that actually work
while Swagger docs don't work properly)
This commit is contained in:
James Brunton
2025-12-09 11:45:01 +00:00
committed by GitHub
parent fa4d2bc09a
commit c980ee10c0
3 changed files with 48 additions and 23 deletions
@@ -1,6 +1,7 @@
import { useMemo } from "react";
import LocalIcon from "@app/components/shared/LocalIcon";
import { useTranslation } from "react-i18next";
import { devApiLink } from "@app/constants/links";
import SplitPdfPanel from "@app/tools/Split";
import CompressPdfPanel from "@app/tools/Compress";
import OCRPanel from "@app/tools/OCR";
@@ -784,7 +785,7 @@ export function useTranslatedToolCatalog(): TranslatedToolCatalog {
description: t("home.devApi.desc", "Link to API documentation"),
categoryId: ToolCategoryId.ADVANCED_TOOLS,
subcategoryId: SubcategoryId.DEVELOPER_TOOLS,
link: "https://stirlingpdf.io/swagger-ui/5.21.0/index.html",
link: devApiLink,
synonyms: getSynonyms(t, "devApi"),
supportsAutomate: false,
automationSettings: null