Skip to content

Conversation

@harikakondur
Copy link
Contributor

@harikakondur harikakondur commented Jan 5, 2026

Purpose

Merge the Google Docs Christmas feature branch into master. This PR consolidates all work done on the Google Docs integration during the December 2025 - January 2026 development cycle.

Summary of Changes

Features

  • Google Doc Picker - Implemented working Google Doc file picker with API key for OAuth connection INTEG-3359
  • File Picker Upgrade - Enhanced file picker functionality INTEG-3368
  • Preview Modal - Added preview step for entries before creation INTEG-3348
  • Review Entries Modal - New modal for reviewing entries before import INTEG-3363
  • Loading State Modal - Added loading states during document processing and entry creation INTEG-3382
  • Reference Support - AI document parser now handles references between entries INTEG-3372
  • Asset Creation - Consolidated asset creation logic

Refactoring

  • Reorganized OAuth functions and function handlers
  • Replaced single function with two separate functions: content type analysis and document processing
  • Renamed functions and files for consistency
  • Reorganized file structure to be more compact
  • Extracted modal components into their own component files
  • Renamed content type analysis app action names for consistency

Bug Fixes

  • Fixed package.json scripts for correct CI deployment
  • Fixed OAuth retries (reduced from 10 to 5)
  • Fixed production deploy S3 base URL
  • Fixed modal closing behavior in Google Docs picker (no longer errors out)
  • Fixed preview entry card UI with displayField for entry titles INTEG-3341
  • Fixed ModalOrchestrator component
  • Applied Forma style tokens to entry cards

Included PRs

  • #10350 - fix: google docs package.json scripts so that it deploys correctly in ci
  • #10356 - feat: preview step + functions refactor INTEG-3348
  • #10357 - feat: got google doc picker working INTEG-3359
  • #10358 - feat: rename functions and files to be consistent with each other
  • #10359 - feat(google-docs): review entries modal INTEG-3363
  • #10361 - feat: reorganize file structure to be more compact
  • #10362 - refactor: modal components in google docs to be its own component
  • #10364 - refactor: content type analysis app action names to be consistent with other app actions
  • #10365 - fix: retries for oauth to be 5 instead of 10
  • #10366 - feat: google docs app works with references INTEG-3372
  • #10367 - fix: update preview entry card ui INTEG-3341
  • #10368 - fix: use correct prod deploy s3 base in google docs
  • #10370 - fix: closing the modal from google docs picker no longer errors out
  • #10377 - feat: consolidate asset creation
  • #10379 - feat: file picker upgrade INTEG-3368
  • #10391 - feat: loading state modal INTEG-3382

ryunsong-contentful and others added 20 commits December 18, 2025 15:11
* wip

* simplify agent

* organize oauth functions

* reorganizing function handlers

* reorganizing function handlers (prev `createEntriesfromDocument`) calling each agent in a separate function, + removing plan agent for now

* fix: function manifest

* minor edit to manifest

* replacing single function with 2: one for analyzing ct + one for document processing

* fix: add oauth token to analyze content type function

* fix: adding entries to document processor o/p

* feat: new app action to create entries, preview modal

* cleanup + rename preview function

* cleanup

* chore: delete test docs

* cleanup

* rename handler for consistency
* feat: got google doc picker working

* feat: explicitly add api key for google docs oauth connection
* feat: ai document parser can handle references now

* fix: console logs and fixed issues with creating entries and references being mapped
* fix: preview entry cards ui

* fix: using displayField for entry title

* pass sdk prop

* chore:fix gapi path

* feat: helper function to fetch entry titles

* chore: using forma style tokens for entry cards

* fix entry title helper functions

* fix: styles

* chore: rename title

* fix: copy

* fix: moving fetchEntryTitle logic to useGeneratePreview hook

* chore: remove logs

* chore: remove redundant title

* fix any type for entry

* replace magic number for title length

* rename and move getEntryTitle util

* handle zero entries better

* cleanup: remove null type for preview response and unused props( summary, total entries)

* cleanup

* rename previewData -> previewEntries

* cleanup

* refactor getEntryTitle to use a new getContentType util
* fix: refactor the preview modal logic to have cleaner typings

* feat: update app action typing using generics
…[INTEG-3378] (#10380)

* fix: replacing select with multiselect for content type picker modal, removing `SelectedContentTypes` type

* cleanup
* feat: file picker upgrade

* removing suggested folders logic
* feat: loading modal for google doc app

* loadting state for creating entries

* chore: cleanup

* chore: cleanup up modal hook

* chore: remove extra fragment tags
@harikakondur harikakondur requested a review from a team as a code owner January 5, 2026 17:24
@wiz-inc-38d59fb8d7
Copy link

wiz-inc-38d59fb8d7 bot commented Jan 5, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 3 Medium
Software Supply Chain Finding Software Supply Chain Findings -
Total 3 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@primeinteger primeinteger changed the title feat: merge Google docs xmas feature branch feat: merge Google docs xmas feature branch [] Jan 5, 2026
Copy link
Contributor

@ryunsong-contentful ryunsong-contentful left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE PR DESCRIPTION!

@harikakondur harikakondur merged commit 0e481e3 into master Jan 5, 2026
14 checks passed
@harikakondur harikakondur deleted the google-docs-xmas-fb branch January 5, 2026 18:19
@harikakondur harikakondur changed the title feat: merge Google docs xmas feature branch [] feat: merge Google docs xmas feature branch [INTEG-3388] Jan 5, 2026
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.

5 participants