From 4d44103a2d26bc575b2d638b8492497f2606356e Mon Sep 17 00:00:00 2001
From: John Doe
Date: Wed, 27 Dec 2023 18:10:49 +0100
Subject: [PATCH 1/3] remove unused build_web script
---
script/build-web.sh | 16 ----------------
1 file changed, 16 deletions(-)
delete mode 100755 script/build-web.sh
diff --git a/script/build-web.sh b/script/build-web.sh
deleted file mode 100755
index 3851312b..00000000
--- a/script/build-web.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-build() {
- echo 'building app for web'
-
- export INLINE_RUNTIME_CHUNK=false
- export GENERATE_SOURCEMAP=false
-
- craco --max_old_space_size=4096 build
-
- rm -rf dist
- mkdir -p dist
- cp -r build/* dist/
-}
-
-build
\ No newline at end of file
From 861d9c981bf943c051d9348eee3f422ec655bb8f Mon Sep 17 00:00:00 2001
From: John Doe
Date: Wed, 27 Dec 2023 18:10:57 +0100
Subject: [PATCH 2/3] remove debug line
---
src/components/Layout/Header.tsx | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/components/Layout/Header.tsx b/src/components/Layout/Header.tsx
index 386e4a45..749928b7 100644
--- a/src/components/Layout/Header.tsx
+++ b/src/components/Layout/Header.tsx
@@ -61,8 +61,6 @@ export const Header = () => {
setDNDDuration('never')
}
- console.log('location', location)
-
return (
<>
From 12bdd2798a68263f2d0370df487d7b3d0be0342b Mon Sep 17 00:00:00 2001
From: John Doe
Date: Wed, 27 Dec 2023 18:11:08 +0100
Subject: [PATCH 3/3] show article source on compact mode
---
src/features/cards/components/aiCard/ArticleItem.tsx | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/features/cards/components/aiCard/ArticleItem.tsx b/src/features/cards/components/aiCard/ArticleItem.tsx
index 8fee50ca..4068c5fa 100644
--- a/src/features/cards/components/aiCard/ArticleItem.tsx
+++ b/src/features/cards/components/aiCard/ArticleItem.tsx
@@ -36,6 +36,13 @@ const ArticleItem = (props: BaseItemPropsType) => {
{item.title}
+ {listingMode === 'compact' && (
+
+
+ {item.source}
+
+
+ )}
{listingMode === 'normal' && (