From d1267a1b714b09a49d610f839ccdbae3de0523d2 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Sat, 10 Jan 2026 08:12:26 -0500 Subject: [PATCH] feat: add full org page capabilities to account detail page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port all missing features from admin-org-detail.html to admin-account-detail.html: - Payment Link modal with product selection and discount support - Invoice modal with product selection and billing address form - Revenue Tier selector in Edit Account modal - Parent Organization selector in Edit Account modal - Addie Research section (loaded asynchronously) - Member Insights section (loaded asynchronously) - Domain actions: verify, set primary, remove Security improvements: - Use event delegation with data attributes instead of inline onclick handlers to prevent XSS vulnerabilities - Add 401 authentication handling to domain action functions - Escape user-provided values in confirmation dialogs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .changeset/forty-symbols-kick.md | 2 + server/public/admin-account-detail.html | 879 +++++++++++++++++++++++- 2 files changed, 850 insertions(+), 31 deletions(-) create mode 100644 .changeset/forty-symbols-kick.md diff --git a/.changeset/forty-symbols-kick.md b/.changeset/forty-symbols-kick.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/forty-symbols-kick.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/server/public/admin-account-detail.html b/server/public/admin-account-detail.html index d11e36998a..212a8a1d86 100644 --- a/server/public/admin-account-detail.html +++ b/server/public/admin-account-detail.html @@ -788,6 +788,26 @@

+ + + + + +
@@ -948,9 +968,17 @@

Edit Account

- -
Name cannot be changed here
+ +
+ +
+ + +
If this is a subsidiary or division, select the parent company.
+
@@ -977,6 +1005,20 @@

Edit Account

+ +
+ + +
Used to determine membership pricing tier.
+

Contact

@@ -1089,29 +1131,151 @@

Convert Account Type

- +