diff --git a/packages/client/components/ActivityLibrary/ActivityCard.tsx b/packages/client/components/ActivityLibrary/ActivityCard.tsx index 724e791960b..260013189a5 100644 --- a/packages/client/components/ActivityLibrary/ActivityCard.tsx +++ b/packages/client/components/ActivityLibrary/ActivityCard.tsx @@ -38,7 +38,7 @@ export const ActivityCardImage = (props: PropsWithChildren Card Illustration diff --git a/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx b/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx index 2f7ecf45cc3..a46f0a1c924 100644 --- a/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx +++ b/packages/client/components/ActivityLibrary/ActivityDetails/ActivityDetails.tsx @@ -88,13 +88,12 @@ const ActivityDetails = (props: Props) => { }` const isOwner = viewerLowestScope === 'TEAM' - const MOBILE_SETTINGS_HEIGHT = 208 return ( -
-
-
-
+
+
+
+
@@ -102,58 +101,51 @@ const ActivityDetails = (props: Props) => {
Start Activity
-
-
- - - -
-
-
- -
- +
+
+ + + +
+
+
+
+
-
+
-
+
{ return (
-
+
{__typename === 'FixedActivity' && (
Created by Parabol
@@ -273,9 +273,9 @@ export const TemplateDetails = (props: Props) => {
{activityDescription}
- {integrationsTip} + {integrationsTip} -
+
{prompts && ( <> { const {className, children} = props return ( -
+
diff --git a/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx b/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx index 5e158061100..928416576a5 100644 --- a/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx +++ b/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx @@ -40,13 +40,12 @@ interface Props { selectedTemplateRef: ActivityDetailsSidebar_template$key teamsRef: ActivityDetailsSidebar_teams$key type: MeetingTypeEnum - isOpen: boolean preferredTeamId: string | null viewerRef: ActivityDetailsSidebar_viewer$key } const ActivityDetailsSidebar = (props: Props) => { - const {selectedTemplateRef, teamsRef, type, isOpen, preferredTeamId, viewerRef} = props + const {selectedTemplateRef, teamsRef, type, preferredTeamId, viewerRef} = props const [isMinimized, setIsMinimized] = useState(false) const isMobile = !useBreakpoint(Breakpoint.INVOICE) const selectedTemplate = useFragment( @@ -252,14 +251,7 @@ const ActivityDetailsSidebar = (props: Props) => { return ( <> - {isOpen &&
} -
+
Settings @@ -311,7 +303,6 @@ const ActivityDetailsSidebar = (props: Props) => {
{error && {error.message}} - {/* TODO: scheduling meeting does not work with one-on-one https://github.com/ParabolInc/parabol/issues/8820 */}