From 4f49202c80662e617c9d666928b7e40df37cb9b8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 11 Oct 2026 22:17:32 -0700 Subject: Feed menu: Delete feed sits beside Edit. Dropping a feed you built meant opening its editor first (a saved timeline already had the drop in the ⋯ menu, having nothing to edit); the menu now offers Delete feed for every feed of yours, Edit above it where there is something to edit. The editor keeps its own Delete feed. feed-custom-test deletes "Coin talk" from the menu. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.1 --- src/features/messages.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/features') diff --git a/src/features/messages.js b/src/features/messages.js index ef427eb..3bccd31 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -11024,9 +11024,10 @@ export function messagesFeature(ctx) { def.builtin || visitor ? null : adhocFeeds.has(def.id) ? item('\u{1F4BE}', t('feedSaveAdhoc'), () => (def.of ? saveTimelineFeed(def) : openFeedEditor(def))) - // a saved timeline is the person, nothing to edit — only to drop - : def.of ? item('\u{1F5D1}', t('feedDelete'), () => deleteFeed(def.id)) - : item('\u270e', t('feedEdit'), () => openFeedEditor(def)), + // a saved timeline is the person, nothing to edit — only to drop; + // the drop sits in the menu for every feed, not behind Edit + : [def.of ? null : item('\u270e', t('feedEdit'), () => openFeedEditor(def)), + item('\u{1F5D1}', t('feedDelete'), () => deleteFeed(def.id))], h('button', { class: 'btn-ghost btn-block', onClick: close }, t('back')))); } // ---- a visitor at the action bar --------------------------------------- -- cgit v1.2.3