mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4704] [MERGED] feat: foundational changes to support subdomain based cloud instances #4910
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4910
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4704
Author: @jamesgeorge007
Created: 1/28/2025
Status: ✅ Merged
Merged: 2/24/2025
Merged by: @jamesgeorge007
Base:
next← Head:refactor/subdomain-cloud-instances-foundation📝 Commits (5)
8212e32refactor: foundational changes to support subdomain based cloud instances0dff117chore: copy text updates in user profile viewa6d5b49refactor: introduce UI platform definitions for custom business logiceb2e565chore: i18n string entry additionsd7c4b2bchore: remove reference toinitiateOnboardingaction at the platform level📊 Changes
25 files changed (+1222 additions, -351 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+412 -5)📝
packages/hoppscotch-common/src/components.d.ts(+30 -60)📝
packages/hoppscotch-common/src/components/embeds/index.vue(+22 -4)📝
packages/hoppscotch-common/src/components/firebase/Logout.vue(+16 -0)📝
packages/hoppscotch-common/src/components/profile/UserDelete.vue(+39 -11)📝
packages/hoppscotch-common/src/components/share/CustomizeModal.vue(+37 -9)📝
packages/hoppscotch-common/src/components/share/templates/Link.vue(+31 -4)📝
packages/hoppscotch-common/src/components/teams/Invite.vue(+45 -22)📝
packages/hoppscotch-common/src/components/workspace/Selector.vue(+14 -0)📝
packages/hoppscotch-common/src/helpers/backend/mutations/Shortcode.ts(+2 -11)📝
packages/hoppscotch-common/src/helpers/backend/mutations/Team.ts(+5 -12)📝
packages/hoppscotch-common/src/helpers/backend/mutations/TeamInvitation.ts(+8 -22)📝
packages/hoppscotch-common/src/helpers/shortcode/ShortcodeListAdapter.ts(+4 -12)📝
packages/hoppscotch-common/src/helpers/teams/TeamListAdapter.ts(+6 -9)📝
packages/hoppscotch-common/src/pages/enter.vue(+16 -1)📝
packages/hoppscotch-common/src/pages/join-team.vue(+90 -116)📝
packages/hoppscotch-common/src/pages/r/_id.vue(+206 -43)➕
packages/hoppscotch-common/src/platform/backend.ts(+72 -0)📝
packages/hoppscotch-common/src/platform/index.ts(+4 -0)➕
packages/hoppscotch-common/src/platform/organization.ts(+9 -0)...and 5 more files
📄 Description
What's changed
This PR is associated with the introduction of subdomain-based instances with the cloud offering adding the relevant foundational business logic catering to the updates at the platform level.
A new platform-level definition corresponding to certain actions abstracts the n/w calls. It accommodates additional arguments supplied to the same GQL queries/mutations to support subdomain-based cloud instances where a new organization entity is introduced.
Also, a few
uiplatform definitions are added with slots for custom business logic implemented at the platform level.i18nstring entries are added herewith.The existing actions are specified across platforms keeping the default behavior.
Notes to reviewers
Please ensure to verify the following flows on SH instances:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.