Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
feat: add share btn in more-action (#2491)
ztycaea0655942b
diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsxindex 5bebd0867..f2ce01c20 100644--- a/web/src/components/Memo.tsx+++ b/web/src/components/Memo.tsx@@ -18,6 +18,7 @@ import showMemoEditorDialog from "./MemoEditor/MemoEditorDialog";import MemoRelationListView from "./MemoRelationListView";import MemoResourceListView from "./MemoResourceListView";import showPreviewImageDialog from "./PreviewImageDialog";+import showShareMemoDialog from "./ShareMemoDialog";import UserAvatar from "./UserAvatar";import VisibilityIcon from "./VisibilityIcon";import "@/less/memo.less";@@ -263,6 +264,10 @@ const Memo: React.FC<Props> = (props: Props) => {{t("common.mark")}</span>)}+ <span className="btn" onClick={() => showShareMemoDialog(memo)}>+ <Icon.Share className="w-4 h-auto mr-2" />+ {t("common.share")}+ </span><Divider className="!my-1" /><span className="btn text-orange-500" onClick={handleArchiveMemoClick}><Icon.Archive className="w-4 h-auto mr-2" />