Skip to content

docs(apps): Tolgee Apps documentation (alpha)#1116

Draft
JanCizmar wants to merge 5 commits into
mainfrom
jancizmar/tolgee-apps-poc
Draft

docs(apps): Tolgee Apps documentation (alpha)#1116
JanCizmar wants to merge 5 commits into
mainfrom
jancizmar/tolgee-apps-poc

Conversation

@JanCizmar

Copy link
Copy Markdown
Member

Adds a new top-level Apps documentation section for the (alpha) Tolgee Apps plugin platform.

Pages

  • Introduction & architecture — what apps are, the install → enable → iframe → REST → webhooks → decorators flow, module-types table, alpha limitations.
  • Setup & quickstartcreate-tolgee-app, the dev tunnel + browser register flow, enabling on a project, local-dev notes.
  • API reference — manifest schema, @tolgee/apps-sdk browser/server, postMessage protocol, context token, webhook signature, decorators contract, scopes, REST endpoints, the tolgee-app CLI.
  • Tutorial: activity monitoring app — webhooks → store → count decorator → activity sparkline panel.
  • Tutorial: back-translation QA app — LLM back-translation on webhook, verdict store, warning/error decorators, on-demand panel.

Wired into docs.js, navbar.js, and a new sidebarTolgeeApps.js. npm run build passes (no broken links/anchors).

⚠️ Do not merge yet

The Tolgee Apps platform is unmerged/alpha (packages published under the npm `alpha` tag). Every page carries an experimental callout. This PR should stay draft and only merge once the apps feature ships.

Known follow-ups (not blocking this PR)

  • The SDK `DecoratorItem` type doesn't match the real webapp decorator contract; docs describe the real one — SDK type to be reconciled separately.
  • Screenshots are TODO (text-only for now).

New top-level "Apps" docs instance covering the alpha Tolgee Apps platform:
- Introduction & architecture (install/enable/iframe/REST/webhooks/decorators, module types, limitations)
- Setup & quickstart (create-tolgee-app, dev/register, enabling on a project)
- API reference (manifest schema, SDK browser/server, postMessage, context token, webhook
  signature, decorators contract, scopes, REST endpoints, CLI)
- Tutorial: activity monitoring app
- Tutorial: back-translation QA app

Every page is marked experimental. Wired into docs.js + navbar.js + sidebarTolgeeApps.js.
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for tolgee-docs ready!

Name Link
🔨 Latest commit 535286a
🔍 Latest deploy log https://app.netlify.com/projects/tolgee-docs/deploys/6a2a739c6db02a000798e644
😎 Deploy Preview https://deploy-preview-1116--tolgee-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

JanCizmar added 4 commits June 9, 2026 12:45
…st-updated

- 40–80 word plain-prose TL;DR directly under the H1 on every page.
- FAQ section + FAQPage JSON-LD (via @docusaurus/Head) on intro, setup, and API pages.
- Enable showLastUpdateTime on the Apps docs instance (visible "Last updated").
- Restate "Tolgee App(s)" in section/answer leads instead of bare "it"/"this".
A copy-paste prompt for an AI coding agent that reads the Apps docs, asks the user a few
questions about the app, scaffolds it with create-tolgee-app (keeping the default Tolgee URL),
pulls local context, builds with the typed SDK + typecheck, and hands dev/register back to the
user. Sits above the manual quickstart steps.
New iframe module shown when no cell is selected; document the module in the
list and add selectedLanguages to TolgeeAppSelection and the message payloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant