TasGrid Parent App Simulator

Login to Parent Application

This simulates the parent application authenticating with the shared backend.

Test Deep Linking:

Manual Auth:

Developer Integration Guide

1. Available Routes:

  • /embed/notes: Renders the full notepad/editor.
  • /embed/notes?noteId=XXX: Renders a specific note directly.
  • /embed/quick-add: Renders a standalone task creation form.

2. Authentication Protocol:

The parent application must send a postMessage to the iframe immediately after the iframe loads (or whenever auth state changes).

iframe.contentWindow.postMessage({
  type: "TASGRID_AUTH",
  token: "YOUR_POCKETBASE_TOKEN",
  user: { /* optional PB user record */ }
}, "*");

3. Responsiveness:

Both routes are designed to be fluid. Ensure your iframe container has defined dimensions; the content will expand to fill it.

Notes Embed /embed/notes
Quick Add Embed /embed/quick-add