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>
<Pressable <Pressable
style={styles.primaryButton} style={styles.primaryButton}
onPress={() => { onPress={async () => {
updateNote(noteId, draftTitle, draftBody); await updateNote(noteId, draftTitle, draftBody);
setIsEditing(false); setIsEditing(false);
}} }}
> >

View File

@ -112,7 +112,7 @@ export default function NoteDetailPage() {
return ( return (
<AppShell <AppShell
title="Note detail" 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>} actions={<div className="badge">Loading</div>}
> >
<section className="surface-card" style={{ padding: "var(--ml-space-6)", color: "var(--ml-text-secondary)" }}> <section className="surface-card" style={{ padding: "var(--ml-space-6)", color: "var(--ml-text-secondary)" }}>
@ -125,7 +125,7 @@ export default function NoteDetailPage() {
return ( return (
<AppShell <AppShell
title={note.title} 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>} 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)" }}> <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 <AppShell
title="Workspaces" title="Workspaces"
description="Workspace-level organization, filters, and saved-view entry points for note collections." 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)" }}> <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)" }}> <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> <div className="badge">Missing note or route</div>
<h1 style={{ margin: 0 }}>Not found</h1> <h1 style={{ margin: 0 }}>Not found</h1>
<p style={{ margin: 0, color: "var(--ml-text-secondary)" }}> <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> </p>
<Link href="/dashboard" className="surface-muted" style={{ padding: "12px 16px", width: "fit-content" }}> <Link href="/dashboard" className="surface-muted" style={{ padding: "12px 16px", width: "fit-content" }}>
Back to dashboard Back to dashboard

View File

@ -4,13 +4,13 @@ export default function HomePage() {
return ( return (
<main style={{ minHeight: "100vh", display: "grid", placeItems: "center", padding: "var(--ml-space-8)" }}> <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)" }}> <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)" }}> <div style={{ display: "grid", gap: "var(--ml-space-3)" }}>
<h1 style={{ margin: 0, fontFamily: "var(--ml-font-display)", fontSize: "var(--ml-fs-3xl)" }}> <h1 style={{ margin: 0, fontFamily: "var(--ml-font-display)", fontSize: "var(--ml-fs-3xl)" }}>
ByteLyst Agentic Notes web surface ByteLyst Agentic Notes web surface
</h1> </h1>
<p style={{ margin: 0, color: "var(--ml-text-secondary)", lineHeight: 1.6 }}> <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> </p>
</div> </div>
<div style={{ display: "flex", gap: "var(--ml-space-3)", flexWrap: "wrap" }}> <div style={{ display: "flex", gap: "var(--ml-space-3)", flexWrap: "wrap" }}>