[PR #4087] [MERGED] feat(sh-admin): introducing advanced SMTP configurations and invite links to dashboard #4660

Closed
opened 2026-03-17 02:10:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4087
Author: @joeljstephen
Created: 5/24/2024
Status: Merged
Merged: 6/27/2024
Merged by: @AndrewBastin

Base: nextHead: feat/dashboard-invite-link


📝 Commits (10+)

  • eb89e12 feat: updated config handler and configs file to include new advanced smtp configs
  • 819e5aa feat: updated smtp configurations and i18n strings to include the new config additions
  • e5f9aa9 refactor: updated smtp config component to use advanced configs as checkbox
  • b64e0b9 feat: copy invite link for users and teams modules
  • 844a3f1 refactor: updated text with i18n strings
  • 410b294 feat: new mutation to toggle smtp
  • d047a5b feat: introduced custom mail configs and updated code to reflect the change
  • 570fe4a refactor: improvements to the empty field check
  • d642692 refactor: improvements to invite links
  • 895fcf0 refactor: code improvements and new i18n strings

📊 Changes

11 files changed (+406 additions, -98 deletions)

View changed files

📝 packages/hoppscotch-sh-admin/locales/en.json (+14 -3)
📝 packages/hoppscotch-sh-admin/src/components.d.ts (+36 -37)
📝 packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue (+9 -0)
📝 packages/hoppscotch-sh-admin/src/components/settings/SmtpConfiguration.vue (+119 -18)
📝 packages/hoppscotch-sh-admin/src/components/teams/PendingInvites.vue (+28 -11)
📝 packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue (+9 -12)
📝 packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts (+101 -10)
packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/ToggleSMTP.graphql (+3 -0)
📝 packages/hoppscotch-sh-admin/src/helpers/configs.ts (+46 -1)
📝 packages/hoppscotch-sh-admin/src/pages/users/index.vue (+21 -3)
📝 packages/hoppscotch-sh-admin/src/pages/users/invited.vue (+20 -3)

📄 Description

Ticket

  • Closes HFE-504
  • Depends on #4078

Description

This PR introduces additional advanced SMTP configurations to the dashboard. SMTP can be now be enabled without the need for email based authentication.

New updates that are added:

  • In the modal to invite a new user to the Hoppscotch Instance and invite a user into an existing/new workspace after the user's email is entered, admins can choose to either send the email or copy the invite link to the clipboard.
  • In the “Pending Invites” section, we have a button in the table that we can click to copy the invite link for that user to the clipboard.
  • In the Admin dashboard, under the “Invites” section of the workspaces page, we have a button beside the invites that we can click to copy the invite link for that user to the clipboard.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 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/hoppscotch/hoppscotch/pull/4087 **Author:** [@joeljstephen](https://github.com/joeljstephen) **Created:** 5/24/2024 **Status:** ✅ Merged **Merged:** 6/27/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `next` ← **Head:** `feat/dashboard-invite-link` --- ### 📝 Commits (10+) - [`eb89e12`](https://github.com/hoppscotch/hoppscotch/commit/eb89e12cc202f91d3051dc53750840057a52aadf) feat: updated config handler and configs file to include new advanced smtp configs - [`819e5aa`](https://github.com/hoppscotch/hoppscotch/commit/819e5aa2825fa1fc9d5cd224a85ef519c3a172b5) feat: updated smtp configurations and i18n strings to include the new config additions - [`e5f9aa9`](https://github.com/hoppscotch/hoppscotch/commit/e5f9aa94d4d129fbe426de8310326b48170278a4) refactor: updated smtp config component to use advanced configs as checkbox - [`b64e0b9`](https://github.com/hoppscotch/hoppscotch/commit/b64e0b9bc96612e088bd2f6cf87142045fbb13e5) feat: copy invite link for users and teams modules - [`844a3f1`](https://github.com/hoppscotch/hoppscotch/commit/844a3f1d5e070768ef1e20898f34852eb279c093) refactor: updated text with i18n strings - [`410b294`](https://github.com/hoppscotch/hoppscotch/commit/410b294dcd894b5cfe73943afb9d5b2897e1ad17) feat: new mutation to toggle smtp - [`d047a5b`](https://github.com/hoppscotch/hoppscotch/commit/d047a5b9b2c11417ab1b1d981e3bef5a9a4eb6ee) feat: introduced custom mail configs and updated code to reflect the change - [`570fe4a`](https://github.com/hoppscotch/hoppscotch/commit/570fe4a5c0aa06b7d52cbc6c61217ca8f22ce292) refactor: improvements to the empty field check - [`d642692`](https://github.com/hoppscotch/hoppscotch/commit/d6426926dcf83337573f5b738011ae8109b1a983) refactor: improvements to invite links - [`895fcf0`](https://github.com/hoppscotch/hoppscotch/commit/895fcf01539829a79b7b8f29f2d7bad0efb5e443) refactor: code improvements and new i18n strings ### 📊 Changes **11 files changed** (+406 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-sh-admin/locales/en.json` (+14 -3) 📝 `packages/hoppscotch-sh-admin/src/components.d.ts` (+36 -37) 📝 `packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue` (+9 -0) 📝 `packages/hoppscotch-sh-admin/src/components/settings/SmtpConfiguration.vue` (+119 -18) 📝 `packages/hoppscotch-sh-admin/src/components/teams/PendingInvites.vue` (+28 -11) 📝 `packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue` (+9 -12) 📝 `packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts` (+101 -10) ➕ `packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/ToggleSMTP.graphql` (+3 -0) 📝 `packages/hoppscotch-sh-admin/src/helpers/configs.ts` (+46 -1) 📝 `packages/hoppscotch-sh-admin/src/pages/users/index.vue` (+21 -3) 📝 `packages/hoppscotch-sh-admin/src/pages/users/invited.vue` (+20 -3) </details> ### 📄 Description ### Ticket - Closes HFE-504 - Depends on #4078 ### Description This PR introduces additional advanced SMTP configurations to the dashboard. SMTP can be now be enabled without the need for email based authentication. ### New updates that are added: - In the modal to invite a new user to the Hoppscotch Instance and invite a user into an existing/new workspace after the user's email is entered, admins can choose to either send the email or copy the invite link to the clipboard. - In the “Pending Invites” section, we have a button in the table that we can click to copy the invite link for that user to the clipboard. - In the Admin dashboard, under the “Invites” section of the workspaces page, we have a button beside the invites that we can click to copy the invite link for that user to the clipboard. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:10:29 +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/hoppscotch#4660
No description provided.