{
+ e.stopPropagation()
+ setFeedActive(feed)
+ }}
+ onDoubleClick={() => {
+ window.open(
+ `${import.meta.env.VITE_WEB_URL}/feed/${feed.feedId}`,
+ "_blank",
+ )
+ }}
+ onContextMenu={(e) => {
+ showNativeMenu(
+ [
+ {
+ type: "text",
+ label: "Edit",
+ click: () => window.open(`follow://add?id=${feed.feedId}`),
+ },
+ {
+ type: "text",
+ label: "Unfollow",
+ click: () => deleteMutation.mutate(feed),
+ },
+ {
+ type: "separator",
+ },
+ {
+ type: "text",
+ label: "Open Feed in Browser",
+ click: () =>
+ window.open(
+ `${import.meta.env.VITE_WEB_URL}/feed/${feed.feedId}?view=${view}`,
+ "_blank",
+ ),
+ },
+ {
+ type: "text",
+ label: "Open Site in Browser",
+ click: () =>
+ feed.feeds.siteUrl &&
+ window.open(feed.feeds.siteUrl, "_blank"),
+ },
+ ],
+ e,
+ )
+ }}
+ >
{
- e.stopPropagation()
- setFeedActive(feed)
- }}
- onDoubleClick={() => {
- window.open(
- `${import.meta.env.VITE_WEB_URL}/feed/${feed.feedId}`,
- "_blank",
- )
- }}
- onContextMenu={(e) => {
- showNativeMenu(
- [
- {
- type: "text",
- label: "Edit",
- click: () => setDialogOpen(true),
- },
- {
- type: "text",
- label: "Unfollow",
- click: () => deleteMutation.mutate(feed),
- },
- {
- type: "separator",
- },
- {
- type: "text",
- label: "Open Feed in Browser",
- click: () =>
- window.open(
- `${import.meta.env.VITE_WEB_URL}/feed/${feed.feedId}?view=${view}`,
- "_blank",
- ),
- },
- {
- type: "text",
- label: "Open Site in Browser",
- click: () =>
- feed.feeds.siteUrl &&
- window.open(feed.feeds.siteUrl, "_blank"),
- },
- ],
- e,
- )
- }}
>
-
-
-
{feed.feeds.title}
- {feed.feeds.errorAt && (
-
-
-
-
-
-
-
- Error since
- {" "}
- {dayjs
- .duration(
- dayjs(feed.feeds.errorAt).diff(dayjs(), "minute"),
- "minute",
- )
- .humanize(true)}
-
-
-
-
- )}
- {feed.isPrivate && (
-
-
-
-
-
-
-
- Not publicly visible on your profile page
-
-
-
-
- )}
-
- {!!feed.unread && (
-
{feed.unread}
+
+
{feed.feeds.title}
+ {feed.feeds.errorAt && (
+
+
+
+
+
+
+
+ Error since
+ {" "}
+ {dayjs
+ .duration(
+ dayjs(feed.feeds.errorAt).diff(dayjs(), "minute"),
+ "minute",
+ )
+ .humanize(true)}
+
+
+
+
+ )}
+ {feed.isPrivate && (
+
+
+
+
+
+
+
+ Not publicly visible on your profile page
+
+
+
+
)}
-
setDialogOpen(false)}
- isSubscribed={true}
- />
-
+ {!!feed.unread && (
+
{feed.unread}
+ )}
+
)
}
diff --git a/src/renderer/src/pages/add/index.tsx b/src/renderer/src/pages/add/index.tsx
index 4960fcaa45..975ef2a8ad 100644
--- a/src/renderer/src/pages/add/index.tsx
+++ b/src/renderer/src/pages/add/index.tsx
@@ -99,7 +99,7 @@ export function Component() {