-
- Level up how you interact with posts using AI-powered prompts. Extract
- insights, refine content, or run custom instructions to get more out
- of every post in one click.
-
-
-
- );
-};
diff --git a/packages/shared/src/components/modals/plus/SmartPromptModal.tsx b/packages/shared/src/components/modals/plus/SmartPromptModal.tsx
deleted file mode 100644
index 86b96a4000b..00000000000
--- a/packages/shared/src/components/modals/plus/SmartPromptModal.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import type { ReactElement } from 'react';
-import React from 'react';
-import type { ModalProps } from '../common/Modal';
-import { Modal } from '../common/Modal';
-import { Image } from '../../image/Image';
-import { smartPromptModalImage } from '../../../lib/image';
-import {
- Typography,
- TypographyColor,
- TypographyType,
-} from '../../typography/Typography';
-import { PlusUser } from '../../PlusUser';
-import { Button, ButtonVariant } from '../../buttons/Button';
-import { plusUrl } from '../../../lib/constants';
-import { DevPlusIcon } from '../../icons';
-import { LogEvent, TargetId } from '../../../lib/log';
-import { useConditionalFeature, usePlusSubscription } from '../../../hooks';
-import { featurePlusCtaCopy } from '../../../lib/featureManagement';
-import Link from '../../utilities/Link';
-
-export const SmartPromptModal = ({ ...props }: ModalProps): ReactElement => {
- const { logSubscriptionEvent, isPlus } = usePlusSubscription();
- const {
- value: { full: plusCta },
- } = useConditionalFeature({
- feature: featurePlusCtaCopy,
- shouldEvaluate: !isPlus,
- });
- return (
-
-
-
-
-
- Smart Prompts
-
-
-
-
-
- Level up how you interact with posts using AI-powered prompts. Extract
- insights, refine content, or run custom instructions to get more out
- of every post in one click.
-
-
- }
- onClick={async () => {
- logSubscriptionEvent({
- event_name: LogEvent.UpgradeSubscription,
- target_id: TargetId.SmartPrompt,
- });
- }}
- >
- {plusCta}
-
-
-
-
- );
-};
diff --git a/packages/shared/src/components/plus/PlusList.tsx b/packages/shared/src/components/plus/PlusList.tsx
index 9a23dfb9a57..53fd5c64f51 100644
--- a/packages/shared/src/components/plus/PlusList.tsx
+++ b/packages/shared/src/components/plus/PlusList.tsx
@@ -9,7 +9,6 @@ import { useLogContext } from '../../contexts/LogContext';
import {
BlockIcon,
BriefIcon,
- CustomPromptIcon,
FolderIcon,
HashtagIcon,
LabelIcon,
@@ -28,8 +27,6 @@ import {
plusShowcasePresidentialBriefImage,
plusShowcaseShieldImage,
plusShowcaseShieldVideo,
- plusShowcaseSmartPrompsImage,
- plusShowcaseSmartPrompsVideo,
plusShowcaseSquadImage,
plusShowcaseTeamImage,
plusShowcaseTeamVideo,
@@ -86,22 +83,6 @@ export const plusFeatureListControl: Array = [
mediaType: 'image',
},
},
- {
- id: 'smart prompts',
- label: 'Run prompts on any post',
- status: PlusItemStatus.Ready,
- tooltip: `Turn any post into an interactive learning experience. Ask AI to simplify concepts, challenge ideas, compare alternatives, or create your own custom prompt.`,
- icon: ,
- iconClasses: 'bg-overlay-float-bacon text-accent-bacon-default',
- modalProps: {
- title: 'Run prompts on any post',
- description:
- 'Turn any post into an interactive learning experience. Ask AI to simplify concepts, challenge ideas, compare alternatives, or create your own custom prompt.',
- videoUrl: plusShowcaseSmartPrompsVideo,
- imageUrl: plusShowcaseSmartPrompsImage,
- mediaType: 'video',
- },
- },
{
id: 'custom feeds',
label: 'Advanced custom feeds',
diff --git a/packages/shared/src/components/post/PostContent.tsx b/packages/shared/src/components/post/PostContent.tsx
index b27532367a7..0408b366d52 100644
--- a/packages/shared/src/components/post/PostContent.tsx
+++ b/packages/shared/src/components/post/PostContent.tsx
@@ -25,7 +25,7 @@ import { cloudinaryPostImageCoverPlaceholder } from '../../lib/image';
import { withPostById } from './withPostById';
import { PostClickbaitShield } from './common/PostClickbaitShield';
import { useSmartTitle } from '../../hooks/post/useSmartTitle';
-import { SmartPrompt } from './smartPrompts/SmartPrompt';
+import ShowMoreContent from '../cards/common/ShowMoreContent';
import { PostTagList } from './tags/PostTagList';
import PostSourceInfo from './PostSourceInfo';
@@ -191,10 +191,19 @@ export function PostContentRaw({
/>
)}
{post.summary && (
-
+
{
- if (element) {
- setWidth(element.getBoundingClientRect().width);
- }
- }}
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- setActiveDisplay(PromptDisplay.TLDR);
- }}
- >
- Level up how you interact with posts using AI-powered prompts.
- Extract insights, refine content, or run custom instructions to get
- more out of every post in one click.
-
-
-
-