aboutsummaryrefslogtreecommitdiffstats
path: root/tools/feed-switch-seed-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 14:46:32 -0700
committerAdam Soltys <[email protected]>2026-10-02 14:46:32 -0700
commitc89050e6c54e331003a6e97d89d1e2a2e2083335 (patch)
treebc11bca3b40301a9db6ea61e54c33505d16c6290 /tools/feed-switch-seed-test.js
parentdbee3dddba70783aa66b933ee48a187ef758efaa (diff)
downloadcoinosv3-c89050e6c54e331003a6e97d89d1e2a2e2083335.tar.gz
coinosv3-c89050e6c54e331003a6e97d89d1e2a2e2083335.zip
The feed you were on is remembered per wallet; new ones start on Popular
It was one device-wide key, so a new account opened on whatever the last one was reading (#gardenstr: the starter feed has the same id in every account). Now keyed by the wallet, re-read when a wallet opens (the feature outlives a sign-out), Popular when nothing is remembered, and the old device-wide key is dropped. A feed opened from a link stays put. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo
Diffstat (limited to 'tools/feed-switch-seed-test.js')
-rw-r--r--tools/feed-switch-seed-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/feed-switch-seed-test.js b/tools/feed-switch-seed-test.js
index a012dfe..e747744 100644
--- a/tools/feed-switch-seed-test.js
+++ b/tools/feed-switch-seed-test.js
@@ -84,7 +84,7 @@ try {
s.feeds = [{ id: 'bob', name: 'Bobfeed', follows: false, authors: [b], topics: [], packs: [] },
{ id: 'btc', name: 'Btcfeed', follows: false, authors: [], topics: ['bitcoin'], packs: [] }];
localStorage.setItem(k + ':messages', JSON.stringify(s));
- localStorage.setItem('btc-wallet-feed', 'following');
+ localStorage.setItem('btc-wallet-feed:' + k, 'following'); // this wallet's last feed
}, [base, PK_A, PK_B, alice]);
await page.reload({ waitUntil: 'domcontentloaded' });
await waitText('receive', 20000);