Skip to content
Back to skills

1054 Hidden Conversations Sidebar Click Fix 788ea95e

ASecurity

Version: **0.233.176** Fixed in: **0.233.176**

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsjavascriptjavatesting

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1054-hidden_conversations_sidebar_click_fix_788ea95e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1054 Hidden Conversations Sidebar Click Fix 788ea95e?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1054 Hidden Conversations Sidebar Click Fix 788ea95e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1054-hidden-conversations-sidebar-click-fix-788ea9/badge)](https://www.skillsdirectory.com/skills/tools-only-1054-hidden-conversations-sidebar-click-fix-788ea9)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Hidden Conversations Sidebar Click Fix

## Issue
Version: **0.233.176**  
Fixed in: **0.233.176**

### Problem Description
When users clicked on hidden conversations in the sidebar (after enabling "Show Hidden Conversations" via the eye icon), the conversations would not load properly. The conversation would not display in the main chat area.

### Root Cause
The application maintains two separate state variables for showing/hiding hidden conversations:
- `showHiddenConversations` - Controls visibility in the **main conversation list**
- `sidebarShowHiddenConversations` - Controls visibility in the **sidebar conversation list**

When a user:
1. Clicked the eye icon in the sidebar (toggles `sidebarShowHiddenConversations = true`)
2. Clicked on a hidden conversation in the sidebar
3. The sidebar called `selectConversation(conversationId)` in the main conversation module
4. `selectConversation` tried to find the conversation item in the main list using `querySelector`
5. **The conversation item didn't exist** in the main list because `showHiddenConversations` was still `false`
6. The function returned early with a "Conversation item not found" warning

## Solution

### Changes Made

#### 1. **chat-sidebar-conversations.js**
Added logic to automatically enable hidden conversations in the main list when clicking a hidden conversation in the sidebar:

```javascript
// If this conversation is hidden, ensure the main conversation list also shows hidden conversations
if (convo.is_hidden && window.chatConversations && window.chatConversations.setShowHiddenConversations) {
  window.chatConversations.setShowHiddenConversations(true);
}
```

#### 2. **chat-conversations.js**
Created and exported a new function to programmatically control the hidden conversations visibility:

```javascript
// Helper function to set show hidden conversations state
export function setShowHiddenConversations(value) {
  showHiddenConversations = value;
  loadConversations();
}

// Added to window.chatConversations global export
window.chatConversations = {
  // ... existing exports
  setShowHiddenConversations,
};
```

## Technical Details

### Files Modified
- `static/js/chat/chat-sidebar-conversations.js` - Added check for hidden conversations before selection
- `static/js/chat/chat-conversations.js` - Added `setShowHiddenConversations` function and export
- `config.py` - Updated VERSION from "0.233.175" to "0.233.176"

### Behavior After Fix
1. User clicks eye icon in sidebar → sidebar shows hidden conversations
2. User clicks a hidden conversation in the sidebar
3. **NEW**: System automatically enables `showHiddenConversations` in main list
4. Conversation loads successfully in main chat area
5. Hidden conversation is visible in both sidebar and main list

### Edge Cases Handled
- **Normal conversations**: Continue to work as before (no change)
- **Hidden conversations with sidebar closed**: Eye icon in main list still works independently
- **Hidden conversations with both views active**: Both lists stay synchronized
- **Switching between hidden/visible conversations**: Seamless navigation

## Testing Recommendations

### Manual Testing Steps
1. Create or mark several conversations as hidden
2. Open sidebar
3. Click eye icon in sidebar to show hidden conversations
4. Click on a hidden conversation
5. **Expected**: Conversation loads successfully, showing messages and metadata
6. **Expected**: Hidden conversation now visible in main conversation list
7. Verify main list eye icon reflects correct state

### Regression Testing
- ✅ Normal (non-hidden) conversation clicks still work
- ✅ Main list eye icon toggle still works independently
- ✅ Pin/unpin functionality unaffected
- ✅ Delete conversation functionality unaffected
- ✅ Multi-select mode unaffected

## Related Features
- Hidden conversations toggle (eye icon)
- Sidebar conversation list
- Main conversation list
- Conversation selection and loading

## User Impact
**Positive**: Users can now successfully navigate to hidden conversations from the sidebar, improving usability and workflow efficiency.

**Breaking Changes**: None - this is a bug fix that restores expected functionality.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…