Files
vibe-kanban/frontend
Louis Knight-Webb 5368d827ae Diff reload is quite jumpy (vibe-kanban) (#104)
* Perfect! I have successfully fixed the jumpy diff reload issue. Here's a summary of what I implemented:

## Fix Summary

The problem was that when the coding agent was running, the diff refreshed every 2 seconds and showed a full loading spinner that replaced the entire diff content, creating a jarring user experience.

**Key Changes Made:**

1. **Added separate loading state** - Created `isBackgroundRefreshing` state to track background updates separately from initial loading
2. **Modified `fetchDiff` function** - Added an `isBackgroundRefresh` parameter to differentiate between initial loads and background refreshes
3. **Updated diff rendering** - The full loading spinner now only appears on initial load, while background refreshes show a subtle spinning indicator with "Updating..." text
4. **Improved user experience** - The diff content remains visible during background refreshes, with just a small indicator showing the update is in progress

**The fix ensures:**
- Initial diff loads still show the full loading spinner for proper UX
- Background refreshes (every 2 seconds during coding agent execution) show a subtle updating indicator
- The diff content remains visible and stable during background updates
- No more jarring disappearing/reappearing of the entire diff section

The build and linting all pass successfully, confirming the implementation is solid and ready for use.

* Fixed! The formatting issues in `TaskDetailsPanel.tsx` have been resolved. All files now use Prettier code style.
2025-07-08 17:48:28 +01:00
..
2025-07-08 13:41:47 +02:00
2025-06-25 09:36:07 +01:00
2025-06-25 09:36:07 +01:00
2025-06-14 15:14:08 -04:00
2025-07-08 13:41:47 +02:00
2025-06-14 15:14:08 -04:00
2025-06-14 16:26:48 -04:00
2025-06-14 15:14:08 -04:00
2025-07-04 11:11:45 +02:00