fix(notes): align active surface copy

This commit is contained in:
saravanakumardb1 2026-03-10 16:36:10 -07:00
parent 8002b48468
commit 5458090523
5 changed files with 8 additions and 8 deletions

View File

@ -70,8 +70,8 @@ export default function NoteDetailScreen() {
</Pressable>
<Pressable
style={styles.primaryButton}
onPress={() => {
updateNote(noteId, draftTitle, draftBody);
onPress={async () => {
await updateNote(noteId, draftTitle, draftBody);
setIsEditing(false);
}}
>

View File

@ -112,7 +112,7 @@ export default function NoteDetailPage() {
return (
<AppShell
title="Note detail"
description="Editable note surface with metadata, linked context, tasks, and artifact placeholders."
description="Editable note surface with metadata, linked context, tasks, artifacts, and review history."
actions={<div className="badge">Loading</div>}
>
<section className="surface-card" style={{ padding: "var(--ml-space-6)", color: "var(--ml-text-secondary)" }}>
@ -125,7 +125,7 @@ export default function NoteDetailPage() {
return (
<AppShell
title={note.title}
description="Editable note surface with metadata, linked context, tasks, and artifact placeholders."
description="Editable note surface with metadata, linked context, tasks, artifacts, and review history."
actions={<div className="badge">{isSaving ? "Saving" : `Review: ${note.metadata.reviewState}`}</div>}
>
<div style={{ display: "grid", gridTemplateColumns: "minmax(0, 1.7fr) minmax(320px, 1fr)", gap: "var(--ml-space-4)" }}>

View File

@ -56,7 +56,7 @@ export default function WorkspacesPage() {
<AppShell
title="Workspaces"
description="Workspace-level organization, filters, and saved-view entry points for note collections."
actions={<div className="badge">Saved views scaffolded</div>}
actions={<div className="badge">Saved views derived live</div>}
>
<section style={{ display: "grid", gridTemplateColumns: "minmax(260px, 320px) minmax(0, 1fr)", gap: "var(--ml-space-4)" }}>
<aside className="surface-card" style={{ padding: "var(--ml-space-5)", display: "grid", gap: "var(--ml-space-4)" }}>

View File

@ -7,7 +7,7 @@ export default function NotFoundPage() {
<div className="badge">Missing note or route</div>
<h1 style={{ margin: 0 }}>Not found</h1>
<p style={{ margin: 0, color: "var(--ml-text-secondary)" }}>
The requested note or view does not exist in the current scaffold dataset.
The requested note or view does not exist or is no longer available for your current workspace access.
</p>
<Link href="/dashboard" className="surface-muted" style={{ padding: "12px 16px", width: "fit-content" }}>
Back to dashboard

View File

@ -4,13 +4,13 @@ export default function HomePage() {
return (
<main style={{ minHeight: "100vh", display: "grid", placeItems: "center", padding: "var(--ml-space-8)" }}>
<section className="surface-card" style={{ maxWidth: 760, padding: "var(--ml-space-8)", display: "grid", gap: "var(--ml-space-5)" }}>
<div className="badge">Phase W0 scaffold active</div>
<div className="badge">Backend-backed web surface</div>
<div style={{ display: "grid", gap: "var(--ml-space-3)" }}>
<h1 style={{ margin: 0, fontFamily: "var(--ml-font-display)", fontSize: "var(--ml-fs-3xl)" }}>
ByteLyst Agentic Notes web surface
</h1>
<p style={{ margin: 0, color: "var(--ml-text-secondary)", lineHeight: 1.6 }}>
The web app scaffold is live with shared ByteLyst clients, authenticated shell wiring, and the first route skeletons for dashboard, workspaces, notes, search, and settings.
The web app now exposes backend-backed dashboard, workspace, search, review, and note detail flows with authenticated ByteLyst client wiring.
</p>
</div>
<div style={{ display: "flex", gap: "var(--ml-space-3)", flexWrap: "wrap" }}>