From add1136a89b08082884235572d2ddbe6c1fa8bb5 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Sat, 6 Sep 2025 22:05:25 -0400 Subject: [PATCH] docs: update marketplace redesign plan and add user data template --- docs/dev/design/marketplace-redesign-plan.md | 42 ++++------------- user_data/user123_at_example_com.json | 49 ++++++++++++++++++++ 2 files changed, 59 insertions(+), 32 deletions(-) create mode 100644 user_data/user123_at_example_com.json diff --git a/docs/dev/design/marketplace-redesign-plan.md b/docs/dev/design/marketplace-redesign-plan.md index dcd6523..8ec0711 100644 --- a/docs/dev/design/marketplace-redesign-plan.md +++ b/docs/dev/design/marketplace-redesign-plan.md @@ -30,20 +30,7 @@ This document outlines the comprehensive redesign of the Project Mycelium market - [ ] Update transaction records - [ ] Update backend currency handling -### 2. Cart Feature Removal -- [ ] **Remove cart functionality** - - [ ] Remove cart-related templates and views - - [ ] Remove cart controllers and routes - - [ ] Remove cart JavaScript and interactions - - [ ] Update navigation (remove cart icon/link) - -- [ ] **Streamline purchase flow** - - [ ] Verify buy now functionality works - - [ ] Update purchase flow documentation - - [ ] Test direct credit purchase → buy now flow - - [ ] Remove cart-related database/storage - -### 3. Currency System Overhaul +### 2. Currency System Overhaul - [ ] **Implement Mycelium Credit (MC)** - [ ] Update currency service to use MC as base - [ ] Set initial exchange rate: 1 MC = 1 USD @@ -56,7 +43,7 @@ This document outlines the comprehensive redesign of the Project Mycelium market - [ ] Implement currency preference persistence - [ ] Update currency display throughout UI -### 4. Statistics & Grid Integration +### 3. Statistics & Grid Integration - [ ] **TF Grid Statistics** - [ ] Implement grid proxy integration - [ ] Add statistics dashboard section @@ -69,10 +56,9 @@ This document outlines the comprehensive redesign of the Project Mycelium market - [ ] Update node status displays - [ ] Add real-time grid data -### 5. UX Verification & Testing +### 4. UX Verification & Testing - [ ] **Frontend Testing** - [ ] Test all updated terminology - - [ ] Verify purchase flow without cart - [ ] Test currency display preferences - [ ] Check responsive design @@ -97,28 +83,21 @@ This document outlines the comprehensive redesign of the Project Mycelium market - [ ] Database migration for terminology - [ ] Documentation updates -### Phase 2: Cart Removal & Flow Simplification -**Focus:** Remove cart complexity and streamline purchase -- [ ] Remove cart-related code -- [ ] Update purchase flow -- [ ] Test simplified UX -- [ ] Update user documentation - -### Phase 3: Currency System Implementation +### Phase 2: Currency System Implementation **Focus:** Implement MC currency and preferences - [ ] Currency service updates - [ ] Settings page enhancements - [ ] UI updates for currency display - [ ] Testing and validation -### Phase 4: Statistics & Grid Integration +### Phase 3: Statistics & Grid Integration **Focus:** Add grid statistics and improve node management - [ ] Grid proxy integration - [ ] Statistics dashboard - [ ] Node management improvements - [ ] Real-time data updates -### Phase 5: Final Testing & Polish +### Phase 4: Final Testing & Polish **Focus:** Comprehensive testing and UX refinement - [ ] Full UX testing suite - [ ] Performance optimization @@ -147,15 +126,14 @@ This document outlines the comprehensive redesign of the Project Mycelium market ## 📊 Progress Tracking -- **Total Tasks:** 50+ -- **Completed:** 0 -- **In Progress:** 0 -- **Remaining:** 50+ +- **Total Tasks:** ... +- **Completed:** ... +- **In Progress:** ... +- **Remaining:** ... ## 🎯 Success Criteria - [ ] All terminology updated consistently -- [ ] Cart functionality completely removed - [ ] MC currency fully implemented - [ ] Grid statistics integrated - [ ] All UX flows verified working diff --git a/user_data/user123_at_example_com.json b/user_data/user123_at_example_com.json new file mode 100644 index 0000000..1c92d38 --- /dev/null +++ b/user_data/user123_at_example_com.json @@ -0,0 +1,49 @@ +{ + "user_email": "user123@example.com", + "wallet_balance_usd": 0.0, + "transactions": [], + "staked_amount_usd": 0.0, + "pool_positions": {}, + "name": "user123", + "country": null, + "timezone": null, + "password_hash": "$2b$12$g8daTd2i0nUXUOJEBFMGKuRhJTNye6hae1hDETWLTKBTPs.3WasQu", + "services": [], + "service_requests": [], + "service_bookings": [], + "availability": null, + "slas": [], + "apps": [], + "app_deployments": [], + "deleted": null, + "deleted_at": null, + "deletion_reason": null, + "nodes": [], + "farmer_earnings": [], + "farmer_settings": null, + "slice_products": [], + "user_activities": [], + "user_preferences": null, + "usage_statistics": null, + "orders": [], + "active_product_rentals": [], + "farmer_rental_earnings": [], + "node_rentals": [], + "node_groups": [], + "slice_rentals": [], + "slice_assignments": [], + "display_currency": "USD", + "quick_topup_amounts": [ + 10.0, + 25.0, + 50.0, + 100.0 + ], + "auto_topup_settings": null, + "products": [], + "owned_products": [], + "owned_product_ids": [], + "ssh_keys": [], + "message_threads": null, + "messages": null +} \ No newline at end of file