diff --git a/mobile/src/app/note/[id].tsx b/mobile/src/app/note/[id].tsx index e20306b..0f2a735 100644 --- a/mobile/src/app/note/[id].tsx +++ b/mobile/src/app/note/[id].tsx @@ -24,6 +24,10 @@ export default function NoteDetailScreen() { setDraftBody(selectedNote?.body ?? ''); }, [selectedNote]); + const formattedUpdatedAt = selectedNote + ? new Date(selectedNote.updatedAt).toLocaleString() + : 'Not available'; + return ( @@ -77,10 +81,7 @@ export default function NoteDetailScreen() { ) : !isLoading ? ( <> - - {selectedNote?.body ?? - 'The current scaffold uses placeholder note content until the mobile notes/workspaces API wrappers are wired to the product backend.'} - + {selectedNote?.body ?? 'No note body is available yet.'} setIsEditing(true)}> Edit note @@ -90,16 +91,15 @@ export default function NoteDetailScreen() { Metadata - Workspace: {selectedNote?.workspaceName ?? 'Product'} - Status: Draft - Source: Mobile scaffold + Workspace: {selectedNote?.workspaceName ?? 'Unknown workspace'} + Status: {selectedNote?.status ?? 'unknown'} + Last updated: {formattedUpdatedAt} - Artifacts - Attachments: 0 - Extracted tasks: 1 - Agent actions: 1 pending review + Current mobile scope + Artifacts and review context continue to load from the fuller web surface. + This mobile screen now focuses on reading and updating the persisted note body. );