Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: show a newly opened Beeper conversation's load error instead of the previous not-found state
Adam Eivyd1746aff39ba
diff --git a/client/src/components/messages/BeeperTab.test.jsx b/client/src/components/messages/BeeperTab.test.jsxindex fa9a801d46..24c7180222 100644--- a/client/src/components/messages/BeeperTab.test.jsx+++ b/client/src/components/messages/BeeperTab.test.jsx@@ -1278,6 +1278,21 @@ describe('a conversation write that settles after a switch', () => {expect(screen.queryByText('Placeholder A body')).toBeNull();expect(screen.queryByPlaceholderText(/^Message /)).toBeNull();});++ it('shows the new conversation\'s load error, not the previous one\'s not-found state', async () => {+ api.getBeeperConversations.mockResolvedValue({ conversations: [CONV_B_RECORD], nextCursor: null });+ api.getBeeperConversation.mockImplementation((id) => Promise.reject(id === CONV_B+ ? Object.assign(new Error('Beeper mirror unavailable'), { status: 503 })+ : Object.assign(new Error('Conversation not found'), { status: 404 })));+ renderTab(`/messages/beeper/${CONV_A}`);+ await screen.findByText('Conversation not found');++ fireEvent.click(await screen.findByRole('button', { name: /Example B/ }));++ expect(await screen.findByText('Could not open this conversation')).toBeInTheDocument();+ expect(screen.queryByText('Conversation not found')).toBeNull();+ expect(screen.getByRole('button', { name: 'Retry' })).toBeInTheDocument();+ });});// The LOCAL "seen in PortOS" watermark (#83) — the fix for opening an unreaddiff --git a/client/src/components/messages/beeper/BeeperChatSurface.jsx b/client/src/components/messages/beeper/BeeperChatSurface.jsxindex 3b9e8f278d..3ef2113b60 100644--- a/client/src/components/messages/beeper/BeeperChatSurface.jsx+++ b/client/src/components/messages/beeper/BeeperChatSurface.jsx@@ -525,6 +525,7 @@ export default function BeeperChatSurface({setConversation(null);setMessages([]);setMessageCursor(null);+ setConversationMissing(false);}setThreadLoading(true);setThreadError(null);