diff --git a/app/Http/Controllers/IntegrationController.php b/app/Http/Controllers/IntegrationController.php index 4d2079b3..82e92477 100644 --- a/app/Http/Controllers/IntegrationController.php +++ b/app/Http/Controllers/IntegrationController.php @@ -5,7 +5,6 @@ use App\Support\Content\ContentRepository; use App\Support\Content\IntegrationCatalog; use App\Support\Localization\Locales; -use Illuminate\Http\Request; use Illuminate\Support\Arr; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\App; @@ -15,34 +14,29 @@ /** * @phpstan-type Icon array{src: string, width: int, height: int} - * @phpstan-type Summary array{slug: string, name: string, publisher: string, tier: string, categories: list, platforms: list, closedSource: bool, tagline: string, keywords: list, icon: Icon|null} - * @phpstan-type Filters array{q: string|null, category: string|null, platform: string|null, tier: string|null} + * @phpstan-type Summary array{slug: string, name: string, publisher: string, tier: string, group: string, closedSource: bool, tagline: string, icon: Icon|null} */ class IntegrationController extends Controller { private const array TIERS = ['official', 'partner', 'community']; // The registry names the OS a TablePro app runs on; the site names the app. - private const array PLATFORMS = ['macos' => 'mac', 'ios' => 'ios', 'ipados' => 'ios']; + private const array PLATFORMS = ['macos' => 'mac', 'linux' => 'linux', 'ios' => 'ios', 'ipados' => 'ios']; private const array NETWORK = ['none', 'local', 'internet']; private const array PAYMENT = ['free', 'optional', 'paid']; - private const int QUERY_LENGTH = 100; - private const string IMAGES = '/images/integrations/'; - public function index(Request $request, ContentRepository $content, IntegrationCatalog $catalog): Response + public function index(ContentRepository $content, IntegrationCatalog $catalog): Response { $locale = App::getLocale(); $page = $content->page('integrations/index', $locale); - $listed = $this->listed($catalog, $page, $content, $locale); return Inertia::render('Integrations/Index', [ 'content' => Arr::except($page, ['taglines', 'show']), - 'integrations' => $listed, - 'filters' => $this->filters($request, $listed), + 'integrations' => $this->listed($catalog, $page, $content, $locale), ]); } @@ -94,16 +88,21 @@ private function listed(IntegrationCatalog $catalog, array $page, ContentReposit continue; } + // The hub groups an entry under its first category the content file labels, in the registry's order. + $group = array_values(array_intersect($integration['categories'], $categories))[0] ?? null; + + if ($group === null) { + continue; + } + $listed[] = [ 'slug' => $slug, 'name' => $integration['name'], 'publisher' => $integration['publisher']['name'], 'tier' => $this->tier($integration), - 'categories' => $this->known($integration['categories'], $categories), - 'platforms' => $this->platforms($integration['platforms']), + 'group' => $group, 'closedSource' => $integration['closedSource'] === true, 'tagline' => $tagline, - 'keywords' => array_values(array_filter($integration['keywords'] ?? [], 'is_string')), 'icon' => $this->image($integration['icon']['128'] ?? null), ]; } @@ -126,30 +125,6 @@ private function taglines(array $page): array return array_filter($taglines, fn(mixed $tagline): bool => is_string($tagline) && trim($tagline) !== ''); } - /** - * @param list $listed - * @return Filters - */ - private function filters(Request $request, array $listed): array - { - $value = function (string $key, string $field) use ($request, $listed): ?string { - $value = $request->query($key); - $present = array_merge(...array_map(fn(array $entry): array => (array) $entry[$field], $listed)); - - return is_string($value) && in_array($value, $present, true) ? $value : null; - }; - - $q = $request->query('q'); - $q = is_string($q) ? trim(mb_substr(trim($q), 0, self::QUERY_LENGTH)) : ''; - - return [ - 'q' => $q !== '' ? $q : null, - 'category' => $value('category', 'categories'), - 'platform' => $value('platform', 'platforms'), - 'tier' => $value('tier', 'tier'), - ]; - } - /** * @param array $integration * @param array $page @@ -182,6 +157,7 @@ private function detail(array $integration, array $page, IntegrationCatalog $cat 'platforms' => $this->platforms($integration['platforms']), 'versions' => [ 'mac' => $this->text($versions['macos'] ?? null), + 'linux' => $this->text($versions['linux'] ?? null), 'ios' => $this->text($versions['ios'] ?? $versions['ipados'] ?? null), ], 'host' => is_array($host) ? [ diff --git a/docs/rebuild/design/design-system.md b/docs/rebuild/design/design-system.md index 737aff74..45941274 100644 --- a/docs/rebuild/design/design-system.md +++ b/docs/rebuild/design/design-system.md @@ -1750,32 +1750,34 @@ None of these pages is indexed (`noindex`). The single robots tag comes from the ### 8.21 Integrations hub (`/integrations`, every locale) +Rebuilt 2026-11-08 on the feature-page grid. + ``` -PageHeader H1 · lead · Build an integration ↗ (docs) - IntegrationFilters: Search · Category · TablePro app · Type · [Show results] -p role=status "{count} integrations" -IntegrationList one row per entry, Official first; or EmptyState "No integrations match" · Clear filters → -#publish How to submit ↗ · Listing policy ↗ (the registry on GitHub) · owners' names and logos line +Hero H1 · one sentence · Build an integration ↗ (docs) +#{category} one band per category, in the order the sorted list first reaches it (ai-clients, command-line, …) + cols 1–3: the category label cols 4–12: ruled rows, mark 40 · name 20px · tagline · "By {publisher}" or "{tier}, by {publisher}" +#publish closing band: one sentence · How to submit ↗ · Listing policy ↗ · the owners' names and logos line ``` -- **The one page with search and filters**, by the owner's decision of 2026-10-10. §8.9's "no filter" rule still holds for the blog. -- One filter function serves the server render and the browser. Without JavaScript the form reloads the page with the query; with it, results follow each change and the address bar is replaced, never pushed. The canonical stays `/integrations`. -- Another language lists an entry only once its tagline there is translated from the current English summary. Each row links the English detail page with "(English)". +- No search and no filters while the registry is short; add them back past about twenty entries (owner, 2026-11-08). +- An entry sits under its first category the content file labels, in the registry's order. Official first, then by name, inside each band. +- Another language lists an entry only once its tagline there is translated from the current English summary. Each row links the English detail page with "(English)"; the name's link covers the row. ### 8.22 Integration page (`/integrations/{slug}`, English only) +Rebuilt 2026-11-08 on the feature-page grid. + ``` -Breadcrumbs Integrations / {name} -cols 1-8 mark 40 · H1 {name} · lead {summary} · By {publisher} · type Badge · Closed source · Archived +Hero Integrations / {name} · mark 40 · H1 {name} · lead {summary} · the description under it Callout warning when archived · install action by type (button ↗, or a Homebrew CodeBlock) · Source code ↗ -cols 9-12 Card "Details": Publisher · Category · Works with · TablePro app · License · Listed · Last checked -#about description paragraphs, as text -#screenshots CellGrid, 2 columns from 768 -#uses "What it uses": TablePro features (docs ↗) · Reads · Changes · Callouts for lowered Safe Mode, internet, account, cost -#support Report a problem ↗ (registry issue form) · Get help from {publisher} ↗ · Documentation ↗ · Callout when not Official +#details term rows: Made by · Type · Category · Works with · TablePro app (Mac, Linux, iPhone & iPad, each with its version) · License · Listed · Last checked +#screenshots 2 columns from 640, only when the entry has them +#uses term rows: TablePro features (docs ↗) · Reads · Changes · Internet · Account · Price; the access note; a warning Callout only for a lowered Safe Mode +#support closing band: "Something wrong with this listing? Report it on GitHub." · Get help from {publisher} ↗ · Read the docs ↗ · the disclaimer when not Official ``` -`/vi/integrations/{slug}` and the other languages answer 404 with a link to the English page. +- `#about` lands on `#details`. +- `/vi/integrations/{slug}` and the other languages answer 404 with a link to the English page. ### 8.23 Security (`/security`, every locale) diff --git a/docs/rebuild/design/sitemap.md b/docs/rebuild/design/sitemap.md index ee4004bb..fff7d2d7 100644 --- a/docs/rebuild/design/sitemap.md +++ b/docs/rebuild/design/sitemap.md @@ -84,6 +84,8 @@ Column notes: | `/faq` | `/{locale}/faq` | Support | Pre-purchase and support questions: "is TablePro free", "Windows", "Linux", "where are my passwords" | "Frequently asked questions" | Rebuilt 2026-11-08 on the feature-page grid, 22 questions and about 950 words, each answer two sentences and one link at most, all open: 1) Topic row (scrolls sideways on a phone) 2) Hero (`#top`): H1 and one sentence, no actions 3) One band per topic: Product (`#product`, old `#general`) · Pricing (`#pricing`, old `#licensing`, `#account`: exactly four questions, then one line to /pricing#faq carrying the ids of the billing, seat and license-key questions that live only there) · Platforms (`#platforms`) · Databases (`#databases`, old `#switching`) · Privacy (`#privacy`: one sentence each, linking /security) · Support (`#support`) 4) Contact (`#contact`): email, GitHub issues and live chat. Every old question id lands (`FaqTest`). No prices, currencies or version numbers typed | faq copy plus platforms, engines, paid features, pricing (Priority support's business days), facts (import apps, local AI providers) | none | /pricing, /pricing#faq, /download, /ios, /security, /databases, /compare, /account?locale= | yes (all locales) | | `/about` | `/{locale}/about` | Trust | "who makes TablePro", "TablePro developer"; readers checking who is behind the app before they buy or connect it to production | "A database client, built in the open." | Rebuilt 2026-11-08 on the feature-page grid, about 150 words (design-system §8.25): 1) Hero (`#top`): the statement H1 and one sentence naming the TablePro team (no person or city), the platforms and who pays; no actions, no image 2) Principles (`#principles`): Native, Open, Private, Independent, one word and one sentence each, no icons 3) Facts (`#facts`, old `#maker`, `#funding`, `#source`): term rows for Made by, Repository created, Source code, License, Funded by 4) Contact (`#contact`, old `#policies`, `#brand`): one sentence with the email and GitHub, live chat. Policies and Brand are in the footer | facts (links, repository date) | none | /pricing, /sponsors, GitHub, the license text | yes (all locales) | | `/sponsors` | `/{locale}/sponsors` | Trust | "sponsor TablePro", "TablePro sponsors"; companies weighing a placement, readers checking who funds the app | "Sponsors" | Rebuilt 2026-11-08 on the feature-page grid, about 200 words (design-system §8.26): 1) Hero (`#top`): H1, one sentence (licenses and sponsors pay, no investors), Sponsor on GitHub ↗ and the open homepage places 2) One band per tier, dearest first (`#lead` with old `#tiers`, `#homepage` with old `#companies`, `#name` with old `#individuals`): the tier name and its monthly and one-time prices on the left, what it gets and that tier's sponsors on the right; logos sized by area at 1.5 times the homepage size from 640px; an empty tier says "Open." 3) Fine print (`#fine-print`): term rows for paying once, when a sponsorship ends, private sponsors, the logo file 4) Closing (`#sponsor`): one sentence with the email, Sponsor on GitHub ↗. No amount per sponsor, total or goal | sponsors.json (tiers, places, sponsors), facts (sponsors program, email) | none (sponsor logos are identity) | GitHub Sponsors, each sponsor's site | yes (all locales) | +| `/integrations` | `/{locale}/integrations` | Directory | "TablePro MCP", "TablePro Claude Code", "TablePro Raycast"; readers checking what connects to TablePro | "Integrations" | Rebuilt 2026-11-08 on the feature-page grid (design-system §8.21): 1) Hero (`#top`): H1, one sentence, Build an integration ↗ 2) One band per registry category (`#ai-clients`, `#command-line`, `#automation`, `#local-development`, …), ruled rows with the app's mark, name, tagline and maker 3) Closing (`#publish`): how to submit and the listing policy. No search or filters while the registry is short | integrations.json (synced from the TableProApp/integrations release) | none (marks are the registry's icons) | each `/integrations/{slug}` (English), docs `/developers` ↗, the registry on GitHub | yes (all locales) | +| `/integrations/{slug}` | none (English only; other locales 404 with an English suggestion) | Directory | "{name} TablePro", "connect {name} to a database" | "{name}" | Rebuilt 2026-11-08 (design-system §8.22): 1) Hero (`#top`, old `#about` lands on `#details`): breadcrumb, mark, H1, summary, description, install action, Source ↗ 2) `#details` term rows 3) `#screenshots` when present 4) `#uses` term rows, a warning only for a lowered Safe Mode 5) Closing (`#support`): report a problem, help, docs | integrations.json | none | /integrations, /features/data-editing#safe-mode, docs ↗ | yes while active; archived entries noindex | | `/security` | `/{locale}/security` | Trust | "is TablePro safe", "where does TablePro store passwords", "TablePro telemetry", "report a vulnerability"; security reviewers before production use | "Security" | Rebuilt 2026-11-08 on the feature-page grid, about 900 words, each band's heading stating its fact, at most two limits per band: 1) Topic row 2) Hero (`#top`): H1 and one sentence, no actions 3) Credentials (`#credentials`): Keychain, Secret Service on Linux, iCloud Sync 4) What leaves your device (`#network`): one table, destination · what is sent · when · how to turn it off 5) AI & MCP (`#ai-mcp`, old `#mcp`): a table of request paths 6) Updates & signing (`#updates`, old `#distribution`): Mac signing and Sparkle, Linux packages and attestations, plugins, the App Store 7) Safe Mode (`#safe-mode`) 8) Open source (`#open-source`) 9) Report a vulnerability (`#report`, linked by the privacy policy in every locale): `security@` or a private GitHub advisory, the reply time from data, no bug bounty. No badges, diagram or certification claims; no version numbers | security copy plus facts (Safe Mode levels, MCP host, local AI providers, `support.securityEmail`), pricing (business days) | none | /privacy#apps, /features/connections, /features/ai-mcp, /features/data-editing, /download#updates, docs, security.txt | yes (all locales) | ### A.2 Features diff --git a/resources/data/content/de/integrations/index.json b/resources/data/content/de/integrations/index.json index 9eb1854b..548124a7 100644 --- a/resources/data/content/de/integrations/index.json +++ b/resources/data/content/de/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integrationen", - "lead": "Apps und Werkzeuge, die mit TablePro zusammenarbeiten.", + "lead": "Apps und Werkzeuge, die mit TablePro zusammenarbeiten, entwickelt vom TablePro-Team oder von anderen.", "build": "Integration entwickeln" }, - "filters": { - "label": "Integrationen filtern", - "search": "Suchen", - "category": { - "label": "Kategorie", - "all": "Alle Kategorien" - }, - "platform": { - "label": "TablePro-App", - "all": "Alle Apps" - }, - "tier": { - "label": "Typ", - "all": "Alle Typen" - }, - "submit": "Ergebnisse anzeigen", - "count": { - "one": "{count} Integration", - "other": "{count} Integrationen" - }, - "empty": "Keine Integration passt zu diesen Filtern.", - "clear": "Filter zurücksetzen" - }, "publish": { "title": "Deine Integration eintragen", + "sentence": "Du hast etwas gebaut, das mit TablePro zusammenarbeitet? Reiche es in der Registry auf GitHub ein.", "guide": "Anleitung zum Einreichen", "policy": "Aufnahmerichtlinie" }, "notice": "Namen und Logos gehören ihren Inhabern. Nur offizielle Integrationen werden von TablePro entwickelt.", "labels": { "by": "Von {publisher}", + "byTier": "{tier}, von {publisher}", "closedSource": "Nicht quelloffen", "tiers": { "official": "Offiziell", @@ -72,7 +51,8 @@ "source": "Quellcode", "details": { "title": "Informationen", - "publisher": "Herausgeber", + "publisher": "Entwickelt von", + "tier": "Typ", "category": "Kategorie", "host": "Funktioniert mit", "hostVersion": "{host} {version} oder neuer", @@ -82,7 +62,6 @@ "added": "Aufgenommen", "verified": "Zuletzt geprüft" }, - "about": "Beschreibung", "screenshots": "Bildschirmfotos", "uses": { "title": "Was die Integration nutzt", @@ -133,11 +112,16 @@ "payment": { "optional": "Kostenlos, mit kostenpflichtigen Optionen", "paid": "Kostenpflichtig" + }, + "terms": { + "internet": "Internet", + "account": "Konto", + "payment": "Preis" } }, "support": { "title": "Hilfe", - "report": "Problem mit diesem Eintrag melden", + "sentence": "Stimmt etwas mit diesem Eintrag nicht? Melde es auf GitHub.", "help": "Hilfe bei {publisher} erhalten", "docs": "Dokumentation lesen" }, diff --git a/resources/data/content/en/integrations/index.json b/resources/data/content/en/integrations/index.json index ee83e1df..fcae51d6 100644 --- a/resources/data/content/en/integrations/index.json +++ b/resources/data/content/en/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integrations", - "lead": "Apps and tools that work with TablePro.", + "lead": "Apps and tools that work with TablePro, built by the TablePro team or by others.", "build": "Build an integration" }, - "filters": { - "label": "Filter integrations", - "search": "Search", - "category": { - "label": "Category", - "all": "All categories" - }, - "platform": { - "label": "TablePro app", - "all": "All apps" - }, - "tier": { - "label": "Type", - "all": "All types" - }, - "submit": "Show results", - "count": { - "one": "{count} integration", - "other": "{count} integrations" - }, - "empty": "No integrations match these filters.", - "clear": "Clear filters" - }, "publish": { "title": "List your integration", + "sentence": "Built something that works with TablePro? Send it to the registry on GitHub.", "guide": "How to submit", "policy": "Listing policy" }, "notice": "Names and logos belong to their owners. Only Official integrations are built by TablePro.", "labels": { "by": "By {publisher}", + "byTier": "{tier}, by {publisher}", "closedSource": "Closed source", "tiers": { "official": "Official", @@ -72,7 +51,8 @@ "source": "Source code", "details": { "title": "Details", - "publisher": "Publisher", + "publisher": "Made by", + "tier": "Type", "category": "Category", "host": "Works with", "hostVersion": "{host} {version} or later", @@ -82,7 +62,6 @@ "added": "Listed", "verified": "Last checked" }, - "about": "About", "screenshots": "Screenshots", "uses": { "title": "What it uses", @@ -133,11 +112,16 @@ "payment": { "optional": "Free, with paid options", "paid": "Paid" + }, + "terms": { + "internet": "Internet", + "account": "Account", + "payment": "Price" } }, "support": { "title": "Help", - "report": "Report a problem with this listing", + "sentence": "Something wrong with this listing? Report it on GitHub.", "help": "Get help from {publisher}", "docs": "Read the docs" }, diff --git a/resources/data/content/es/integrations/index.json b/resources/data/content/es/integrations/index.json index 0eda816b..ea31aa8f 100644 --- a/resources/data/content/es/integrations/index.json +++ b/resources/data/content/es/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integraciones", - "lead": "Apps y herramientas que funcionan con TablePro.", + "lead": "Apps y herramientas que funcionan con TablePro, creadas por el equipo de TablePro o por terceros.", "build": "Crear una integración" }, - "filters": { - "label": "Filtrar integraciones", - "search": "Buscar", - "category": { - "label": "Categoría", - "all": "Todas las categorías" - }, - "platform": { - "label": "App de TablePro", - "all": "Todas las apps" - }, - "tier": { - "label": "Tipo", - "all": "Todos los tipos" - }, - "submit": "Mostrar resultados", - "count": { - "one": "{count} integración", - "other": "{count} integraciones" - }, - "empty": "Ninguna integración coincide con estos filtros.", - "clear": "Borrar filtros" - }, "publish": { "title": "Añade tu integración", + "sentence": "¿Has creado algo que funcione con TablePro? Envíalo al registro en GitHub.", "guide": "Cómo enviarla", "policy": "Política del directorio" }, "notice": "Los nombres y logotipos pertenecen a sus propietarios. TablePro solo desarrolla las integraciones de tipo Oficial.", "labels": { "by": "Por {publisher}", + "byTier": "{tier}, por {publisher}", "closedSource": "Código cerrado", "tiers": { "official": "Oficial", @@ -72,7 +51,8 @@ "source": "Código fuente", "details": { "title": "Detalles", - "publisher": "Desarrollador", + "publisher": "Creado por", + "tier": "Tipo", "category": "Categoría", "host": "Funciona con", "hostVersion": "{host} {version} o posterior", @@ -82,7 +62,6 @@ "added": "Añadida", "verified": "Última comprobación" }, - "about": "Acerca de", "screenshots": "Capturas de pantalla", "uses": { "title": "Qué usa", @@ -133,11 +112,16 @@ "payment": { "optional": "Gratis, con opciones de pago", "paid": "De pago" + }, + "terms": { + "internet": "Internet", + "account": "Cuenta", + "payment": "Precio" } }, "support": { "title": "Ayuda", - "report": "Informar de un problema con esta ficha", + "sentence": "¿Hay algo mal en esta ficha? Infórmalo en GitHub.", "help": "Obtener ayuda de {publisher}", "docs": "Leer la documentación" }, diff --git a/resources/data/content/fr/integrations/index.json b/resources/data/content/fr/integrations/index.json index be194856..b5ca4235 100644 --- a/resources/data/content/fr/integrations/index.json +++ b/resources/data/content/fr/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Intégrations", - "lead": "Applications et outils compatibles avec TablePro.", + "lead": "Applications et outils compatibles avec TablePro, créés par l’équipe TablePro ou par d’autres.", "build": "Créer une intégration" }, - "filters": { - "label": "Filtrer les intégrations", - "search": "Rechercher", - "category": { - "label": "Catégorie", - "all": "Toutes les catégories" - }, - "platform": { - "label": "Application TablePro", - "all": "Toutes les applications" - }, - "tier": { - "label": "Type", - "all": "Tous les types" - }, - "submit": "Afficher les résultats", - "count": { - "one": "{count} intégration", - "other": "{count} intégrations" - }, - "empty": "Aucune intégration ne correspond à ces filtres.", - "clear": "Effacer les filtres" - }, "publish": { "title": "Référencez votre intégration", + "sentence": "Vous avez créé quelque chose qui fonctionne avec TablePro ? Envoyez-le au registre sur GitHub.", "guide": "Comment la soumettre", "policy": "Politique de référencement" }, "notice": "Les noms et logos appartiennent à leurs propriétaires. Seules les intégrations officielles sont créées par TablePro.", "labels": { "by": "Par {publisher}", + "byTier": "{tier}, par {publisher}", "closedSource": "Code source fermé", "tiers": { "official": "Officielle", @@ -72,7 +51,8 @@ "source": "Code source", "details": { "title": "Détails", - "publisher": "Éditeur", + "publisher": "Développé par", + "tier": "Type", "category": "Catégorie", "host": "Fonctionne avec", "hostVersion": "{host} {version} ou version ultérieure", @@ -82,7 +62,6 @@ "added": "Date d’ajout", "verified": "Dernière vérification" }, - "about": "À propos", "screenshots": "Captures d’écran", "uses": { "title": "Ce que l’intégration utilise", @@ -133,11 +112,16 @@ "payment": { "optional": "Gratuit, avec des options payantes", "paid": "Payant" + }, + "terms": { + "internet": "Internet", + "account": "Compte", + "payment": "Prix" } }, "support": { "title": "Aide", - "report": "Signaler un problème avec cette fiche", + "sentence": "Un problème avec cette fiche ? Signalez-le sur GitHub.", "help": "Obtenir de l’aide auprès de {publisher}", "docs": "Lire la documentation" }, diff --git a/resources/data/content/id/integrations/index.json b/resources/data/content/id/integrations/index.json index a8dd1a40..f33b9985 100644 --- a/resources/data/content/id/integrations/index.json +++ b/resources/data/content/id/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integrasi", - "lead": "Aplikasi dan alat yang bekerja dengan TablePro.", + "lead": "Aplikasi dan alat yang bekerja dengan TablePro, dibuat oleh tim TablePro atau pihak lain.", "build": "Buat integrasi" }, - "filters": { - "label": "Filter integrasi", - "search": "Cari", - "category": { - "label": "Kategori", - "all": "Semua kategori" - }, - "platform": { - "label": "Aplikasi TablePro", - "all": "Semua aplikasi" - }, - "tier": { - "label": "Jenis", - "all": "Semua jenis" - }, - "submit": "Tampilkan hasil", - "count": { - "one": "{count} integrasi", - "other": "{count} integrasi" - }, - "empty": "Tidak ada integrasi yang cocok dengan filter ini.", - "clear": "Hapus filter" - }, "publish": { "title": "Cantumkan integrasi Anda", + "sentence": "Sudah membuat sesuatu yang bekerja dengan TablePro? Kirimkan ke registri di GitHub.", "guide": "Cara mengirim", "policy": "Kebijakan pencantuman" }, "notice": "Nama dan logo adalah milik pemiliknya masing-masing. Hanya integrasi Resmi yang dibuat oleh TablePro.", "labels": { "by": "Oleh {publisher}", + "byTier": "{tier}, oleh {publisher}", "closedSource": "Sumber tertutup", "tiers": { "official": "Resmi", @@ -72,7 +51,8 @@ "source": "Kode sumber", "details": { "title": "Detail", - "publisher": "Penerbit", + "publisher": "Dibuat oleh", + "tier": "Jenis", "category": "Kategori", "host": "Berfungsi dengan", "hostVersion": "{host} {version} atau lebih baru", @@ -82,7 +62,6 @@ "added": "Dicantumkan", "verified": "Terakhir diperiksa" }, - "about": "Tentang", "screenshots": "Tangkapan layar", "uses": { "title": "Yang digunakan", @@ -133,11 +112,16 @@ "payment": { "optional": "Gratis, dengan opsi berbayar", "paid": "Berbayar" + }, + "terms": { + "internet": "Internet", + "account": "Akun", + "payment": "Harga" } }, "support": { "title": "Bantuan", - "report": "Laporkan masalah pada entri ini", + "sentence": "Ada yang salah dengan entri ini? Laporkan di GitHub.", "help": "Dapatkan bantuan dari {publisher}", "docs": "Baca dokumentasi" }, diff --git a/resources/data/content/it/integrations/index.json b/resources/data/content/it/integrations/index.json index 6dc7fd86..2c713010 100644 --- a/resources/data/content/it/integrations/index.json +++ b/resources/data/content/it/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integrazioni", - "lead": "App e strumenti che funzionano con TablePro.", + "lead": "App e strumenti che funzionano con TablePro, sviluppati dal team di TablePro o da terzi.", "build": "Crea un’integrazione" }, - "filters": { - "label": "Filtra integrazioni", - "search": "Cerca", - "category": { - "label": "Categoria", - "all": "Tutte le categorie" - }, - "platform": { - "label": "App TablePro", - "all": "Tutte le app" - }, - "tier": { - "label": "Tipo", - "all": "Tutti i tipi" - }, - "submit": "Mostra risultati", - "count": { - "one": "{count} integrazione", - "other": "{count} integrazioni" - }, - "empty": "Nessuna integrazione corrisponde a questi filtri.", - "clear": "Rimuovi filtri" - }, "publish": { "title": "Aggiungi la tua integrazione", + "sentence": "Hai creato qualcosa che funziona con TablePro? Invialo al registro su GitHub.", "guide": "Come inviarla", "policy": "Criteri di inclusione" }, "notice": "Nomi e loghi appartengono ai rispettivi proprietari. TablePro sviluppa solo le integrazioni di tipo Ufficiale.", "labels": { "by": "Di {publisher}", + "byTier": "{tier}, di {publisher}", "closedSource": "Codice chiuso", "tiers": { "official": "Ufficiale", @@ -72,7 +51,8 @@ "source": "Codice sorgente", "details": { "title": "Dettagli", - "publisher": "Sviluppatore", + "publisher": "Sviluppato da", + "tier": "Tipo", "category": "Categoria", "host": "Funziona con", "hostVersion": "{host} {version} o successivo", @@ -82,7 +62,6 @@ "added": "Aggiunta il", "verified": "Ultimo controllo" }, - "about": "Informazioni", "screenshots": "Schermate", "uses": { "title": "Cosa usa", @@ -133,11 +112,16 @@ "payment": { "optional": "Gratuita, con opzioni a pagamento", "paid": "A pagamento" + }, + "terms": { + "internet": "Internet", + "account": "Account", + "payment": "Prezzo" } }, "support": { "title": "Assistenza", - "report": "Segnala un problema con questa voce", + "sentence": "Qualcosa non va in questa voce? Segnalalo su GitHub.", "help": "Chiedi aiuto a {publisher}", "docs": "Leggi la documentazione" }, diff --git a/resources/data/content/ja/integrations/index.json b/resources/data/content/ja/integrations/index.json index 607cb371..500740a3 100644 --- a/resources/data/content/ja/integrations/index.json +++ b/resources/data/content/ja/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "連携", - "lead": "TablePro と連携するアプリとツール。", + "lead": "TablePro と連携するアプリとツール。TablePro チームが開発したものと、他の開発者によるものがあります。", "build": "連携を開発する" }, - "filters": { - "label": "連携を絞り込む", - "search": "検索", - "category": { - "label": "カテゴリ", - "all": "すべてのカテゴリ" - }, - "platform": { - "label": "TablePro アプリ", - "all": "すべてのアプリ" - }, - "tier": { - "label": "種類", - "all": "すべての種類" - }, - "submit": "結果を表示", - "count": { - "one": "{count} 件の連携", - "other": "{count} 件の連携" - }, - "empty": "条件に一致する連携はありません。", - "clear": "絞り込みを解除" - }, "publish": { "title": "連携を掲載する", + "sentence": "TablePro と連携するものを作りましたか?GitHub のレジストリに申請してください。", "guide": "申請方法", "policy": "掲載ポリシー" }, "notice": "名称とロゴは各権利者に帰属します。TablePro が開発しているのは公式の連携だけです。", "labels": { "by": "提供:{publisher}", + "byTier": "{tier}、提供:{publisher}", "closedSource": "クローズドソース", "tiers": { "official": "公式", @@ -72,7 +51,8 @@ "source": "ソースコード", "details": { "title": "詳細", - "publisher": "提供元", + "publisher": "開発元", + "tier": "種類", "category": "カテゴリ", "host": "対応アプリ", "hostVersion": "{host} {version} 以降", @@ -82,7 +62,6 @@ "added": "掲載日", "verified": "最終確認日" }, - "about": "概要", "screenshots": "スクリーンショット", "uses": { "title": "利用する機能とデータ", @@ -133,11 +112,16 @@ "payment": { "optional": "無料(有料オプションあり)", "paid": "有料" + }, + "terms": { + "internet": "インターネット", + "account": "アカウント", + "payment": "価格" } }, "support": { "title": "ヘルプ", - "report": "この掲載内容の問題を報告", + "sentence": "この掲載内容に誤りがありますか?GitHub で報告してください。", "help": "{publisher} のサポートを受ける", "docs": "ドキュメントを読む" }, diff --git a/resources/data/content/ko/integrations/index.json b/resources/data/content/ko/integrations/index.json index 1bd94b4e..9855b8f3 100644 --- a/resources/data/content/ko/integrations/index.json +++ b/resources/data/content/ko/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "통합", - "lead": "TablePro와 함께 작동하는 앱과 도구입니다.", + "lead": "TablePro와 함께 작동하는 앱과 도구입니다. TablePro 팀이 만든 것과 다른 개발자가 만든 것이 있습니다.", "build": "통합 만들기" }, - "filters": { - "label": "통합 필터", - "search": "검색", - "category": { - "label": "카테고리", - "all": "모든 카테고리" - }, - "platform": { - "label": "TablePro 앱", - "all": "모든 앱" - }, - "tier": { - "label": "유형", - "all": "모든 유형" - }, - "submit": "결과 보기", - "count": { - "one": "통합 {count}개", - "other": "통합 {count}개" - }, - "empty": "필터에 맞는 통합이 없습니다.", - "clear": "필터 지우기" - }, "publish": { "title": "통합 등록하기", + "sentence": "TablePro와 함께 작동하는 무언가를 만드셨나요? GitHub의 레지스트리에 제출하세요.", "guide": "제출 방법", "policy": "등록 정책" }, "notice": "이름과 로고의 권리는 각 소유자에게 있습니다. TablePro가 만드는 통합은 공식 통합뿐입니다.", "labels": { "by": "{publisher} 제공", + "byTier": "{tier}, {publisher} 제공", "closedSource": "비공개 소스", "tiers": { "official": "공식", @@ -72,7 +51,8 @@ "source": "소스 코드", "details": { "title": "세부 정보", - "publisher": "게시자", + "publisher": "개발", + "tier": "유형", "category": "카테고리", "host": "호환 앱", "hostVersion": "{host} {version} 이상", @@ -82,7 +62,6 @@ "added": "등록일", "verified": "마지막 확인" }, - "about": "소개", "screenshots": "스크린샷", "uses": { "title": "사용하는 기능과 데이터", @@ -133,11 +112,16 @@ "payment": { "optional": "무료, 유료 옵션 있음", "paid": "유료" + }, + "terms": { + "internet": "인터넷", + "account": "계정", + "payment": "가격" } }, "support": { "title": "도움말", - "report": "이 등록 정보의 문제 신고", + "sentence": "이 등록 정보에 문제가 있나요? GitHub에서 신고하세요.", "help": "{publisher}에 도움 요청", "docs": "문서 읽기" }, diff --git a/resources/data/content/pt-BR/integrations/index.json b/resources/data/content/pt-BR/integrations/index.json index 25f580ff..73444da3 100644 --- a/resources/data/content/pt-BR/integrations/index.json +++ b/resources/data/content/pt-BR/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Integrações", - "lead": "Apps e ferramentas que funcionam com o TablePro.", + "lead": "Apps e ferramentas que funcionam com o TablePro, desenvolvidos pela equipe TablePro ou por terceiros.", "build": "Criar uma integração" }, - "filters": { - "label": "Filtrar integrações", - "search": "Pesquisar", - "category": { - "label": "Categoria", - "all": "Todas as categorias" - }, - "platform": { - "label": "App do TablePro", - "all": "Todos os apps" - }, - "tier": { - "label": "Tipo", - "all": "Todos os tipos" - }, - "submit": "Mostrar resultados", - "count": { - "one": "{count} integração", - "other": "{count} integrações" - }, - "empty": "Nenhuma integração corresponde a esses filtros.", - "clear": "Limpar filtros" - }, "publish": { "title": "Adicione sua integração", + "sentence": "Criou algo que funciona com o TablePro? Envie para o registro no GitHub.", "guide": "Como enviar", "policy": "Política do diretório" }, "notice": "Nomes e logotipos pertencem aos seus proprietários. Só as integrações do tipo Oficial são desenvolvidas pelo TablePro.", "labels": { "by": "Por {publisher}", + "byTier": "{tier}, por {publisher}", "closedSource": "Código fechado", "tiers": { "official": "Oficial", @@ -72,7 +51,8 @@ "source": "Código-fonte", "details": { "title": "Detalhes", - "publisher": "Desenvolvedor", + "publisher": "Desenvolvido por", + "tier": "Tipo", "category": "Categoria", "host": "Funciona com", "hostVersion": "{host} {version} ou posterior", @@ -82,7 +62,6 @@ "added": "Adicionada em", "verified": "Última verificação" }, - "about": "Sobre", "screenshots": "Capturas de tela", "uses": { "title": "O que usa", @@ -133,11 +112,16 @@ "payment": { "optional": "Grátis, com opções pagas", "paid": "Pago" + }, + "terms": { + "internet": "Internet", + "account": "Conta", + "payment": "Preço" } }, "support": { "title": "Ajuda", - "report": "Relatar um problema nesta página", + "sentence": "Algo errado nesta página? Relate no GitHub.", "help": "Obter ajuda de {publisher}", "docs": "Ler a documentação" }, diff --git a/resources/data/content/vi/integrations/index.json b/resources/data/content/vi/integrations/index.json index 4dce903d..a776eeee 100644 --- a/resources/data/content/vi/integrations/index.json +++ b/resources/data/content/vi/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "Tích hợp", - "lead": "Ứng dụng và công cụ dùng được với TablePro.", + "lead": "Ứng dụng và công cụ dùng được với TablePro, do đội ngũ TablePro hoặc bên khác phát triển.", "build": "Tự xây dựng tích hợp" }, - "filters": { - "label": "Lọc tích hợp", - "search": "Tìm kiếm", - "category": { - "label": "Danh mục", - "all": "Mọi danh mục" - }, - "platform": { - "label": "Ứng dụng TablePro", - "all": "Mọi ứng dụng" - }, - "tier": { - "label": "Loại", - "all": "Mọi loại" - }, - "submit": "Xem kết quả", - "count": { - "one": "{count} tích hợp", - "other": "{count} tích hợp" - }, - "empty": "Không có tích hợp nào khớp với bộ lọc này.", - "clear": "Xóa bộ lọc" - }, "publish": { "title": "Đăng tích hợp của bạn", + "sentence": "Bạn đã làm ra thứ gì đó dùng được với TablePro? Hãy gửi vào registry trên GitHub.", "guide": "Cách gửi tích hợp", "policy": "Chính sách đăng tích hợp" }, "notice": "Tên và logo thuộc về chủ sở hữu của chúng. Chỉ tích hợp Chính thức do TablePro phát triển.", "labels": { "by": "Do {publisher} phát triển", + "byTier": "{tier}, do {publisher} phát triển", "closedSource": "Mã nguồn đóng", "tiers": { "official": "Chính thức", @@ -72,7 +51,8 @@ "source": "Mã nguồn", "details": { "title": "Chi tiết", - "publisher": "Nhà phát hành", + "publisher": "Nhà phát triển", + "tier": "Loại", "category": "Danh mục", "host": "Dùng với", "hostVersion": "{host} {version} trở lên", @@ -82,7 +62,6 @@ "added": "Ngày đăng", "verified": "Kiểm tra lần cuối" }, - "about": "Giới thiệu", "screenshots": "Ảnh chụp màn hình", "uses": { "title": "Tích hợp dùng gì", @@ -133,11 +112,16 @@ "payment": { "optional": "Miễn phí, có tùy chọn trả phí", "paid": "Trả phí" + }, + "terms": { + "internet": "Internet", + "account": "Tài khoản", + "payment": "Giá" } }, "support": { "title": "Trợ giúp", - "report": "Báo vấn đề với mục này", + "sentence": "Mục này có gì sai? Báo lỗi trên GitHub.", "help": "Nhờ {publisher} hỗ trợ", "docs": "Đọc tài liệu" }, diff --git a/resources/data/content/zh-Hans/integrations/index.json b/resources/data/content/zh-Hans/integrations/index.json index 7b0513f7..e072663d 100644 --- a/resources/data/content/zh-Hans/integrations/index.json +++ b/resources/data/content/zh-Hans/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "集成", - "lead": "与 TablePro 配合使用的应用和工具。", + "lead": "与 TablePro 配合使用的应用和工具,由 TablePro 团队或其他开发者构建。", "build": "构建集成" }, - "filters": { - "label": "筛选集成", - "search": "搜索", - "category": { - "label": "类别", - "all": "所有类别" - }, - "platform": { - "label": "TablePro 应用", - "all": "所有应用" - }, - "tier": { - "label": "类型", - "all": "所有类型" - }, - "submit": "显示结果", - "count": { - "one": "{count} 个集成", - "other": "{count} 个集成" - }, - "empty": "没有符合这些筛选条件的集成。", - "clear": "清除筛选" - }, "publish": { "title": "提交您的集成", + "sentence": "开发了能与 TablePro 配合使用的项目?请提交到 GitHub 上的收录仓库。", "guide": "提交方法", "policy": "收录政策" }, "notice": "名称和标志归其所有者所有。只有官方集成由 TablePro 构建。", "labels": { "by": "由 {publisher} 提供", + "byTier": "{tier},由 {publisher} 提供", "closedSource": "闭源", "tiers": { "official": "官方", @@ -72,7 +51,8 @@ "source": "源代码", "details": { "title": "详细信息", - "publisher": "发布者", + "publisher": "开发者", + "tier": "类型", "category": "类别", "host": "适用于", "hostVersion": "{host} {version} 或更新版本", @@ -82,7 +62,6 @@ "added": "收录日期", "verified": "最后检查" }, - "about": "简介", "screenshots": "截图", "uses": { "title": "使用的功能和数据", @@ -133,11 +112,16 @@ "payment": { "optional": "免费,提供付费选项", "paid": "付费" + }, + "terms": { + "internet": "互联网", + "account": "账户", + "payment": "价格" } }, "support": { "title": "帮助", - "report": "报告此条目的问题", + "sentence": "此条目有误?在 GitHub 上报告。", "help": "向 {publisher} 获取帮助", "docs": "阅读文档" }, diff --git a/resources/data/content/zh-Hant/integrations/index.json b/resources/data/content/zh-Hant/integrations/index.json index a1a56a82..de5bf1a7 100644 --- a/resources/data/content/zh-Hant/integrations/index.json +++ b/resources/data/content/zh-Hant/integrations/index.json @@ -5,40 +5,19 @@ }, "header": { "title": "整合", - "lead": "與 TablePro 搭配使用的 App 和工具。", + "lead": "與 TablePro 搭配使用的 App 和工具,由 TablePro 團隊或其他開發者打造。", "build": "開發整合" }, - "filters": { - "label": "篩選整合", - "search": "搜尋", - "category": { - "label": "類別", - "all": "所有類別" - }, - "platform": { - "label": "TablePro App", - "all": "所有 App" - }, - "tier": { - "label": "類型", - "all": "所有類型" - }, - "submit": "顯示結果", - "count": { - "one": "{count} 個整合", - "other": "{count} 個整合" - }, - "empty": "沒有符合這些篩選條件的整合。", - "clear": "清除篩選條件" - }, "publish": { "title": "提交您的整合", + "sentence": "開發了能與 TablePro 搭配使用的專案?請提交到 GitHub 上的收錄儲存庫。", "guide": "提交方式", "policy": "收錄政策" }, "notice": "名稱和標誌歸其所有者所有。只有官方整合由 TablePro 打造。", "labels": { "by": "由 {publisher} 提供", + "byTier": "{tier},由 {publisher} 提供", "closedSource": "封閉原始碼", "tiers": { "official": "官方", @@ -72,7 +51,8 @@ "source": "原始碼", "details": { "title": "詳細資訊", - "publisher": "發佈者", + "publisher": "開發者", + "tier": "類型", "category": "類別", "host": "適用於", "hostVersion": "{host} {version} 或更新版本", @@ -82,7 +62,6 @@ "added": "收錄日期", "verified": "最後檢查" }, - "about": "簡介", "screenshots": "螢幕截圖", "uses": { "title": "使用的功能與資料", @@ -133,11 +112,16 @@ "payment": { "optional": "免費,提供付費選項", "paid": "付費" + }, + "terms": { + "internet": "網際網路", + "account": "帳戶", + "payment": "價格" } }, "support": { "title": "說明", - "report": "回報此項目的問題", + "sentence": "此項目有誤?在 GitHub 上回報。", "help": "向 {publisher} 尋求協助", "docs": "閱讀文件" }, diff --git a/resources/js/components/features/feature-hero.tsx b/resources/js/components/features/feature-hero.tsx index 3e305f44..bec1ffc2 100644 --- a/resources/js/components/features/feature-hero.tsx +++ b/resources/js/components/features/feature-hero.tsx @@ -12,6 +12,8 @@ import { docsHref } from './model'; interface FeatureHeroProps { title: ReactNode; lead: ReactNode; + // Under the lead, before the actions: an integration's description and archive notice. + more?: ReactNode; // A docs.tablepro.app path; the hub links the docs home. docs?: string; docsLabel?: string; @@ -31,7 +33,7 @@ interface FeatureHeroProps { } // The same editorial hero as Home: left on the grid, one Download, the docs as a quiet link. -export default function FeatureHero({ title, lead, docs, docsLabel, actions, primary, eyebrow, aside, location = 'feature-header', settle = true, children }: FeatureHeroProps) { +export default function FeatureHero({ title, lead, more, docs, docsLabel, actions, primary, eyebrow, aside, location = 'feature-header', settle = true, children }: FeatureHeroProps) { const { locale, m } = useI18n(); const text = ( @@ -44,6 +46,7 @@ export default function FeatureHero({ title, lead, docs, docsLabel, actions, pri {title}

{lead}

+ {more} {actions === null ? null : actions !== undefined ? (
{actions}
) : ( diff --git a/resources/js/components/integrations/README.md b/resources/js/components/integrations/README.md index 49b3e2db..f4c529c0 100644 --- a/resources/js/components/integrations/README.md +++ b/resources/js/components/integrations/README.md @@ -9,8 +9,8 @@ ## The content file -- `seo`, `header`, `filters`, `publish`, `notice`: the hub. -- `labels`: shared by the hub and the detail page (tiers, categories, "By {publisher}", "Closed source"). +- `seo`, `header`, `publish`, `notice`: the hub. It has one band per category and no filters (owner, 2026-11-08). +- `labels`: shared by the hub and the detail page (tiers, categories, "By {publisher}", "Closed source"). An entry sits in the hub band of its first category that `labels.categories` names, in the registry's order; an entry with no labelled category stays off the hub. - `show`: the detail page. It renders in English only today, but the keys exist in every language, so translating the page later is a content change. - `show.uses.surface.{id}.docs`: a docs.tablepro.app path, the same in every language. - `taglines`: one sentence per slug. The English value is the registry `summary` it was translated from. diff --git a/resources/js/components/integrations/integration-filters.tsx b/resources/js/components/integrations/integration-filters.tsx deleted file mode 100644 index 0076290e..00000000 --- a/resources/js/components/integrations/integration-filters.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import type { FormEvent } from 'react'; -import Button from '@/components/ui/button'; -import Field, { Input } from '@/components/ui/field'; -import Select from '@/components/ui/select'; -import { useI18n } from '@/i18n'; -import type { FacetOptions } from './model'; -import type { AppPlatform, Category, IntegrationFilters as Filters, IntegrationsHubContent, Tier } from './types'; - -interface IntegrationFiltersProps { - content: IntegrationsHubContent; - filters: Filters; - options: FacetOptions; - appName: (platform: AppPlatform) => string; - onChange: (filters: Filters, urlDelay: number) => void; -} - -// A plain GET form, so the filters work before hydration and without JavaScript. -export default function IntegrationFilters({ content, filters, options, appName, onChange }: IntegrationFiltersProps) { - const { path } = useI18n(); - const copy = content.filters; - const labels = content.labels; - - const submit = (event: FormEvent) => { - event.preventDefault(); - onChange(filters, 0); - }; - - return ( -
- - onChange({ ...filters, q: event.target.value === '' ? null : event.target.value }, 300)} - /> - - - onChange({ ...filters, platform: value === '' ? null : (value as AppPlatform) }, 0)} - options={[{ value: '', label: copy.platform.all }, ...options.platforms.map((platform) => ({ value: platform, label: appName(platform) }))]} - /> - - -