diff options
| author | Adam Soltys <[email protected]> | 2026-10-07 08:12:38 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-07 08:12:38 -0700 |
| commit | faad243486666eb4cbefcd7ff813329e707106dd (patch) | |
| tree | ce25612f6ed8fdd9355b08d7e07efb5c6b429c7f /tools/feed-switch-seed-test.js | |
| parent | 78cf670939133fc4f656f0f42b21a59431a53842 (diff) | |
| download | coinosv3-faad243486666eb4cbefcd7ff813329e707106dd.tar.gz coinosv3-faad243486666eb4cbefcd7ff813329e707106dd.zip | |
Feed tests: catch up with Articles, Popular as the default feed, timed feed defs and the tint that fades on sight
- feed-media-views: the mode switch has an Articles button now
- feed-media-cache: the live watch's since-only subscription isn't part of the crawl
- feed-switch-seed: seeded feeds carry their edit time (the feeds sync merge drops one without)
- feed-editor-relays: nos.lol is a local stand-in relay, so the test doesn't depend on reaching it
- feed-streaming: the stub wallet opens on Following (no remembered feed = Popular); the held picture
answers repeat fetches once released; the new-post tint is recorded as it paints (it fades on sight)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'tools/feed-switch-seed-test.js')
| -rw-r--r-- | tools/feed-switch-seed-test.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/feed-switch-seed-test.js b/tools/feed-switch-seed-test.js index e747744..1bad161 100644 --- a/tools/feed-switch-seed-test.js +++ b/tools/feed-switch-seed-test.js @@ -81,8 +81,9 @@ try { localStorage.setItem(k + ':feedNotes', JSON.stringify(ns)); localStorage.setItem(k + ':profiles', JSON.stringify({ [a]: { name: 'Alice', t }, [b]: { name: 'Bob', t } })); const s = JSON.parse(localStorage.getItem(k + ':messages') || '{}'); - s.feeds = [{ id: 'bob', name: 'Bobfeed', follows: false, authors: [b], topics: [], packs: [] }, - { id: 'btc', name: 'Btcfeed', follows: false, authors: [], topics: ['bitcoin'], packs: [] }]; + // (a feed carries its edit time, as the editor writes it: the feeds sync merge drops one without) + s.feeds = [{ id: 'bob', name: 'Bobfeed', follows: false, authors: [b], topics: [], packs: [], at: t }, + { id: 'btc', name: 'Btcfeed', follows: false, authors: [], topics: ['bitcoin'], packs: [], at: t }]; localStorage.setItem(k + ':messages', JSON.stringify(s)); localStorage.setItem('btc-wallet-feed:' + k, 'following'); // this wallet's last feed }, [base, PK_A, PK_B, alice]); |
