From 531717119e1d171afd07890f5536fb61d8652198 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 2 Jul 2026 17:01:31 -0700 Subject: [PATCH] Add profile info modal --- AGENTS.md | 2 +- src/app/components/PeopleItem.svelte | 4 ++-- .../components/{ProfileInfo.svelte => ProfileAbout.svelte} | 0 src/app/components/ProfileDetail.svelte | 4 ++-- src/app/components/ProfilePage.svelte | 3 +-- src/app/components/SpaceMember.svelte | 4 ++-- 6 files changed, 8 insertions(+), 9 deletions(-) rename src/app/components/{ProfileInfo.svelte => ProfileAbout.svelte} (100%) diff --git a/AGENTS.md b/AGENTS.md index 614fc69f..eb742ba3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -170,7 +170,7 @@ src/ - Do not define svelte event handlers inline, instead name them and put them in the script section of templates - Avoid using `as`, except where necessary. Instead, annotate function parameters, and ensure upstream values are typed correctly. - Instead of `getTag(tagName, event.tags)?.[1] || ""`, use `getTagValue(tagName, event.tags)` -- Do not render a profile's `about` directly (e.g. `profile.about`); use the `ProfileInfo` component instead. +- Do not render a profile's `about` directly (e.g. `profile.about`); use the `ProfileAbout` component instead. - Use `type Props` instead of interface when defining props for svelte components. - When a component's value/prop shape mirrors a subset of an existing type, derive it with `Pick`/`Partial` and `export` that type from the component's `