RSNewWebUI/webui-src
jolavillette 6f2b72c3f1 webui v149: selecting a contact in People opened a distant chat tunnel
The right pane keeps its last tab in State.activeTab, and that state is global
rather than per contact. So the list item handler ends on "if the chat tab is
the one showing, connect" -- which is never true on a fresh page, and always
true afterwards. Once a conversation has been opened, every later click in the
contact list requests a GXS tunnel toward whoever was just selected: a network
action the other side sees, from a click that only meant "show me this profile".

Selecting somebody now shows their profile, and the tunnel waits for the Chat
Conversation tab. The three places that do mean it -- the tab itself, the Start
Chat button, the Chats list and its context menu -- are untouched.

The mirror case was broken the other way round. "Start private chat" from a chat
room calls setSelectedId(id, 'chat'), which preselects the chat tab on a page
that is not mounted yet; nothing ever opened the tunnel there, so the pane sat
on its Connecting spinner for good. That intent is explicit, so it is now
remembered and honoured once the own identities are loaded.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 09:03:23 +02:00
..
app webui v149: selecting a contact in People opened a distant chat tunnel 2026-08-18 09:03:23 +02:00
assets feat: remove google font and use local font included with webui 2024-01-15 00:05:19 +05:30
make-src build: drop build.ps1 and keep the standard sass pipeline 2026-08-08 17:10:58 +02:00
.editorconfig fix: navbar heading icon 2024-01-15 00:06:11 +05:30
.nvmrc build: modernize WebUI build and lint tooling 2026-08-02 20:46:00 +05:30
.prettierrc Fix misplaced braces in lint config (#31) 2021-04-18 16:58:36 +05:30
eslint.config.mjs build: modernize WebUI build and lint tooling 2026-08-02 20:46:00 +05:30
index.html feat: remove google font and use local font included with webui 2024-01-15 00:05:19 +05:30
package-lock.json build: modernize WebUI build and lint tooling 2026-08-02 20:46:00 +05:30
package.json build: make lint independent of generated output 2026-08-03 12:55:13 +05:30
styles.css Added avatars before identity nicknames in the chat-room join selection. 2026-08-16 13:50:58 +02:00