Dashboard: Action buttons on feeds don't respond to clicks #48

Closed
opened 2026-01-18 21:35:05 +00:00 by joezombie · 0 comments
joezombie commented 2026-01-18 21:35:05 +00:00 (Migrated from github.com)

Description

Action buttons (View, Edit, Delete) on the Feeds list page (/feeds) don't respond to clicks.

Analysis

The code in Components/Pages/Feeds/FeedList.razor (lines 57-68) appears correct:

<MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small"
    OnClick="() => ViewFeed(context.Item)" Title="View Details" />

The handlers are defined (lines 125-157) and should navigate/delete.

Root Cause

Likely a Blazor Server interactivity issue:

  • Interactive Server render mode may not be properly initialized
  • SignalR connection for Blazor Server might be failing
  • Browser may have cached old Blazor JS

Files

  • Components/Pages/Feeds/FeedList.razor:57-68 - Button definitions
  • Components/Pages/Feeds/FeedList.razor:125-157 - Handler implementations

Steps to Fix

  1. Check browser console for JavaScript errors
  2. Verify _framework/blazor.server.js is loading
  3. Check SignalR connection in browser dev tools
  4. May need to add @rendermode InteractiveServer explicitly to components
  5. Ensure AddInteractiveServerComponents() is called in Program.cs

Acceptance Criteria

  • Clicking View button navigates to feed details
  • Clicking Edit button navigates to edit page
  • Clicking Delete button shows confirmation dialog
## Description Action buttons (View, Edit, Delete) on the Feeds list page (`/feeds`) don't respond to clicks. ## Analysis The code in `Components/Pages/Feeds/FeedList.razor` (lines 57-68) appears correct: ```razor <MudIconButton Icon="@Icons.Material.Filled.Visibility" Size="Size.Small" OnClick="() => ViewFeed(context.Item)" Title="View Details" /> ``` The handlers are defined (lines 125-157) and should navigate/delete. ## Root Cause Likely a Blazor Server interactivity issue: - Interactive Server render mode may not be properly initialized - SignalR connection for Blazor Server might be failing - Browser may have cached old Blazor JS ## Files - `Components/Pages/Feeds/FeedList.razor:57-68` - Button definitions - `Components/Pages/Feeds/FeedList.razor:125-157` - Handler implementations ## Steps to Fix 1. Check browser console for JavaScript errors 2. Verify `_framework/blazor.server.js` is loading 3. Check SignalR connection in browser dev tools 4. May need to add `@rendermode InteractiveServer` explicitly to components 5. Ensure `AddInteractiveServerComponents()` is called in `Program.cs` ## Acceptance Criteria - [ ] Clicking View button navigates to feed details - [ ] Clicking Edit button navigates to edit page - [ ] Clicking Delete button shows confirmation dialog
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joezombie/castr#48
No description provided.