Implement Opportunity Pipeline View #211
Merged
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.
This pull request was created by Sweep to resolve the following request by @curtisdelicata:
Continue chatting at https://sweep-chat-demo.vercel.app/c/d66113ac-8b4f-476b-9d1d-b00eca7038e5.
Purpose
This pull request introduces a new pipeline view for the Opportunity resource in the Liberu CRM application. The pipeline view provides a visual representation of the opportunities and their progression through the different stages of the sales process.
Description
The changes in this pull request include:
getPipelineTable
method in theOpportunityResource
class to define the table configuration for the pipeline view.table
method in theListOpportunities
page to use thegetPipelineTable
method from theOpportunityResource
.OpportunityPipeline
, to handle the rendering and functionality of the pipeline view. This component loads the pipeline stages and deals, and provides a method to update the deal stage.opportunity-pipeline.blade.php
view to display the pipeline view, including the stages and the deals within each stage. The deals can be dragged and dropped to update their stage.Summary
The key changes in this pull request are:
app/Filament/App/Resources/OpportunityResource.php
: Implemented thegetPipelineTable
method to define the table configuration for the pipeline view.app/Filament/App/Resources/OpportunityResource/Pages/ListOpportunities.php
: Updated thetable
method to use thegetPipelineTable
method from theOpportunityResource
.app/Http/Livewire/OpportunityPipeline.php
: Created a new Livewire component to handle the pipeline view functionality.resources/views/livewire/opportunity-pipeline.blade.php
: Implemented the view for the pipeline view, including the stages and the deals.