team-monite / monite-sdk

Monite SDK: Embed invoicing and payables into your app
https://docs.monite.com
MIT License
15 stars 8 forks source link

feat(DEV-12593): Merge create/preview steps of invoice creation into a single flow #312

Closed chebum closed 1 month ago

chebum commented 1 month ago

This PR opens invoice for editing immediately after its creation. Previously the user were directed back to the invoices list.

The PR contains a long test that fills required fields when creating a new Receivable. I didn't mock nested components because we had a broken test that tested Receivable creation. Therefore my longer test both restores the disabled test from 2022 and tests the new receivable creation flow.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: a55e0b0666ecb5c8714820959fe6103191ae0e73

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

This PR includes changesets to release 4 packages | Name | Type | | --------------------- | ----- | | @monite/sdk-react | Minor | | @team-monite/sdk-demo | Patch | | @monite/sdk-drop-in | Patch | | @monite/sdk-api | Minor |

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