Skip to content

Commit

Permalink
Merge pull request #3605 from omnivore-app/feat/web-temp-disable-summ…
Browse files Browse the repository at this point in the history
…aries

Temporarily disable ai summaries
  • Loading branch information
jacksonh authored Mar 1, 2024
2 parents b1d6d44 + f3d5903 commit 003be5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
recommendationsWithNotes={recommendationsWithNotes}
/>
)}
{userHasFeature(props.viewer, 'ai-summaries') && (
{/* {userHasFeature(props.viewer, 'ai-summaries') && (
<AISummary
libraryItemId={props.article.id}
idx="latest"
Expand All @@ -455,7 +455,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
lineHeight={styles.lineHeight}
readerFontColor={styles.readerFontColor}
/>
)}
)} */}
</VStack>
<Article
articleId={props.article.id}
Expand Down
4 changes: 2 additions & 2 deletions packages/web/components/templates/homeFeed/LibraryHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const HeaderControls = (props: LibraryHeaderProps): JSX.Element => {
/>

<SpanBox css={{ display: 'flex', ml: 'auto', gap: '10px' }}>
{userHasFeature(props.viewer, 'ai-summaries') && (
{/* {userHasFeature(props.viewer, 'ai-summaries') && (
<Button
title="TLDR Summaries"
style="plainIcon"
Expand All @@ -176,7 +176,7 @@ const HeaderControls = (props: LibraryHeaderProps): JSX.Element => {
>
<HeaderToggleTLDRIcon />
</Button>
)}
)} */}

<Button
title={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ export function useGetLibraryItemsQuery({
ownedByViewer
originalArticleUrl
uploadFileId
aiSummary
labels {
id
name
Expand Down

0 comments on commit 003be5b

Please sign in to comment.