enhanced_kanban_view
# π― Enhanced Kanban View A powerful custom Frappe app that extends Kanban view functionality with advanced features for better workflow management and data validation. **Inspired by Bitrix24's Kanban board system**. ## β¨ Features ### π Link Field-Based Kanban Boards - Automatically creates columns based on Link fields in your DocTypes - Auto-syncs columns when linked records are created, renamed, or deleted ### π Column Rules & Validation - Define required fields for specific columns - Show validation dialogs when moving cards between columns - Auto-revert cards if validation fails ### π¨ Enhanced User Experience - Quick Entry Dialogs with field validation - Smart field detection for rules - Seamless Frappe integration ## π Installation ```bash bench get-app https://github.com/ibrahim317/enhanced_kanban_view.git bench --site your-site.com install-app enhanced_kanban_view bench build ``` ## π Quick Start ### 1. Create Link Field-Based Kanban 1. Navigate to your DocType's List view 2. Click **Kanban** β **"New Kanban Board"** 3. Select your Link field 4. Columns auto-create based on linked records ### 2. Set Up Column Rules 1. Go to **Kanban View > Menu > Create Kanban Board Rule** 2. Choose target column 3. Add required fields in the **"Required Fields"** table ### 3. Validation Behavior - Moving cards to columns with rules opens validation dialog - Fill required fields to proceed - Failed validation returns card to original position ## π₯ Demo & Tutorial [](https://www.youtube.com/watch?v=NvSm9p14NiI) πΊ **Watch the full demo and tutorial**: [Enhanced Kanban View Features & Usage](https://www.youtube.com/watch?v=NvSm9p14NiI) ## ποΈ Architecture ### Core Components - **Kanban Board Rule**: Defines validation rules for columns - **Kanban Rule Field**: Child table for required fields - **Monkey Patches**: Handle automatic column CRUD operations - **API Endpoints**: Field validation and board configuration ### Database Schema ```json Kanban Board Rule: { "kanban_board": "Link to Kanban Board", "kanban_board_column": "Link to Kanban Board Column", "required_fields": "Table: Kanban Rule Field" } Kanban Rule Field: { "field_doctype": "Select: DocField|Custom Field", "field_name": "Select: Available Fields" } ``` ## π§ Configuration - **Hooks**: CSS/JS, Monkey Patches, Document Events - **Permissions**: System Manager access by default - **Customization**: Standard and Custom Field support ## π Troubleshooting ### Common Issues - **Columns not updating**: Check linked DocType permissions and Link field config - **Validation dialogs missing**: Verify Kanban Board Rules configuration - **Performance issues**: Monitor database queries and consider indexing ## π€ Contributing 1. Fork the repository 2. Create feature branch 3. Make changes and test 4. Submit pull request ## π License MIT License - see [LICENSE](license.txt) ## π Acknowledgments - **Bitrix24** - Design inspiration - Frappe Framework team - All contributors ## π Support - π§ Email: [email protected] - π Issues: GitHub issues - π Docs: Code comments and docstrings --- **Made with β€οΈ for the Frappe/ERPNext community**