mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: clearer, disambiguated tool names across all surfaces (#520)
Renames 18 ambiguous or hard-to-search tool names so image tools self-qualify like the other modalities ("Compress" becomes "Compress Image"), and cleans up a few awkward names. Propagated across search (constants.ts), display (en.ts + 20 locales), the OpenAPI base spec + 20 locale specs, and the docs tool-page headings in 21 languages. Removes the duplicate "Normalize Audio" summary shared by the video and audio endpoints. Tool ids and routes are unchanged, so no API paths or bookmarks break.
This commit is contained in:
@@ -612,7 +612,7 @@ test.describe("Pipeline Builder - execution progress", () => {
|
||||
// rejects the bare defaults (width unset / target size 0).
|
||||
await addToolStep(page, "Resize", 1);
|
||||
await page.locator("#resize-width").fill("100");
|
||||
await addToolStep(page, "Remove Metadata", 2);
|
||||
await addToolStep(page, "Remove Image Metadata", 2);
|
||||
await addToolStep(page, "Compress", 3);
|
||||
await page.getByRole("button", { name: "Quality", exact: true }).click();
|
||||
|
||||
@@ -791,7 +791,7 @@ test.describe("Batch + Pipeline - multi-file workflow", () => {
|
||||
test("3 images through 2-step pipeline produces all results", async ({ loggedInPage: page }) => {
|
||||
await gotoAutomate(page);
|
||||
|
||||
await addToolStep(page, "Remove Metadata", 1);
|
||||
await addToolStep(page, "Remove Image Metadata", 1);
|
||||
await addToolStep(page, "Compress", 2);
|
||||
// Compress defaults to an invalid Target Size of 0; switch to Quality mode.
|
||||
await page.getByRole("button", { name: "Quality", exact: true }).click();
|
||||
@@ -829,7 +829,7 @@ test.describe("Batch + Pipeline - multi-file workflow", () => {
|
||||
test.setTimeout(90_000);
|
||||
await gotoAutomate(page);
|
||||
|
||||
await addToolStep(page, "Remove Metadata", 1);
|
||||
await addToolStep(page, "Remove Image Metadata", 1);
|
||||
await addToolStep(page, "Compress", 2);
|
||||
// Compress defaults to an invalid Target Size of 0; switch to Quality mode.
|
||||
await page.getByRole("button", { name: "Quality", exact: true }).click();
|
||||
@@ -865,7 +865,7 @@ test.describe("Batch + Pipeline - multi-file workflow", () => {
|
||||
await gotoAutomate(page);
|
||||
|
||||
await addToolStep(page, "Resize", 1);
|
||||
await addToolStep(page, "Remove Metadata", 2);
|
||||
await addToolStep(page, "Remove Image Metadata", 2);
|
||||
await addToolStep(page, "Compress", 3);
|
||||
|
||||
// Upload 2 images
|
||||
|
||||
Reference in New Issue
Block a user