2026-02-01 21:43:15 +07:00
|
|
|
# SurfSense 2.0 - Epics & Stories
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
**Project:** SurfSense Crypto Co-Pilot
|
|
|
|
|
**Created:** 2026-02-01
|
|
|
|
|
**Updated:** 2026-02-04
|
|
|
|
|
**Status:** 🚧 IN DEVELOPMENT
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Strategy Update (2026-02-04)
|
|
|
|
|
|
|
|
|
|
> **Extension = Full Features** (không chỉ Quick Actions)
|
|
|
|
|
>
|
|
|
|
|
> Extension là **full-featured crypto co-pilot** với đầy đủ tính năng phân tích, monitoring, và trading intelligence.
|
|
|
|
|
> Web Dashboard tập trung vào settings management và detailed analytics.
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
|
|
Tài liệu này tổ chức tất cả epics và user stories cho SurfSense 2.0, được chia thành 4 phases dựa trên PRD.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Epic Summary
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
| Epic | Phase | Stories | Status | Frontend | Backend | Priority |
|
|
|
|
|
|------|-------|---------|--------|----------|---------|----------|
|
|
|
|
|
| [Epic 1: AI-Powered Crypto Assistant](./epic-1-ai-powered-crypto-assistant.md) | Phase 1 | 10 | 🚧 IN PROGRESS | 100% ✅ | 0% ❌ | P0 |
|
|
|
|
|
| [Epic 2: Smart Monitoring & Alerts](./epic-2-smart-monitoring-alerts.md) | Phase 2 | 3 | 🚧 IN PROGRESS | 100% ✅ | 0% ❌ | P0 |
|
|
|
|
|
| [Epic 3: Trading Intelligence](./epic-3-trading-intelligence.md) | Phase 3 | 3 | 🚧 IN PROGRESS | 100% ✅ | 0% ❌ | P1 |
|
|
|
|
|
| [Epic 4: Content Creation & Productivity](./epic-4-content-creation-productivity.md) | Phase 4 | 5 | 🚧 IN PROGRESS | 100% ✅ | 0% ❌ | P2 |
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
**Total:** 4 epics, 21 user stories
|
|
|
|
|
|
|
|
|
|
**🔴 BLOCKER:** Backend APIs chưa được implement (Authentication, Settings, Chat sync, Data APIs)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
## Phase 1: AI-Powered Crypto Assistant 🚧
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Epic 1** - Foundation cho tất cả features
|
|
|
|
|
|
|
|
|
|
### Stories:
|
2026-02-04 13:11:39 +07:00
|
|
|
1. **Story 1.0:** Authentication System (FR-EXT-00) - ⏳ BACKEND BLOCKER
|
|
|
|
|
2. **Story 1.1:** Side Panel Architecture (FR-EXT-01) - ✅ DONE
|
|
|
|
|
3. **Story 1.2:** AI Chat Interface Integration (FR-EXT-02) - ✅ DONE
|
|
|
|
|
4. **Story 1.3:** Page Context Detection (FR-EXT-03) - ✅ DONE
|
|
|
|
|
5. **Story 1.4:** DexScreener Smart Integration (FR-EXT-04) - ✅ DONE
|
|
|
|
|
6. **Story 1.5:** Quick Capture (FR-EXT-05) - ✅ DONE
|
|
|
|
|
7. **Story 1.6:** Settings Sync với Frontend (FR-EXT-06) - ⏳ BACKEND PENDING
|
|
|
|
|
8. **Story 1.7:** Universal Token Search Bar (FR-EXT-07) - ✅ DONE (NEW)
|
|
|
|
|
9. **Story 1.8:** Multi-Page Token Detection (FR-EXT-08) - ✅ DONE (NEW)
|
|
|
|
|
10. **Story 1.9:** Floating Quick Action Button (FR-EXT-09) - ✅ DONE (NEW)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Key Deliverables:**
|
|
|
|
|
- ✅ Chrome Side Panel working
|
|
|
|
|
- ✅ AI chat interface integrated
|
2026-02-04 13:11:39 +07:00
|
|
|
- ✅ Context detection for DexScreener, Twitter, etc.
|
2026-02-01 21:43:15 +07:00
|
|
|
- ✅ Token info card
|
|
|
|
|
- ✅ Quick capture button
|
2026-02-04 13:11:39 +07:00
|
|
|
- ✅ Universal token search
|
|
|
|
|
- ✅ Multi-page token detection
|
|
|
|
|
- ✅ Floating quick action button
|
|
|
|
|
- ⏳ Settings sync (needs backend)
|
|
|
|
|
- ❌ Authentication (needs backend)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
## Phase 2: Smart Monitoring & Alerts 🚧
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Epic 2** - Risk protection & opportunity alerts
|
|
|
|
|
|
|
|
|
|
### Stories:
|
2026-02-04 13:11:39 +07:00
|
|
|
1. **Story 2.1:** Real-time Price Alerts (FR-EXT-10) - ✅ UI DONE, ⏳ API PENDING
|
|
|
|
|
2. **Story 2.2:** Whale Activity Tracker (FR-EXT-11) - ✅ UI DONE, ⏳ API PENDING
|
|
|
|
|
3. **Story 2.3:** Rug Pull Early Warning System (FR-EXT-12) - ✅ UI DONE, ⏳ API PENDING
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Key Deliverables:**
|
2026-02-04 13:11:39 +07:00
|
|
|
- ✅ Watchlist management UI (WatchlistPanel, WatchlistWidget)
|
|
|
|
|
- ✅ Alert configuration UI (AlertConfigModal, AlertWidget)
|
|
|
|
|
- ✅ Whale activity UI (WhaleActivityFeed, WhaleActivityWidget)
|
|
|
|
|
- ✅ Safety score display (SafetyScoreDisplay)
|
|
|
|
|
- ⏳ Browser notifications (needs backend)
|
|
|
|
|
- ⏳ Real-time data (needs DexScreener API)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Business Value:** Risk protection = User trust
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
## Phase 3: Trading Intelligence 🚧
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Epic 3** - AI-powered trading insights
|
|
|
|
|
|
|
|
|
|
### Stories:
|
2026-02-04 13:11:39 +07:00
|
|
|
1. **Story 3.1:** One-Click Token Analysis (FR-EXT-13) - ✅ UI DONE, ⏳ API PENDING
|
|
|
|
|
2. **Story 3.2:** Smart Entry/Exit Suggestions (FR-EXT-14) - ✅ UI DONE, ⏳ API PENDING
|
|
|
|
|
3. **Story 3.3:** Portfolio Tracker Integration (FR-EXT-15) - ✅ UI DONE, ⏳ API PENDING
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Key Deliverables:**
|
2026-02-04 13:11:39 +07:00
|
|
|
- ✅ Token analysis UI (TokenAnalysisPanel, TokenAnalysisWidget)
|
|
|
|
|
- ✅ Trading suggestions UI (TradingSuggestionPanel, TradingSuggestionWidget)
|
|
|
|
|
- ✅ Portfolio UI (PortfolioPanel, PortfolioWidget)
|
|
|
|
|
- ⏳ AI-generated summaries (needs backend)
|
|
|
|
|
- ⏳ Wallet connection (needs integration)
|
|
|
|
|
- ⏳ Real-time P&L (needs backend)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Business Value:** Better decisions = Better results = Happy users
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
## Phase 4: Content Creation & Productivity ✅
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Epic 4** - Tools for creators & power users
|
|
|
|
|
|
|
|
|
|
### Stories:
|
2026-02-04 13:11:39 +07:00
|
|
|
1. **Story 4.1:** Chart Screenshot with Annotations (FR-EXT-16) - ✅ UI DONE
|
|
|
|
|
2. **Story 4.2:** AI Thread Generator (FR-EXT-17) - ✅ UI DONE, ⏳ AI PENDING
|
|
|
|
|
3. **Story 4.3:** Quick Actions Context Menu (FR-EXT-18) - ✅ UI DONE
|
|
|
|
|
4. **Story 4.4:** Smart Notifications Management (FR-EXT-19) - ✅ UI DONE
|
|
|
|
|
5. **Story 4.5:** Keyboard Shortcuts (FR-EXT-20) - ✅ UI DONE
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Key Deliverables:**
|
2026-02-04 13:11:39 +07:00
|
|
|
- ✅ Chart capture UI (ChartCapturePanel, ChartCaptureWidget)
|
|
|
|
|
- ✅ Thread generator UI (ThreadGeneratorPanel, ThreadGeneratorWidget)
|
|
|
|
|
- ✅ Context menu quick actions (background/index.ts, useContextAction hook)
|
|
|
|
|
- ✅ Smart notifications UI (NotificationSettingsPanel, NotificationsList)
|
|
|
|
|
- ✅ Keyboard shortcuts (4 shortcuts: Analyze, Watchlist, Capture, Portfolio)
|
|
|
|
|
- ⏳ AI thread generation (needs backend)
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Business Value:** Content creation = Viral marketing
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Implementation Roadmap
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
### Week 1-2: Phase 1 - Core Infrastructure
|
2026-02-01 21:43:15 +07:00
|
|
|
- [x] Side panel architecture
|
|
|
|
|
- [x] Chat interface
|
2026-02-04 13:11:39 +07:00
|
|
|
- [x] Context detection (DexScreener, Twitter, etc.)
|
2026-02-01 21:43:15 +07:00
|
|
|
- [x] DexScreener integration
|
|
|
|
|
- [x] Quick capture
|
2026-02-04 13:11:39 +07:00
|
|
|
- [x] Universal token search (NEW)
|
|
|
|
|
- [x] Multi-page token detection (NEW)
|
|
|
|
|
- [x] Floating quick action button (NEW)
|
|
|
|
|
- [ ] Authentication (BLOCKER)
|
|
|
|
|
- [ ] Settings sync API
|
|
|
|
|
|
|
|
|
|
### Week 3-4: Phase 2 - Smart Monitoring
|
|
|
|
|
- [x] Watchlist UI (WatchlistPanel, WatchlistWidget)
|
|
|
|
|
- [x] Alert config UI (AlertConfigModal, AlertWidget)
|
|
|
|
|
- [x] Whale activity UI (WhaleActivityFeed, WhaleActivityWidget)
|
|
|
|
|
- [x] Safety score UI (SafetyScoreDisplay)
|
|
|
|
|
- [ ] DexScreener API integration
|
|
|
|
|
- [ ] Real-time price alerts
|
|
|
|
|
- [ ] Browser notifications
|
|
|
|
|
|
|
|
|
|
### Week 5-6: Phase 3 - Trading Intelligence
|
|
|
|
|
- [x] Token analysis UI (TokenAnalysisPanel, TokenAnalysisWidget)
|
|
|
|
|
- [x] Trading suggestions UI (TradingSuggestionPanel, TradingSuggestionWidget)
|
|
|
|
|
- [x] Portfolio UI (PortfolioPanel, PortfolioWidget)
|
|
|
|
|
- [ ] AI analysis backend
|
|
|
|
|
- [ ] Wallet connection
|
|
|
|
|
- [ ] Real-time P&L
|
|
|
|
|
|
|
|
|
|
### Week 7-8: Phase 4 - Content & Productivity
|
|
|
|
|
- [x] Chart capture UI (ChartCapturePanel, ChartCaptureWidget)
|
|
|
|
|
- [x] Thread generator UI (ThreadGeneratorPanel, ThreadGeneratorWidget)
|
|
|
|
|
- [x] Context menu quick actions
|
|
|
|
|
- [x] Smart notifications UI
|
|
|
|
|
- [x] Keyboard shortcuts (4 shortcuts)
|
|
|
|
|
- [ ] AI thread generation backend
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Feature Responsibility Matrix
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
> **Strategy: Extension = Full Features**
|
|
|
|
|
|
|
|
|
|
| Feature | Extension | Web Dashboard | Sync |
|
|
|
|
|
|---------|-----------|---------------|------|
|
2026-02-01 21:43:15 +07:00
|
|
|
| Model Selection | 📖 Read-only | ✏️ Full control | API |
|
|
|
|
|
| Search Space | 📖 Read-only | ✏️ Full control | API |
|
|
|
|
|
| Chat | ✅ Full UI | ✅ Full UI | API |
|
|
|
|
|
| Connectors | 📖 Use only | ✏️ Setup | API |
|
|
|
|
|
| Documents | 👁️ View | ✏️ Manage | API |
|
2026-02-04 13:11:39 +07:00
|
|
|
| Watchlist | ✅ Full | ✅ Full | API |
|
|
|
|
|
| Alerts | ✅ Full | ✅ Full | API |
|
|
|
|
|
| Token Analysis | ✅ Full | ✅ Full (via chat) | API |
|
|
|
|
|
| Whale Activity | ✅ Full | ✅ Full (via chat) | API |
|
|
|
|
|
| Trading Suggestions | ✅ Full | ✅ Full (via chat) | API |
|
|
|
|
|
| Portfolio | ✅ Full | ✅ Full | API |
|
|
|
|
|
| Chart Capture | ✅ Full | ❌ N/A | Local |
|
|
|
|
|
| Thread Generator | ✅ Full | ❌ N/A | Local |
|
|
|
|
|
| Context Detection | ✅ Full | ❌ N/A | Local |
|
|
|
|
|
| Floating Button | ✅ Full | ❌ N/A | Local |
|
2026-02-01 21:43:15 +07:00
|
|
|
| Settings | 📖 Quick | ✏️ Full | API |
|
2026-02-04 13:11:39 +07:00
|
|
|
| Analytics | 👁️ Basic | ✅ Full | API |
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
**Legend:**
|
|
|
|
|
- ✅ Full feature
|
|
|
|
|
- ✏️ Full control
|
|
|
|
|
- 📖 Read-only
|
|
|
|
|
- 👁️ View only
|
2026-02-04 13:11:39 +07:00
|
|
|
- ❌ N/A
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Technical Stack
|
|
|
|
|
|
|
|
|
|
### Frontend (Extension)
|
|
|
|
|
- **Framework:** Plasmo (React + TypeScript)
|
2026-02-04 13:11:39 +07:00
|
|
|
- **UI:** @assistant-ui/react, shadcn/ui, Lucide icons
|
2026-02-01 21:43:15 +07:00
|
|
|
- **State:** Plasmo Storage, React Context
|
2026-02-04 13:11:39 +07:00
|
|
|
- **APIs:** Chrome Extension APIs (sidePanel, storage, tabs, identity)
|
|
|
|
|
|
|
|
|
|
### Frontend (Web)
|
|
|
|
|
- **Framework:** Next.js (React + TypeScript)
|
|
|
|
|
- **UI:** shadcn/ui, @assistant-ui/react
|
|
|
|
|
- **State:** React Context, Server Components
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
### Backend (⏳ PENDING)
|
2026-02-01 21:43:15 +07:00
|
|
|
- **Framework:** FastAPI (Python)
|
|
|
|
|
- **AI:** Gemini 1.5 Flash / GPT-4o-mini
|
|
|
|
|
- **RAG:** Supabase (pgvector)
|
|
|
|
|
- **Cache:** Redis
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
### Data Sources (⏳ PENDING)
|
2026-02-01 21:43:15 +07:00
|
|
|
- DexScreener API
|
|
|
|
|
- DefiLlama API
|
|
|
|
|
- Helius (Solana)
|
|
|
|
|
- Alchemy (Ethereum)
|
|
|
|
|
- RugCheck API
|
|
|
|
|
- Token Sniffer
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
## Current Progress
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
### Phase 1 (✅ 100% Frontend)
|
2026-02-01 21:43:15 +07:00
|
|
|
- [x] Extension installable
|
2026-02-04 13:11:39 +07:00
|
|
|
- [x] Chat works (mock data)
|
2026-02-01 21:43:15 +07:00
|
|
|
- [x] Context detection works
|
|
|
|
|
- [x] Token card displays
|
2026-02-04 13:11:39 +07:00
|
|
|
- [x] Universal search works
|
|
|
|
|
- [x] Multi-page detection works
|
|
|
|
|
- [x] Floating button works
|
|
|
|
|
- [ ] Authentication (BACKEND)
|
|
|
|
|
- [ ] Real data from APIs (BACKEND)
|
|
|
|
|
|
|
|
|
|
### Phase 2 (✅ 100% UI)
|
|
|
|
|
- [x] Watchlist UI complete
|
|
|
|
|
- [x] Alert config UI complete
|
|
|
|
|
- [x] Whale activity UI complete
|
|
|
|
|
- [x] Safety score UI complete
|
|
|
|
|
- [ ] Real-time data (BACKEND)
|
|
|
|
|
- [ ] Browser notifications (BACKEND)
|
|
|
|
|
|
|
|
|
|
### Phase 3 (✅ 100% UI)
|
|
|
|
|
- [x] Token analysis UI complete
|
|
|
|
|
- [x] Trading suggestions UI complete
|
|
|
|
|
- [x] Portfolio UI complete
|
|
|
|
|
- [x] Holder analysis widget
|
|
|
|
|
- [x] Market overview widget
|
|
|
|
|
- [x] Trending tokens widget
|
|
|
|
|
- [x] Live token price/data widgets
|
|
|
|
|
- [ ] AI analysis (BACKEND)
|
|
|
|
|
- [ ] Wallet connection (BACKEND)
|
|
|
|
|
|
|
|
|
|
### Phase 4 (✅ 100% UI)
|
|
|
|
|
- [x] Chart capture UI complete
|
|
|
|
|
- [x] Thread generator UI complete
|
|
|
|
|
- [x] Context menu quick actions
|
|
|
|
|
- [x] Smart notifications UI
|
|
|
|
|
- [x] Keyboard shortcuts (4 shortcuts)
|
|
|
|
|
- [ ] AI thread generation (BACKEND)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 🔴 Critical Blockers
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
1. **Backend Authentication (Story 1.0)**
|
|
|
|
|
- Cần JWT + OAuth
|
|
|
|
|
- Blocks: Settings sync, Chat sync, User data
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
2. **DexScreener API Integration**
|
|
|
|
|
- Cần real-time token data
|
|
|
|
|
- Blocks: All token-related features
|
2026-02-01 21:43:15 +07:00
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
3. **Backend APIs**
|
|
|
|
|
- Settings, Chat, Capture endpoints
|
|
|
|
|
- Blocks: Extension ↔ Web sync
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Next Steps
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
1. 🔴 **PRIORITY: Backend Authentication** - Implement Story 1.0
|
|
|
|
|
2. 🔴 **PRIORITY: DexScreener API** - Replace mock data with real data
|
|
|
|
|
3. 🔴 **PRIORITY: Backend APIs** - Settings, Chat, Capture endpoints
|
|
|
|
|
4. 🟡 **AI Thread Generation** - Backend for Epic 4.2
|
|
|
|
|
5. 🟡 **Browser Notifications** - Real-time alerts
|
|
|
|
|
6. 🟢 **Wallet Connection** - Portfolio integration
|
2026-02-01 21:43:15 +07:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Related Documents
|
|
|
|
|
|
2026-02-04 13:11:39 +07:00
|
|
|
- [PRD v2](../_bmad-output/planning-artifacts/prd.md)
|
|
|
|
|
- [Epic 1: AI-Powered Crypto Assistant](./epic-1-ai-powered-crypto-assistant.md)
|
|
|
|
|
- [Epic 2: Smart Monitoring & Alerts](./epic-2-smart-monitoring-alerts.md)
|
|
|
|
|
- [Epic 3: Trading Intelligence](./epic-3-trading-intelligence.md)
|
|
|
|
|
- [Epic 4: Content Creation & Productivity](./epic-4-content-creation-productivity.md)
|