Commit Graph
62 Commits
Author SHA1 Message Date
Catalin Pit 627265f016 fix: return updated doc (#1089)
## Description

Fetch the updated version of the document after sealing it and return
it. Previously, the `document.documentData.data` wasn't up to date. Now
it is.

## Related Issue

Fixes #1088.

## Testing Performed

* Added console.logs in the code to make sure it returns the proper data
* Set up a webhook and tested that the webhook receives the updated data

## Checklist

<!--- Please check the boxes that apply to this pull request. -->
<!--- You can add or remove items as needed. -->

- [x] I have tested these changes locally and they work as expected.
- [ ] I have added/updated tests that prove the effectiveness of these
changes.
- [ ] I have updated the documentation to reflect these changes, if
applicable.
- [x] I have followed the project's coding style guidelines.
- [ ] I have addressed the code review feedback from the previous
submission, if applicable.
2024-04-08 19:28:50 +07:00
Catalin Pit a9bb559568 fix: avoid opengraph image limit 2024-03-14 10:56:46 +02:00
Catalin Pit 6643c4b9fc update author description 2024-03-13 12:00:42 +02:00
Catalin Pit ec7b69f1a4 implement feedback 2024-03-13 11:59:12 +02:00
Catalin Pit 9ac346443d Merge branch 'main' into feat/add-website-cta 2024-03-11 13:06:46 +02:00
Catalin Pit e8b209eb82 fix: fixed cta component 2024-03-08 15:46:44 +02:00
Catalin Pit 0fdb7f7a8d fix: changed to card component 2024-03-08 15:30:08 +02:00
Catalin Pit 61ca34eee1 removed unused cn 2024-03-08 13:46:22 +02:00
Catalin Pit 41843691e8 feat: add website cta 2024-03-08 13:44:25 +02:00
Catalin Pit ee2cb0eedf docs: add article about public api 2024-03-08 10:20:58 +02:00
Catalin Pit 7b77084dee fix: deleted files that shouldn't have been committed 2024-03-07 11:34:19 +02:00
Catalin Pit a34334c4dc docs: add article on removing server actions 2024-03-07 11:32:01 +02:00
Catalin Pit 98e00739c8 Merge branch 'main' into feat/typefully 2024-03-01 15:05:14 +02:00
Catalin Pit ebe23335f8 fix: return the recipient as an array to match other formats from zapier (#971)
Return the recipient as an array to match the other formats for Zapier.
Otherwise, Zaps with the "DOCUMENT_OPENED" hooks won't work.

All the other webhooks return the "Recipient" field as an array.
2024-02-29 08:37:01 +02:00
Catalin Pit c8869b3088 chore: fixed UI for webhooks team 2024-02-28 09:18:05 +02:00
Catalin Pit 8bd1647a2d chore: fixed UI 2024-02-28 09:14:10 +02:00
Catalin Pit 00a7389af3 chore: implemented feedback 2024-02-28 08:13:28 +02:00
Catalin Pit 93e34a5abd Merge branch 'main' into feat/webhook-implementation 2024-02-27 16:37:29 +02:00
Catalin Pit f0a511e238 chore: refactor code 2024-02-27 15:22:02 +02:00
Catalin Pit 15c22d3897 feat: updated the triggerWebhook function 2024-02-26 12:52:30 +02:00
Catalin Pit fab4992e13 feat: add zapier support 2024-02-24 11:18:58 +02:00
Catalin Pit c6dbaaea21 Merge branch 'main' into feat/webhook-implementation 2024-02-19 10:02:06 +02:00
Catalin Pit 26d4bbf010 chore: ui updates 2024-02-16 13:58:03 +02:00
Catalin Pit cd240ae8a4 chore: loading spinner 2024-02-16 13:55:47 +02:00
Catalin Pit a1459b41fd Merge branch 'main' into feat/webhook-implementation 2024-02-16 13:04:38 +02:00
Catalin Pit 4d6e780abe chore: merge main 2024-02-16 12:12:54 +02:00
Catalin Pit 7f3f6f5312 feat: hide secret field 2024-02-16 11:44:03 +02:00
Catalin Pit 019db27b1d feat: trigger webhook functionality 2024-02-16 11:04:11 +02:00
Catalin Pit 61958989b4 feat: more webhook functionality 2024-02-14 14:38:58 +02:00
Catalin Pit 4878cf388f chore: add the missing signIn function 2024-02-13 07:53:36 +02:00
Catalin Pit 149f416be7 chore: refactor code 2024-02-13 07:50:22 +02:00
Catalin Pit c432261dd8 chore: disable button while form is submitting 2024-02-12 09:49:59 +02:00
Catalin Pit 1852aa4b05 chore: add info 2024-02-12 09:49:59 +02:00
Catalin Pit 0209127136 feat: delete webhook functionality 2024-02-09 16:28:18 +02:00
Catalin Pit ddb9dd11d7 feat: added backend stuff 2024-02-09 16:07:33 +02:00
Catalin Pit b3ba77dfed feat: allow user to choose expiry date 2024-02-09 11:35:09 +02:00
Catalin Pit b3514bd0c7 add new webhook dialog 2024-02-07 16:04:12 +02:00
Catalin Pit edeeaa5651 feat: implement webhooks 2024-02-06 16:12:31 +02:00
Catalin Pit c6457e75e0 feat: migration for verifying paid users (#889) 2024-02-05 14:17:01 +11:00
Catalin Pit 6053a4a40a chore: refactor 2024-01-30 12:56:32 +02:00
Catalin Pit cc090adce0 chore: refactor 2024-01-30 12:54:48 +02:00
Catalin Pit c0bb5205e1 chore: merged main 2024-01-29 10:14:56 +02:00
Catalin Pit 1676f5bf6c chore: removed unused code 2024-01-29 09:43:38 +02:00
Catalin Pit f514d55d27 chore: removed unused schema 2024-01-29 09:41:02 +02:00
Catalin Pit 751fb5275c Merge branch 'main' into feat/add-runtime-env 2024-01-26 14:04:54 +02:00
Catalin Pit b2cca9afb6 chore: refactor 2024-01-26 13:27:36 +02:00
Catalin Pit e2fa01509d chore: avoid returning unnecessary info 2024-01-25 17:33:35 +02:00
Catalin Pit 311c8da8fc chore: encrypt and decrypt email addr 2024-01-25 17:24:37 +02:00
Catalin Pit 49ecfc1a2c chore: refactor 2024-01-25 15:42:40 +02:00
Catalin Pit ffee2b2c9a chore: merged main 2024-01-25 13:43:11 +02:00
Catalin Pit 2f18518961 chore: merged main 2024-01-25 10:53:05 +02:00
Catalin Pit d451a7acce feat: add next-runtime-env 2024-01-25 10:48:20 +02:00
Catalin Pit 08011f9545 chore: added target blank for github link: (#851) 2024-01-23 11:27:10 +11:00
Catalin Pit b6aface982 chore: update api description 2024-01-19 16:59:48 +02:00
Catalin Pit b28a7f9702 chore: add openapi 2024-01-19 16:55:16 +02:00
Catalin PitandLucas Smith 204388888d fix: fix bug for completed document shortcut (#839)
When you're in the `/documents` page in the dashboard, if you hover over
a draft and a completed document, you'll see different URLs.

At the moment, the shortcut tries to go to the following URL for a
completed document `/documents/{doc-id}`.

However, that's the wrong URL, since the URL for a completed doc is
`/sign/{token}` when the user is the recipient, not the one that sent
the document for signing.

If it's the document owner & the document is completed, the URL is fine
as `/documents/{doc-id}`.

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
2024-01-18 09:38:42 +02:00
Catalin Pit 3b82ba57f3 chore: implemented feedback plus some restructuring 2024-01-17 12:44:25 +02:00
Catalin Pit 4aefb80989 feat: restrict app access for unverified users 2024-01-16 14:25:05 +02:00
Catalin Pit 3054d84ba7 chore: implemented feedback 2024-01-08 09:58:34 +02:00
Catalin Pit 4fd6a0d5b6 chore: update onOpenChange 2024-01-05 13:06:16 +02:00
Catalin Pit fface15a22 feat: jump to next field 2024-01-05 12:56:07 +02:00
Catalin Pit d283cc2d26 chore: implemented feedback 2023-12-21 16:02:02 +02:00