{
+ e.stopPropagation()
+ setFeedActive(feed)
+ }}
+ 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: () => {
+ // TODO
+ },
+ },
+ {
+ type: "text",
+ label: "Open Site in Browser",
+ click: () => window.open(feed.feeds.siteUrl),
+ },
+ ],
+ 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}
+ )}
+
setDialogOpen(false)}
+ isSubscribed={true}
+ />
+
+