[PR #1228] [MERGED] chore: team stuff #1493

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1228
Author: @ephraimduncan
Created: 7/13/2024
Status: Merged
Merged: 7/25/2024
Merged by: @Mythie

Base: mainHead: chore/team-stuff


📝 Commits (10+)

  • 99a7687 feat: decline team invitation
  • 4313638 feat: decline team invitation in email
  • 589b760 feat: send delete team email
  • f1619e9 fix: image not showing in email
  • c26488e feat: remove team email confirmation
  • 3d4a3f1 Merge branch 'main' into chore/team-stuff
  • 02e9ff8 Merge branch 'main' into chore/team-stuff
  • bb94116 feat: add join and leave team emails
  • 93c13c9 Merge branch 'main' into chore/team-stuff
  • 71d636a Merge branch 'main' into chore/team-stuff

📊 Changes

44 files changed (+1014 additions, -226 deletions)

View changed files

apps/web/public/static/delete-team.png (+0 -0)
apps/web/public/static/delete-user.png (+0 -0)
apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx (+46 -0)
📝 apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx (+3 -1)
📝 apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx (+11 -61)
apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx (+120 -0)
📝 apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx (+3 -2)
apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx (+153 -0)
📝 packages/app-tests/e2e/document-auth/access-auth.spec.ts (+1 -6)
📝 packages/app-tests/e2e/document-auth/action-auth.spec.ts (+1 -13)
📝 packages/app-tests/e2e/document-flow/settings-step.spec.ts (+2 -12)
📝 packages/app-tests/e2e/document-flow/signers-step.spec.ts (+1 -5)
📝 packages/app-tests/e2e/document-flow/stepper-component.spec.ts (+1 -15)
📝 packages/app-tests/e2e/teams/manage-team.spec.ts (+1 -5)
📝 packages/app-tests/e2e/teams/team-documents.spec.ts (+1 -15)
📝 packages/app-tests/e2e/teams/team-email.spec.ts (+4 -12)
📝 packages/app-tests/e2e/teams/team-members.spec.ts (+1 -11)
📝 packages/app-tests/e2e/teams/transfer-team.spec.ts (+1 -5)
📝 packages/app-tests/e2e/templates-flow/template-settings-step.spec.ts (+2 -10)
📝 packages/app-tests/e2e/templates-flow/template-signers-step.spec.ts (+1 -5)

...and 24 more files

📄 Description

Changes Made

  • Added functionality to decline team invitations
  • Add email notifications for when team is deleted
  • Add email notifications for team members joining and leaving

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Introduced the ability for users to decline team invitations directly within the app.
    • Added a dedicated button for declining invitations alongside existing acceptance options.
    • Implemented a dialog for confirming email removals and team deletions, enhancing user clarity and interaction.
    • New email templates created to notify users of team deletions, invitation declines, and member additions.
    • Enhanced functionality for notifying team administrators when a member joins or leaves.
  • Bug Fixes

    • Improved error handling and user feedback for decline actions and email notifications.
  • Documentation

    • Updated email notification templates and dialogs to improve user understanding of actions and consequences.

🔄 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/1228 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 7/13/2024 **Status:** ✅ Merged **Merged:** 7/25/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `chore/team-stuff` --- ### 📝 Commits (10+) - [`99a7687`](https://github.com/documenso/documenso/commit/99a7687f7ace4442b4364e2ac34a563ef75e815a) feat: decline team invitation - [`4313638`](https://github.com/documenso/documenso/commit/43136381e7f44baac692b1cb21cdc291465e0831) feat: decline team invitation in email - [`589b760`](https://github.com/documenso/documenso/commit/589b760998b69a5f5840e9e281c3b52ff7aac1bf) feat: send delete team email - [`f1619e9`](https://github.com/documenso/documenso/commit/f1619e9c776830b34d83feb1034f6ecf350b5373) fix: image not showing in email - [`c26488e`](https://github.com/documenso/documenso/commit/c26488e98b399eaf1c1654096ff57a30a16015aa) feat: remove team email confirmation - [`3d4a3f1`](https://github.com/documenso/documenso/commit/3d4a3f1ac339b20c433fbf5aad7e31f86221518d) Merge branch 'main' into chore/team-stuff - [`02e9ff8`](https://github.com/documenso/documenso/commit/02e9ff874406f9c25aca4a82b82d24e81fa0b7dc) Merge branch 'main' into chore/team-stuff - [`bb94116`](https://github.com/documenso/documenso/commit/bb941165fcaade052fad104e272c4ff04eebb96a) feat: add join and leave team emails - [`93c13c9`](https://github.com/documenso/documenso/commit/93c13c9dcabaad8a35c71ca7c981f1f8fc6c0e28) Merge branch 'main' into chore/team-stuff - [`71d636a`](https://github.com/documenso/documenso/commit/71d636a8c2b890743761f64eb9236894b8338eaa) Merge branch 'main' into chore/team-stuff ### 📊 Changes **44 files changed** (+1014 additions, -226 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/public/static/delete-team.png` (+0 -0) ➕ `apps/web/public/static/delete-user.png` (+0 -0) ➕ `apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx` (+46 -0) 📝 `apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx` (+3 -1) 📝 `apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx` (+11 -61) ➕ `apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx` (+120 -0) 📝 `apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx` (+3 -2) ➕ `apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx` (+153 -0) 📝 `packages/app-tests/e2e/document-auth/access-auth.spec.ts` (+1 -6) 📝 `packages/app-tests/e2e/document-auth/action-auth.spec.ts` (+1 -13) 📝 `packages/app-tests/e2e/document-flow/settings-step.spec.ts` (+2 -12) 📝 `packages/app-tests/e2e/document-flow/signers-step.spec.ts` (+1 -5) 📝 `packages/app-tests/e2e/document-flow/stepper-component.spec.ts` (+1 -15) 📝 `packages/app-tests/e2e/teams/manage-team.spec.ts` (+1 -5) 📝 `packages/app-tests/e2e/teams/team-documents.spec.ts` (+1 -15) 📝 `packages/app-tests/e2e/teams/team-email.spec.ts` (+4 -12) 📝 `packages/app-tests/e2e/teams/team-members.spec.ts` (+1 -11) 📝 `packages/app-tests/e2e/teams/transfer-team.spec.ts` (+1 -5) 📝 `packages/app-tests/e2e/templates-flow/template-settings-step.spec.ts` (+2 -10) 📝 `packages/app-tests/e2e/templates-flow/template-signers-step.spec.ts` (+1 -5) _...and 24 more files_ </details> ### 📄 Description ## Changes Made - Added functionality to decline team invitations - Add email notifications for when team is deleted - Add email notifications for team members joining and leaving <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Introduced the ability for users to decline team invitations directly within the app. - Added a dedicated button for declining invitations alongside existing acceptance options. - Implemented a dialog for confirming email removals and team deletions, enhancing user clarity and interaction. - New email templates created to notify users of team deletions, invitation declines, and member additions. - Enhanced functionality for notifying team administrators when a member joins or leaves. - **Bug Fixes** - Improved error handling and user feedback for decline actions and email notifications. - **Documentation** - Updated email notification templates and dialogs to improve user understanding of actions and consequences. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:30 +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#1493
No description provided.