aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-14 00:46:51 -0700
committerAdam Soltys <[email protected]>2026-11-14 00:46:51 -0700
commit968c086b5adbfdc9638c190163f391791e16ae65 (patch)
treea5ab255872ce8883acac36c49ae8cc58adb005d2 /src/features
parent32ae7775d6351ef7acc887de812d5200da95874d (diff)
downloadcoinosv3-968c086.tar.gz
coinosv3-968c086.zip
Typing a new search from a profile shows its results. "when i search something and then click on a user to bring up their profile/feed then type into the search again i don't see any results, it's like the search box stops working. if i click enter it does a full text search" (Adam, 2026-11-14). The search is kept when a result is opened (Back from the profile lands on it), and the desktop header field only cleared the page on top when there was no search yet: from then on each keystroke updated a results page hidden under the profile, while Enter (openTextSearch) still worked. Now every keystroke there steps the profile, thread or live page aside and keeps the query and rows (clearFeatureNavKeepSearch, userSearchQuery); Back returns to the profile. A visitor (no wallet) typing there was sent to the wallet screen, which derived receive addresses from no seed ("Invalid mnemonic"); the wallet screen is only chosen with a wallet open. profile-stream-test types a second query into the 1300px header field from the opened profile: no results and no Back before, both now, and no page errorsHEADmaster
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6UKGJyuGyZFxddYRxS
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 2892153..b65b689 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -19218,7 +19218,14 @@ export function messagesFeature(ctx) {
// the desktop header's search field: typing there IS the search page's query
userSearchSubmit(q) { if (String(q || '').trim()) { openTextSearch(q); render(); } },
userSearchQuery(q) {
- if (!ui.userSearch) { if (!isVisitor()) ui.chatOpen = false; ui.profilePk = null; ui.noteThread = null; ui.liveStream = null; ui.goLive = null; ui.userSearch = { q: '', rows: null }; warmSearch(); }
+ if (!ui.userSearch) { ui.userSearch = { q: '', rows: null }; warmSearch(); }
+ // Typing brings the results forward every time, not only the first:
+ // the search is kept (Back from a profile lands on it), so a second
+ // search typed from a profile opened from the first one updated a
+ // page hidden under that profile ("the search box stops working",
+ // Adam 2026-11-14). Back still returns to the profile.
+ if (!isVisitor()) ui.chatOpen = false;
+ ui.profilePk = null; ui.noteThread = null; ui.liveStream = null; ui.goLive = null;
ui.userSearch.q = q; userSearcher.update(q); render();
return true;
},