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
fix: make creation time a link to the detail page (#1379)
Gerald8b20cb9fd278
diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsxindex 9ba00c892..90f515b91 100644--- a/web/src/components/Memo.tsx+++ b/web/src/components/Memo.tsx@@ -171,8 +171,11 @@ const Memo: React.FC<Props> = (props: Props) => {editorStore.setEditMemoWithId(memo.id);};- const handleMemoCreatedTimeClick = () => {- showChangeMemoCreatedTsDialog(memo.id);+ const handleMemoCreatedTimeClick = (e: React.MouseEvent) => {+ if (e.altKey) {+ e.preventDefault();+ showChangeMemoCreatedTsDialog(memo.id);+ }};const handleMemoVisibilityClick = (visibility: Visibility) => {@@ -189,9 +192,9 @@ const Memo: React.FC<Props> = (props: Props) => {{memo.pinned && <div className="corner-container"></div>}<div className="memo-top-wrapper"><div className="status-text-container">- <span className="time-text" onDoubleClick={handleMemoCreatedTimeClick}>+ <Link className="time-text" to={`/m/${memo.id}`} onClick={handleMemoCreatedTimeClick}>{createdTimeStr}- </span>+ </Link>{isVisitorMode && (<Link className="name-text" to={`/u/${memo.creatorId}`}>@{memo.creatorName}