[PR #323] [MERGED] feat: promise safety #878

Closed
opened 2026-02-26 19:30:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/323
Author: @Mythie
Created: 8/29/2023
Status: Merged
Merged: 8/30/2023
Merged by: @Mythie

Base: feat/refreshHead: feat/promise-safety


📝 Commits (1)

  • ca40e98 feat: promise safety with eslint

📊 Changes

35 files changed (+103 additions, -57 deletions)

View changed files

.eslintignore (+7 -0)
📝 apps/marketing/src/app/(marketing)/[content]/page.tsx (+1 -1)
📝 apps/marketing/src/app/(marketing)/blog/[post]/page.tsx (+1 -1)
📝 apps/marketing/src/app/(marketing)/open/page.tsx (+3 -3)
📝 apps/marketing/src/app/(marketing)/page.tsx (+1 -1)
📝 apps/marketing/src/components/(marketing)/claim-plan-dialog.tsx (+3 -1)
📝 apps/marketing/src/components/(marketing)/password-reveal.tsx (+1 -1)
📝 apps/marketing/src/components/(marketing)/widget.tsx (+4 -2)
📝 apps/web/src/app/(signing)/sign/[token]/name-field.tsx (+1 -1)
📝 apps/web/src/app/(signing)/sign/[token]/signature-field.tsx (+1 -1)
📝 apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx (+1 -1)
📝 apps/web/src/components/(marketing)/claim-plan-dialog.tsx (+3 -1)
📝 apps/web/src/components/(marketing)/password-reveal.tsx (+1 -1)
📝 apps/web/src/components/(marketing)/widget.tsx (+4 -2)
📝 apps/web/src/components/forms/signin.tsx (+1 -4)
📝 apps/web/src/helpers/get-feature-flag.ts (+2 -2)
📝 apps/web/src/helpers/get-post-hog-server-client.ts (+1 -1)
📝 apps/web/src/middleware.ts (+1 -1)
📝 apps/web/src/pages/api/trpc/[trpc].ts (+1 -1)
📝 apps/web/src/providers/feature-flag.tsx (+2 -2)

...and 15 more files

📄 Description

Updated based on #316

This takes a more lax approach while still ensuring promise safety for most use cases.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/323 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 8/29/2023 **Status:** ✅ Merged **Merged:** 8/30/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `feat/promise-safety` --- ### 📝 Commits (1) - [`ca40e98`](https://github.com/documenso/documenso/commit/ca40e983e3f35e8232477cb8e85061fcc35eff98) feat: promise safety with eslint ### 📊 Changes **35 files changed** (+103 additions, -57 deletions) <details> <summary>View changed files</summary> ➕ `.eslintignore` (+7 -0) 📝 `apps/marketing/src/app/(marketing)/[content]/page.tsx` (+1 -1) 📝 `apps/marketing/src/app/(marketing)/blog/[post]/page.tsx` (+1 -1) 📝 `apps/marketing/src/app/(marketing)/open/page.tsx` (+3 -3) 📝 `apps/marketing/src/app/(marketing)/page.tsx` (+1 -1) 📝 `apps/marketing/src/components/(marketing)/claim-plan-dialog.tsx` (+3 -1) 📝 `apps/marketing/src/components/(marketing)/password-reveal.tsx` (+1 -1) 📝 `apps/marketing/src/components/(marketing)/widget.tsx` (+4 -2) 📝 `apps/web/src/app/(signing)/sign/[token]/name-field.tsx` (+1 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/signature-field.tsx` (+1 -1) 📝 `apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx` (+1 -1) 📝 `apps/web/src/components/(marketing)/claim-plan-dialog.tsx` (+3 -1) 📝 `apps/web/src/components/(marketing)/password-reveal.tsx` (+1 -1) 📝 `apps/web/src/components/(marketing)/widget.tsx` (+4 -2) 📝 `apps/web/src/components/forms/signin.tsx` (+1 -4) 📝 `apps/web/src/helpers/get-feature-flag.ts` (+2 -2) 📝 `apps/web/src/helpers/get-post-hog-server-client.ts` (+1 -1) 📝 `apps/web/src/middleware.ts` (+1 -1) 📝 `apps/web/src/pages/api/trpc/[trpc].ts` (+1 -1) 📝 `apps/web/src/providers/feature-flag.tsx` (+2 -2) _...and 15 more files_ </details> ### 📄 Description Updated based on #316 This takes a more lax approach while still ensuring promise safety for most use cases. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:30:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#878
No description provided.