Skip to content

Conversation

@primeinteger
Copy link
Contributor

@primeinteger primeinteger commented Dec 19, 2025

Purpose

  • Adds the Review entries modal (final step after entries are created)
  • Adds the Error modal if entries failed to be created
    • clicking "Try again" will open the Preview modal where the user can try to create entries again with the same plan
  • Moves create entries logic to the frontend
    • allows more time for processing
    • attributes created entries to the user instead of the app

Screenshots

Showing the Review entries modal:
Screenshot 2025-12-19 at 12 32 48 PM

Showing the create entries error modal:
Screenshot 2025-12-19 at 12 55 02 PM

Showing the content entry is created by the user instead of the app:
Screenshot 2025-12-19 at 11 06 00 AM

@primeinteger primeinteger changed the title feat(google-docs): create entries in the frontend [INTEG-3363] feat(google-docs): review entries modal + create entries in the frontend [INTEG-3363] Dec 19, 2025
@primeinteger primeinteger changed the title feat(google-docs): review entries modal + create entries in the frontend [INTEG-3363] feat(google-docs): review entries modal [INTEG-3363] Dec 19, 2025
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.

Works as expected

@primeinteger primeinteger merged commit f660c04 into google-docs-xmas-fb Dec 19, 2025
7 checks passed
@primeinteger primeinteger deleted the INTEG-3363 branch December 19, 2025 21:37
harikakondur added a commit that referenced this pull request Jan 5, 2026
* fix: google docs package.json scripts so that it deploys correctly in ci (#10350)

* feat: preview step + functions refactor [INTEG-3348] (#10356)

* 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: rename functions and files to be consistent with each other (#10358)

* [INTEG-3359] feat: got google doc picker working (#10357)

* feat: got google doc picker working

* feat: explicitly add api key for google docs oauth connection

* feat(google-docs): review entries modal [INTEG-3363] (#10359)

* feat: reorganize file structure to be more compact (#10361)

* refactor: modal components in google docs to be its own component (#10362)

* refactor: content type analysis app action names to be consistent with other app actions (#10364)

* fix: retries for oauth to be 5 instead of 10 (#10365)

* [INTEG-3372] feat: google docs app works with references (#10366)

* feat: ai document parser can handle references now

* fix: console logs and fixed issues with creating entries and references being mapped

* fix: use correct prod deploy s3 base in google docs (#10368)

* fix: closing the modal from google docs picker no longer errors out (#10370)

* fix: update preview entry card ui [INTEG-3341] (#10367)

* 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

* [INTEG-3381] refactor: preview modal changes (#10372)

* fix: refactor the preview modal logic to have cleaner typings

* feat: update app action typing using generics

* fix: multiple entries (#10371)

* fix: replacing select with multiselect for content type picker modal [INTEG-3378] (#10380)

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

* cleanup

* feat: file picker upgrade [INTEG-3368] (#10379)

* feat: file picker upgrade

* removing suggested folders logic

* feat: consolidate asset creation (#10377)

* feat: loading state modal [INTEG-3382] (#10391)

* feat: loading modal for google doc app

* loadting state for creating entries

* chore: cleanup

* chore: cleanup up modal hook

* chore: remove extra fragment tags

* fixing ModalOrchestrator

* empty commit to trigger circleci

---------

Co-authored-by: ryunsong-contentful <124832189+ryunsong-contentful@users.noreply.github.com>
Co-authored-by: Adrian Meyer <8539634+primeinteger@users.noreply.github.com>
Co-authored-by: david-shibley-contentful <149433784+david-shibley-contentful@users.noreply.github.com>
Co-authored-by: david shibley <david.shibley@contentful.com>
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.

3 participants