Compare commits

...

2 Commits

Author SHA1 Message Date
Laan Tungir
7d500495a7 post.html: comment button now opens post-feed.html like feed.html 2026-07-01 18:55:25 -04:00
Laan Tungir
7da3b7047c Remove debug logging from notifications menu 2026-07-01 17:30:39 -04:00
3 changed files with 6 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
{
"VERSION": "v0.7.90",
"VERSION_NUMBER": "0.7.90",
"BUILD_DATE": "2026-07-01T20:54:24.423Z"
"VERSION": "v0.7.92",
"VERSION_NUMBER": "0.7.92",
"BUILD_DATE": "2026-07-01T22:55:25.679Z"
}

View File

@@ -1108,12 +1108,6 @@ import { createProfileCache } from './js/profile-cache.mjs';
// post-interactions module via a detached interaction bar (kept out of
// the DOM so it never shows up in the row). Menu items trigger clicks
// on the corresponding buttons in that detached bar.
console.log('[notifications] buildNotificationRow menu check', {
notifId: item.id,
kind: item.kind,
targetEventId: item.targetEventId,
hasInteractions: !!interactions
});
if (item.targetEventId && interactions) {
const targetPubkey = item.targetPubkey || currentPubkey;
const targetEventData = { id: item.targetEventId, pubkey: targetPubkey };

View File

@@ -491,17 +491,9 @@ import { initPostCards } from './js/post-interactions2.mjs';
}
function handleComposerCommentIntent({ postId, postPubkey }) {
const postEl = document.querySelector(`.divPostItem[data-post-id="${postId}"]`);
if (!postEl) return false;
const entry = getOrCreateInlineComposer(postId, postEl);
if (!entry) return false;
entry.tags = [
['e', postId, '', 'reply'],
['p', postPubkey]
];
if (entry.instance?.show) entry.instance.show();
return focusInlineComposer(entry.hostEl, '');
if (!postId) return false;
window.open('./post-feed.html?event=' + encodeURIComponent(postId), '_blank');
return true;
}
function handleComposerQuoteIntent({ postId, postPubkey }) {