Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
renderIconStrip, updateProjectBadge
} from './modules/sidebar-projects.js';
import {
renderUserStrip, closeDmUserPicker, setCurrentDmUser,
closeDmUserPicker, setCurrentDmUser,
updateDmBadge, renderSidebarPresence, setMentionActive, clearAllMentionActive,
initSidebarUsers
} from './modules/sidebar-users.js';
Expand Down
4 changes: 1 addition & 3 deletions lib/public/modules/app-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { refreshIcons, iconHtml } from './icons.js';
import { renderMarkdown, highlightCodeBlocks, highlightCodeBlocksBatched, renderMermaidBlocks } from './markdown.js';
import { updatePageTitle } from './sidebar.js';
import { renderSessionList, updateSessionPresence, populateCliSessionList, handleSearchResults, updateSessionBadge } from './sidebar-sessions.js';
import { updateDmBadge, renderSidebarPresence, setMentionActive, renderUserStrip, handleAgentsList as handleAgentsListTeam } from './sidebar-users.js';
import { updateDmBadge, renderSidebarPresence, setMentionActive } from './sidebar-users.js';
import { refreshMobileChatSheet } from './sidebar-mobile.js';
import { handlePaletteSessionSwitch, setPaletteVersion } from './command-palette.js';
import { handleAgentsList, handleAgentFavoriteToggled } from './agent-picker.js';
Expand Down Expand Up @@ -459,7 +459,6 @@ export function processMessage(msg) {

case "agents_list":
handleAgentsList(msg);
handleAgentsListTeam(msg);
break;

case "agent_favorite_toggled":
Expand Down Expand Up @@ -1222,7 +1221,6 @@ export function processMessage(msg) {

case "projects_updated":
updateProjectList(msg);
renderUserStrip();
break;

case "project_owner_changed":
Expand Down
14 changes: 2 additions & 12 deletions lib/public/modules/sidebar-users.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ export function initSidebarUsers() {
});
}

// handleAgentsList: no-op stub — agent-picker.js is the authoritative consumer.
// This export is kept because app-messages.js imports it as handleAgentsListTeam.
// TODO(lr-teams-icon-strip): remove this alias once app-messages.js import is cleaned up.
export function handleAgentsList(_msg) { /* no-op: agent-picker.js handles agents_list */ }

export function showIconTooltip(el, text) {
hideIconTooltip();
Expand Down Expand Up @@ -143,11 +139,6 @@ export function renderSidebarPresence(onlineUsers) {
}
}

// renderUserStrip: retained as a no-op export — callers in app-messages.js
// invoke this on projects_updated. The icon strip no longer shows per-user
// avatars; all that lives in the team panel (opened via #icon-strip-team-btn).
// TODO(lr-teams-icon-strip): remove call sites in app-messages.js once callers are updated.
export function renderUserStrip() { /* no-op: team panel replaced icon-strip avatars */ }


export function closeDmUserPicker() {
Expand All @@ -167,9 +158,8 @@ export function setCurrentDmUser(userId) {
// for use by the team panel and DM picker.
}

// updateDmBadge: retained as a no-op export — DM unread counts are now shown
// only inside the team panel, not in the icon strip.
// TODO(lr-teams-icon-strip): wire to team panel badge once panel shows DM counts.
// updateDmBadge: no-op — DM unread counts are now shown only inside the team panel.
// Future: wire DM unread count to team panel badge. No-op until team panel supports per-user DM count display.
export function updateDmBadge(userId, count) { /* no-op: icon-strip user badges removed */ }

export function getCurrentDmUserId() {
Expand Down
Loading