diff options
| author | Adam Soltys <[email protected]> | 2026-09-30 09:05:19 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-30 09:05:19 -0700 |
| commit | e96c445e73d26e946cf2a3d515b5f0ab697ef5f0 (patch) | |
| tree | 2486a5fcefda9b5bc0efa02c8032b957ee46412b /tools | |
| parent | a3a1b4f44fe45f190c2c698fcd262788bdc93f40 (diff) | |
| download | coinosv3-e96c445e73d26e946cf2a3d515b5f0ab697ef5f0.tar.gz coinosv3-e96c445e73d26e946cf2a3d515b5f0ab697ef5f0.zip | |
From someone's timeline, ‹ goes back to their profile and the Feed tab is your own feed again.
The Feed tab reopened whichever feed was last on — the session timeline —
and ‹ on it went to the chat list, so there was no way back to your own
feed. The tab now opens the last of your own feeds; ‹ on a feed opened
from somewhere (a timeline, a #tag, a pack link) steps back in history.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Du1qT1wbkYwYK6zkGH79Rp
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/avatar-profile-test.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/avatar-profile-test.js b/tools/avatar-profile-test.js index 54c40dc..293d7c1 100644 --- a/tools/avatar-profile-test.js +++ b/tools/avatar-profile-test.js @@ -88,6 +88,24 @@ try { const chip = await page.evaluate(() => document.querySelector('.feed-chip.on')?.textContent || null); check('someone’s timeline has a labelled chip', !!chip && /Bob Poster/.test(chip), JSON.stringify(chip)); + // ‹ on their timeline goes back to their profile, not the chat list + await page.evaluate(() => document.querySelector('.feed-page .chat-back').click()); + await sleep(1200); + const backTo = await page.evaluate(() => ({ profile: /bob bio here/.test(document.body.innerText), chats: /Communities/.test(document.body.innerText) && !document.querySelector('.feed-page') })); + check('‹ on someone’s timeline goes back to their profile', backTo.profile && !backTo.chats, JSON.stringify(backTo)); + // ...and from their timeline, the Feed tab is your own feed again + await click('their timeline'); + await sleep(1500); + await page.evaluate(() => document.querySelector('.app-bottom-nav .app-nav-button').click()); + await sleep(1200); + const mine = await page.evaluate(() => document.querySelector('.feed-chip.on')?.textContent || null); + check('the Feed tab brings back your own feed', mine === 'Following', JSON.stringify(mine)); + // back onto their timeline for the save below + await page.evaluate(() => { const r = [...document.querySelectorAll('.notes-feed .note-avatar')].find((n) => n.closest('[data-key]')?.innerText.includes('Bob Poster')); r.click(); }); + await sleep(1000); + await click('their timeline'); + await sleep(1500); + // ⋯ → Save feed: straight into the chips, no editor listing their follows await page.evaluate((l) => document.querySelector('button[aria-label="' + l + '"]').click(), 'Feed options'); await sleep(500); |
