aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-11 22:17:32 -0700
committerAdam Soltys <[email protected]>2026-10-11 22:17:32 -0700
commit4f49202c80662e617c9d666928b7e40df37cb9b8 (patch)
tree4be46a4a1aa4c3444f488c38843107beb137853c /src/features
parent8ff0bf21e308d4907cc2620d80f238a10341a28d (diff)
downloadcoinosv3-4f49202c80662e617c9d666928b7e40df37cb9b8.tar.gz
coinosv3-4f49202c80662e617c9d666928b7e40df37cb9b8.zip
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.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js7
1 files changed, 4 insertions, 3 deletions
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 ---------------------------------------