From 4b6bb206abd0c019506173808d71e5393b860aed Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 18 Jan 2026 19:36:47 +0000 Subject: [PATCH] Add Edit Profile feature to Profile Modal - Added "Edit Profile" button to active profile card in profile modal - Created `profilePaneEdit` with form fields for profile metadata (Kind 0) - Implemented `populateEditPane`, `handleEditProfile`, `handleSaveProfile` in `ProfileModalController` - Added file upload support for profile/banner images using `r2Service` - Injected `r2Service` into `ProfileModalController` via `ApplicationBootstrap` - Verified functionality with manual check of logic and structure --- components/profile-modal.html | 183 +++++++++++++++++++++- js/ui/applicationBootstrap.js | 1 + js/ui/profileModalController.js | 261 ++++++++++++++++++++++++++++++++ 3 files changed, 438 insertions(+), 7 deletions(-) diff --git a/components/profile-modal.html b/components/profile-modal.html index 30ce10ab..6a6103cb 100644 --- a/components/profile-modal.html +++ b/components/profile-modal.html @@ -230,13 +230,22 @@ Loading... npub1... - +
+ + +
+ +