Skip to content

Commit 7c690ae

Browse files
rainerstudiosclaude
andcommitted
Update ROADMAP with v1.5.0 completed features
Mark the following features as completed: - Quick Actions API (quick add, quick sell, quick price check) - Reverse Sales functionality - Price change tracking database schema - Fixed inventory sync to include all marketable items Updated version to v1.5.0 (current) and marked sprint progress. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 43652ac commit 7c690ae

1 file changed

Lines changed: 49 additions & 33 deletions

File tree

ROADMAP.md

Lines changed: 49 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,22 @@ Complete roadmap for enhancing the CS2 portfolio tracking and float inspection s
1818
- ✅ Investment scoring algorithm
1919
- ✅ Float rarity detection
2020
- ✅ Pattern detection (Blue Gems, etc.)
21+
- ✅ Quick Actions API (quick add, quick sell, quick price check)
22+
- ✅ Reverse sales (undo completed sales)
2123

2224
### Steam Integration
2325
- ✅ Fetch Steam inventory
2426
- ✅ Sync inventory to portfolio (auto or manual)
2527
- ✅ Inventory value calculation
2628
- ✅ Better Auth + Steam OAuth
29+
- ✅ Sync all marketable items (cases, stickers, graffiti, music kits)
2730

2831
### Pricing
2932
- ✅ Multi-market pricing (Buff163, Skinport, CSFloat, Steam)
3033
- ✅ Price caching (5 min TTL)
3134
- ✅ Price history tracking
3235
- ✅ Float-based price premium calculation
36+
- ✅ Price change tracking database schema (tables created, endpoints pending)
3337

3438
### Float Inspection
3539
- ✅ Single and bulk float inspection
@@ -45,12 +49,16 @@ Complete roadmap for enhancing the CS2 portfolio tracking and float inspection s
4549
### 1. Real-Time Price Alerts
4650
**From:** CS2SkinTracker + User Request
4751

52+
**Status:** 🟡 Partially Complete (Database schema created, endpoints pending)
53+
4854
**Features:**
49-
- [ ] Price drop notifications (email/Discord/webhook)
50-
- [ ] Price spike alerts
55+
- [x] ✅ Database schema for price tracking (price_changes, price_alerts, user_notifications)
56+
- [ ] Price drop notifications API (email/Discord/webhook)
57+
- [ ] Price spike alerts API
5158
- [ ] Threshold-based triggers (e.g., alert if price drops 10%)
5259
- [ ] Watch all portfolio items automatically
5360
- [ ] Custom alert conditions
61+
- [ ] Background job to detect price changes
5462

5563
**Implementation:**
5664
```javascript
@@ -63,18 +71,13 @@ POST /api/alerts/create
6371
}
6472
```
6573

66-
**Database:**
74+
**Database:****COMPLETED** (migration 006_price_changes.sql)
6775
```sql
68-
CREATE TABLE price_alerts (
69-
id SERIAL PRIMARY KEY,
70-
user_id VARCHAR(255),
71-
item_name TEXT,
72-
alert_type VARCHAR(50),
73-
threshold NUMERIC(5,2),
74-
notification_method VARCHAR(50),
75-
last_triggered TIMESTAMP,
76-
is_active BOOLEAN DEFAULT true
77-
);
76+
-- Already created:
77+
CREATE TABLE price_changes (...);
78+
CREATE TABLE price_alerts (...);
79+
CREATE TABLE user_notifications (...);
80+
CREATE VIEW recent_price_changes (...);
7881
```
7982

8083
---
@@ -132,46 +135,58 @@ Name,Wear,Float,Pattern,Price (Buff),Price (Steam),Stickers,Tradable
132135

133136
---
134137

135-
### 4. Quick Actions API
138+
### 4. Quick Actions API**COMPLETED**
136139
**From:** CS2SkinTracker
137140

