feat: Upgrade Flowforge to v3 and add Kanban test suite#7
Merged
MujahidAbbas merged 5 commits intomainfrom Jan 13, 2026
Merged
Conversation
Templates System: - Add Template model with 23 built-in templates across 6 categories - Add TemplateCategory and FeedbackType enums - Create TemplateSelector Livewire component for PRD/Tech tabs - Integrate templates into GeneratePrdJob and GenerateTechSpecJob - Templates inject structured sections into AI prompts AI Feedback Panel: - Add GenerateFeedbackJob for async feedback generation - Create FeedbackPanel Livewire component with 5 feedback types - Add feedback prompt templates (completeness, clarity, technical, stakeholder, overall) - Cache-based feedback storage with version-aware cache keys Tests: - Add TemplateTest for model and query tests - Add TemplateSelectorTest for Livewire component - Add FeedbackPanelTest for feedback flow
- Implement SortableJS + Alpine.js directive for drag-and-drop - Add x-sortable Alpine directive in app.js - Update Create and Edit template components with reorderSection method - Fix delete button visibility with inline styles - Add comprehensive tests for section reordering functionality
- Extract repetitive logic into private helper methods - Add explicit return types and PHPDoc annotations - Use early return pattern for better readability - Remove unused traits and redundant imports - Apply consistent patterns across Livewire components
- Upgrade relaticle/flowforge from v2.2 to v3.0 - Migrate position column from VARCHAR (Lexorank) to DECIMAL(20,10) - Update GenerateTasksJob and DatabaseSeeder to use DecimalPosition - Add TaskFactory states for positions and categories - Create PlanRunFactory and PlanRunStepFactory - Add 92 tests for Kanban board functionality: - DecimalPosition service tests (26 tests) - KanbanBoard component tests (19 tests) - KanbanBoard action tests (19 tests) - KanbanBoard position tests (19 tests) - KanbanBoard authorization tests (9 tests) - Add .ai directory to gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Test plan