Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: user's roles prompt on invite modal
liyasthomas2c014a2f4b8a
diff --git a/packages/hoppscotch-app/components/teams/Invite.vue b/packages/hoppscotch-app/components/teams/Invite.vueindex e57ef5439..bfb20ccf6 100644--- a/packages/hoppscotch-app/components/teams/Invite.vue+++ b/packages/hoppscotch-app/components/teams/Invite.vue@@ -261,6 +261,80 @@/></div></div>+ <div+ v-if="newInvites.length"+ class="+ px-4+ mt-4+ py-4+ rounded+ border border-dividerLight+ bg-primaryLight+ "+ >+ <span class="pb-2 flex items-center font-semibold">+ <i class="text-secondaryLight mr-2 material-icons">help_outline</i>+ {{ $t("profile.roles") }}+ </span>+ <p>+ <span class="text-secondaryLight">+ {{ $t("profile.roles_description") }}+ </span>+ </p>+ <ul class="mt-4 space-y-4">+ <li class="flex">+ <span+ class="+ font-semibold+ text-secondaryDark+ uppercase+ truncate+ max-w-16+ w-1/4+ "+ >+ {{ $t("profile.owner") }}+ </span>+ <span class="flex flex-1">+ {{ $t("profile.owner_description") }}+ </span>+ </li>+ <li class="flex">+ <span+ class="+ font-semibold+ text-secondaryDark+ uppercase+ truncate+ max-w-16+ w-1/4+ "+ >+ {{ $t("profile.editor") }}+ </span>+ <span class="flex flex-1">+ {{ $t("profile.editor_description") }}+ </span>+ </li>+ <li class="flex">+ <span+ class="+ font-semibold+ text-secondaryDark+ uppercase+ truncate+ max-w-16+ w-1/4+ "+ >+ {{ $t("profile.viewer") }}+ </span>+ <span class="flex flex-1">+ {{ $t("profile.viewer_description") }}+ </span>+ </li>+ </ul>+ </div></div></template><template #footer>diff --git a/packages/hoppscotch-app/locales/en.json b/packages/hoppscotch-app/locales/en.jsonindex 5d457c71f..425943d29 100644--- a/packages/hoppscotch-app/locales/en.json+++ b/packages/hoppscotch-app/locales/en.json@@ -310,6 +310,16 @@"waiting_for_connection": "waiting for connection","xml": "XML"},+ "profile": {+ "roles": "Roles",+ "roles_description": "Roles are used to control access to the shared collections.",+ "owner": "Owner",+ "owner_description": "Owners can add, edit, and delete requests, collections and team members.",+ "editor": "Editor",+ "editor_description": "Editors can add, edit, and delete requests.",+ "viewer": "Viewer",+ "viewer_description": "Viewers can only view and use requests."+ },"settings": {"accent_color": "Accent color","account": "Account",