diff --git a/entrypoints/content/components/tweet-card.tsx b/entrypoints/content/components/tweet-card.tsx
index a19dbce..f7ec3be 100644
--- a/entrypoints/content/components/tweet-card.tsx
+++ b/entrypoints/content/components/tweet-card.tsx
@@ -119,6 +119,7 @@ export function TweetCard({ element }: TweetCardProps) {
/>
>
))}
+
presented by AI Tweet
) : (
diff --git a/entrypoints/popup/App.tsx b/entrypoints/popup/App.tsx
index 41390fc..ec92906 100644
--- a/entrypoints/popup/App.tsx
+++ b/entrypoints/popup/App.tsx
@@ -53,13 +53,16 @@ function App() {
if (res && JSON.stringify(res).includes("reply")) {
setRepliedMessage(res.results);
setIsFinished(true);
+ setIsFetching(false);
} else {
setIsFinished(true);
+ setIsFetching(false);
setNoReplies(true);
}
} catch (e) {
console.error(e);
setIsFinished(true);
+ setIsFetching(false);
setNoReplies(true);
}
};
@@ -70,20 +73,34 @@ function App() {
return (
<>
-
+
- Tweet Talk
+
+
+
![](./icon/128.png)
+ AI Tweet
+
+
+
输入内容,获得知名人士的锐评。
-
-
+
- {isFetching &&
+ {(isFetching || isFinished) &&
{!noReplies ? (
>
))}
+ presented by AI Tweet
) : (
diff --git a/package.json b/package.json
index 5157f95..24ab5cd 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "tweet-talk",
- "description": "A browser extension that reviews tweets for you.",
+ "description": "Creative replies by AI celebrities, make twitter fun again.",
"private": true,
- "version": "1.2.2",
+ "version": "1.3",
"type": "module",
"scripts": {
"dev": "wxt",
diff --git a/public/icon/128.png b/public/icon/128.png
old mode 100644
new mode 100755
index 1a2efb2..018ee18
Binary files a/public/icon/128.png and b/public/icon/128.png differ
diff --git a/public/icon/16.png b/public/icon/16.png
old mode 100644
new mode 100755
index 41554ad..67b8a5c
Binary files a/public/icon/16.png and b/public/icon/16.png differ
diff --git a/public/icon/32.png b/public/icon/32.png
old mode 100644
new mode 100755
index 7e73bfb..b544461
Binary files a/public/icon/32.png and b/public/icon/32.png differ
diff --git a/public/icon/48.png b/public/icon/48.png
old mode 100644
new mode 100755
index cbb9ece..2b372ce
Binary files a/public/icon/48.png and b/public/icon/48.png differ
diff --git a/public/icon/96.png b/public/icon/96.png
old mode 100644
new mode 100755
index 39eedc3..a032e18
Binary files a/public/icon/96.png and b/public/icon/96.png differ
diff --git a/public/icon/github-light.svg b/public/icon/github-light.svg
new file mode 100644
index 0000000..46fd243
--- /dev/null
+++ b/public/icon/github-light.svg
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/public/icon/twitter.svg b/public/icon/twitter.svg
new file mode 100644
index 0000000..0819971
--- /dev/null
+++ b/public/icon/twitter.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/wxt.config.ts b/wxt.config.ts
index 0135526..09fb0ba 100644
--- a/wxt.config.ts
+++ b/wxt.config.ts
@@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
modules: ["@wxt-dev/module-react"],
manifest: {
- name: "Tweet Talk",
+ name: "AI Tweet",
web_accessible_resources: [
{
resources: ["*.png"],