From edb43eb22414705497962b52675fb5c741b08630 Mon Sep 17 00:00:00 2001 From: Gandharv Date: Wed, 8 Dec 2021 13:12:47 +0530 Subject: [PATCH] Add embeddable share link (#1522) * add embeddable share link * use slug from props * remove unwanted feature policies --- frontend/src/Editor/ManageAppUsers.jsx | 23 +++++++++++++++++++++++ frontend/src/_ui/Textarea/index.js | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/Editor/ManageAppUsers.jsx b/frontend/src/Editor/ManageAppUsers.jsx index 69219ccd13..32d57c055d 100644 --- a/frontend/src/Editor/ManageAppUsers.jsx +++ b/frontend/src/Editor/ManageAppUsers.jsx @@ -7,6 +7,7 @@ import { CopyToClipboard } from 'react-copy-to-clipboard'; import 'react-toastify/dist/ReactToastify.css'; import Skeleton from 'react-loading-skeleton'; import { debounce } from 'lodash'; +import Textarea from '@/_ui/Textarea'; class ManageAppUsers extends React.Component { constructor(props) { @@ -134,6 +135,7 @@ class ManageAppUsers extends React.Component { const appLink = `${window.location.origin}/applications/`; const shareableLink = appLink + (this.props.slug || appId); const slugButtonClass = isSlugVerificationInProgress ? '' : slugError !== null ? 'is-invalid' : 'is-valid'; + const embeddableLink = ``; return (
@@ -220,6 +222,27 @@ class ManageAppUsers extends React.Component {

+
+ +
+