Skip to content

feat: merge google-docs-quality feature branch [INTEG-3527]#10689

Merged
Harika Kondur (harikakondur) merged 14 commits intomasterfrom
google-docs-quality
Mar 11, 2026
Merged

feat: merge google-docs-quality feature branch [INTEG-3527]#10689
Harika Kondur (harikakondur) merged 14 commits intomasterfrom
google-docs-quality

Conversation

@harikakondur
Copy link
Contributor

@harikakondur Harika Kondur (harikakondur) commented Mar 10, 2026

Summary

This PR updates the Google Docs Contentful app to improve the developer testing flow

What changed

  • Confirm Prompt modal is a temporary testing modal

    • Shows Document ID, Content Type IDs, and OAuth token in a compact, copy-friendly format
  • Workflow agent is the new path

    • The app now triggers google-docs-workflow-agent for this testing flow (instead of the legacy preview-generation path)
  • useGeneratePreview is not used anymore

    • The legacy hook remains in the repo but is no longer used by the current UI flow
  • Temporary workaround

    • Content type IDs are treated/displayed as a single comma-separated string for this testing workflow

Files changed (apps)

  • apps/google-docs/src/locations/Page/components/modals/step_2/SelectContentTypeModal.tsx
    • Updated selection flow to support the CSV content-type-id workaround (old approach left commented for easy switch-back)
  • apps/google-docs/src/locations/Page/components/mainpage/ModalOrchestrator.tsx
    • Updated wiring for the step-2 modal → confirm prompt modal flow
  • apps/google-docs/src/locations/Page/components/modals/step_2b/ConfirmPromptModal.tsx
    • Testing UX improvements + CT IDs as a single CSV string + Mastra playground link + uses workflow-agent hook
  • apps/google-docs/src/hooks/useWorkflowAgent.ts
    • Starts + polls the workflow agent run
  • apps/google-docs/src/hooks/useGeneratePreview.ts
    • Legacy hook retained but no longer used

Follow-ups

  • When the Mastra UI issue is fixed, revert content type IDs back to string[] and remove the temporary CSV plumbing + legacy hook.

@harikakondur Harika Kondur (harikakondur) requested a review from a team as a code owner March 10, 2026 22:56
@harikakondur Harika Kondur (harikakondur) merged commit 4fa4bc7 into master Mar 11, 2026
14 checks passed
@harikakondur Harika Kondur (harikakondur) deleted the google-docs-quality branch March 11, 2026 14:36
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.

2 participants