Skip to content

refactor: remove DocumentApi type and anything that depended on it#1456

Merged
ragi96 merged 6 commits intodevfrom
CU-869ccq13g_v4-refactor-Document_Peter-Tudosa
Mar 12, 2026
Merged

refactor: remove DocumentApi type and anything that depended on it#1456
ragi96 merged 6 commits intodevfrom
CU-869ccq13g_v4-refactor-Document_Peter-Tudosa

Conversation

@peter-tudosa
Copy link
Copy Markdown
Contributor

  • remove DocumentApiDummy and DocumentDummy testing utils
  • cleanup Document.ts types
  • remove getDocumentsByDocumentGroupId from AppBridgeBlock

@peter-tudosa peter-tudosa requested a review from ragi96 March 9, 2026 16:23
@peter-tudosa peter-tudosa requested a review from a team as a code owner March 9, 2026 16:23
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 9, 2026

🦋 Changeset detected

Latest commit: 70cbd34

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@frontify/app-bridge Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Collaborator

@ragi96 ragi96 left a comment

Choose a reason for hiding this comment

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

Changeset is missing

* @deprecated will be removed in version 4.0.0 of `@frontify/app-bridge`
* There won't be a replacement for this method. But Link Chooser will be in-sourced and there will be a command to open it.
*/
getDocumentsByDocumentGroupId(documentGroupId: number): Promise<Document[]>;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Here you need a follow up in the web-app as we need to move it to v3, similar to what I did here:

https://github.com/Frontify/web-app/pull/13428

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Riiiight...

Comment thread .changeset/nice-crabs-repeat.md Outdated
peter-tudosa and others added 4 commits March 10, 2026 15:23
* remove DocumentApiDummy and DocumentDummy testing utils
* cleanup Document.ts types
* remove `getDocumentsByDocumentGroupId` from AppBridgeBlock
Signed-off-by: Peter Tudosa <razvan-petru.tudosa@frontify.com>
Co-authored-by: Rafael Giezendanner <rafael.giezendanner@frontify.com>
Signed-off-by: Peter Tudosa <razvan-petru.tudosa@frontify.com>
@peter-tudosa peter-tudosa force-pushed the CU-869ccq13g_v4-refactor-Document_Peter-Tudosa branch from 168caeb to 06ba798 Compare March 10, 2026 14:23
peter-tudosa and others added 2 commits March 10, 2026 15:26
Signed-off-by: Peter Tudosa <razvan-petru.tudosa@frontify.com>
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator

@ragi96 ragi96 left a comment

Choose a reason for hiding this comment

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

V3 still works, great work

@ragi96 ragi96 merged commit f161110 into dev Mar 12, 2026
4 checks passed
@ragi96 ragi96 deleted the CU-869ccq13g_v4-refactor-Document_Peter-Tudosa branch March 12, 2026 09:06
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