Skip to content

Add Addie App Home for Slack and web dashboard#496

Merged
bokelley merged 2 commits into
mainfrom
bokelley/addie-app-home
Jan 3, 2026
Merged

Add Addie App Home for Slack and web dashboard#496
bokelley merged 2 commits into
mainfrom
bokelley/addie-app-home

Conversation

@bokelley

@bokelley bokelley commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements a personalized "mission control" experience for Addie that works in both Slack's App Home tab and the web chat interface.

  • Platform-agnostic HomeContent data structure with separate builders for alerts, activity, stats, quick actions, and admin panel
  • Slack Block Kit renderer for App Home tab and HTML renderer for web
  • Per-user TTL cache (5 minutes) with LRU eviction
  • Personalized greeting, alerts (invoices, profile, renewals), activity feed (events, working groups), user stats, and admin panel
  • Quick actions route through Addie conversations (conversational UX)
  • Admin preview accessible from user context modal in /admin/users

Test plan

  • Verify Slack App Home renders when clicking on Addie in Slack
  • Verify web chat page shows personalized home for authenticated users
  • Verify admin preview works in user context modal (/admin/users)
  • Verify quick actions trigger appropriate Addie conversations
  • Verify alerts display correctly for pending invoices
  • Verify admin panel shows for admin users only

🤖 Generated with Claude Code

bokelley and others added 2 commits January 3, 2026 13:23
Implements a personalized "mission control" experience for Addie that works
in both Slack's App Home tab and the web chat interface.

Architecture:
- Platform-agnostic HomeContent data structure
- Separate builders for alerts, activity, stats, quick actions, admin panel
- Slack Block Kit renderer and HTML renderer
- Per-user TTL cache (5 minutes)

Features:
- Personalized greeting with membership status
- Alerts for pending invoices, incomplete profiles, upcoming renewals
- Activity feed with upcoming events and working group activity
- User stats (working groups, Slack activity, subscription status)
- Admin panel with flagged threads and insight goal progress
- Quick actions that route through Addie conversations

Web integration:
- GET /api/me/addie-home endpoint for authenticated users
- Addie Home displayed on chat.html for logged-in users
- Admin preview in user context modal (/admin/users)

Security improvements from code review:
- Input validation on admin preview endpoint
- Action ID whitelist validation
- URL protocol validation for links

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve merge conflicts in bolt-app.ts to include both:
- App Home handlers (from this branch)
- URL tools and reaction handlers (from main)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 56b9cdf into main Jan 3, 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