138141
**Features:**
139-
- [ ] Fast add (minimal required fields)
140-
- [ ] Quick sell
141-
- [ ] Rapid price check
142+
- [x]Fast add (minimal required fields, up to 20 items)
143+
- [x]Quick sell (auto-calculates profit/ROI)
144+
- [x]Rapid price check (batch lookup up to 50 items)
142145
- [ ] Bulk update marketplace
143146

144-
**Endpoints:**
147+
**Endpoints:****IMPLEMENTED**
145148
```javascript
146149
POST /api/portfolio/quick/add
147150
{
148-
"items": ["AK-47 | Redline (FT)", "AWP | Asiimov (FT)"],
149-
"marketplace": "Buff163"
150-
// Auto-fetch current prices as purchase prices
151+
"userId": "steam_12345",
152+
"itemNames": ["AK-47 | Redline (FT)", "AWP | Asiimov (FT)"],
153+
"marketplace": "Steam" // Auto-fetch current prices as purchase prices
151154
}
152155

153156
POST /api/portfolio/quick/sell/:investmentId
154157
{
155-
"salePrice": 18.50 // Everything else auto-calculated
158+
"salePrice": 18.50 // Everything else auto-calculated (profit, ROI)
159+
}
160+
161+
POST /api/portfolio/quick/price-check
162+
{
163+
"itemNames": ["AK-47 | Redline (FT)", ...] // Up to 50 items
156164
}
157165
```
158166

159167
---
160168

161-
### 5. Reverse Sales (Undo)
169+
### 5. Reverse Sales (Undo)**COMPLETED**
162170
**From:** CS2SkinTracker
163171

164172
**Features:**
165-
- [ ] Undo completed sales
166-
- [ ] Restore item to portfolio
167-
- [ ] Audit trail of reversals
173+
- [x] ✅ Undo completed sales
174+
- [x] ✅ Restore item to portfolio (marks investment as unsold)
175+
- [x] ✅ Delete sale record
176+
- [ ] Audit trail of reversals (future enhancement)
168177

169-
**Endpoint:**
178+
**Endpoint:****IMPLEMENTED**
170179
```javascript
171180
POST /api/portfolio/sale/reverse/:saleId
172181
Response: {
173182
"success": true,
174-
"restoredInvestment": { ... }
183+
"message": "Sale reversed successfully",
184+
"restoredInvestment": {
185+
"id": 123,
186+
"itemName": "AK-47 | Redline (FT)",
187+
"quantity": 1,
188+
"originalPrice": 15.00
189+
}
175190
}
176191
```
177192

@@ -581,13 +596,13 @@ AI: "Based on market trends, I'd recommend holding. Knife prices typically rise
581596
### Must Have:
582597
1. ✅ Fix Steam inventory sync bugs
583598
2. ✅ Add user_steam_id to manual add
584-
3. Price alerts system (email + Discord)
599+
3. 🟡 Price alerts system (database ✅, endpoints pending)
585600
4. ⏳ Portfolio analytics dashboard
586601

587602
### Should Have:
588603
1. CSV export with pricing
589-
2. Quick actions API
590-
3. Reverse sales functionality
604+
2. Quick actions API
605+
3. Reverse sales functionality
591606

592607
### Nice to Have:
593608
1. Leaderboard system
@@ -613,8 +628,9 @@ AI: "Based on market trends, I'd recommend holding. Knife prices typically rise
613628
- **v1.1.0** - Steam integration added
614629
- **v1.2.0** - Better Auth integration
615630
- **v1.3.0** - Multi-market pricing
616-
- **v1.4.0** - Investment scoring (current)
617-
- **v1.5.0** - Price alerts (planned)
631+
- **v1.4.0** - Investment scoring
632+
- **v1.5.0** - Quick Actions, Reverse Sales, Price Tracking Infrastructure (current)
633+
- **v1.6.0** - Price alerts & notifications (planned)
618634
- **v2.0.0** - Analytics dashboard (planned)
619635

620636
---

0 commit comments

Comments
 (0)