Skip to content

feat: add full org page capabilities to account detail page#697

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-name-change
Jan 10, 2026
Merged

feat: add full org page capabilities to account detail page#697
bokelley merged 1 commit into
mainfrom
bokelley/fix-name-change

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Port all missing features from admin-org-detail.html to admin-account-detail.html to fully replace the org page with the accounts page
  • Enable name editing in Edit Account modal (was previously disabled)
  • Add Payment Link modal with product selection and discount support
  • Add Invoice modal with product selection and billing address form
  • Add Revenue Tier and Parent Organization selectors to Edit Account modal
  • Add Addie Research section (loaded asynchronously)
  • Add Member Insights section (loaded asynchronously)
  • Add 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

Test plan

  • Verify name can be edited and saved in Edit Account modal
  • Test Payment Link modal: opens, loads products, generates link
  • Test Invoice modal: opens, loads products, submits with billing info
  • Test Revenue Tier selector saves correctly
  • Test Parent Organization selector saves correctly
  • Test Addie Research section loads for accounts with research
  • Test Member Insights section loads correctly
  • Test domain verify action
  • Test domain set primary action
  • Test domain remove action
  • Verify 401 responses redirect to login

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@bokelley bokelley merged commit 6822586 into main Jan 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant