From e2e0324cb13d934ed0d008338578adc248adf5c9 Mon Sep 17 00:00:00 2001 From: mindesbunister Date: Mon, 14 Jul 2025 14:23:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20development=20workflow=20d?= =?UTF-8?q?ocumentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Document Git branch strategy - Explain main vs development branch usage - Provide quick reference commands - List current working features on main branch --- DEVELOPMENT.md | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 DEVELOPMENT.md diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 0000000..f8f959f --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,69 @@ +# Development Branch Workflow + +## 🌟 Current Status +- **Main Branch**: Stable, working dashboard with TradingView analysis +- **Development Branch**: Safe space for experimentation and new features + +## 🔄 Git Workflow + +### Working on Features +```bash +# Always work on development branch +git checkout development + +# Create feature branches if needed +git checkout -b feature/new-feature + +# Make changes, commit frequently +git add . +git commit -m "feat: description of changes" + +# Merge back to development when ready +git checkout development +git merge feature/new-feature +``` + +### Protecting Main Branch +```bash +# To switch back to stable version anytime: +git checkout main + +# To bring stable features from development to main: +git checkout main +git merge development # Only when development is stable +git push origin main +``` + +## ✅ What's Working (Main Branch) +- Homepage with hero section and status cards +- Navigation menu with Trading Bot branding +- AI Analysis page with real TradingView integration +- Screenshot capture from AI and DIY layouts +- Enhanced screenshot API with AI analysis +- All navigation pages (Analysis, Trading, Automation, Settings) +- Docker Compose v2 compatibility +- Image serving API for screenshots + +## 🚧 Safe to Break (Development Branch) +- Experiment with new features +- Test breaking changes +- Try different approaches +- Refactor code structure + +## 🔧 Quick Commands +```bash +# Check current branch +git branch + +# See changes +git status + +# Quick commit +git add . && git commit -m "description" + +# Switch to stable main +git checkout main + +# Back to development +git checkout development +```