Implement People Dashboard and Person Resource #861
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.
Purpose
This pull request introduces the People Dashboard and Person Resource features to the Genealogy Laravel application. These changes aim to provide a user-friendly interface for managing people in the system.
Description
The key changes in this pull request are:
People Dashboard: The
PeopleDashboard
page has been created, which serves as the main entry point for the people management functionality. It includes aPeopleWidget
widget that displays relevant information about people in the system.Person Resource: The
PersonResource
has been implemented, which provides a comprehensive set of CRUD (Create, Read, Update, Delete) operations for managing person records. This includes a form for creating and editing person details, as well as a table view for listing and filtering people.BelongsToTenant
Trait: TheBelongsToTenant
trait has been updated to handle cross-tenant access to person records, allowing users to view and manage people across different teams or tenants.PeopleSearch
Livewire Component: A new Livewire component,PeopleSearch
, has been added to provide a search functionality for people. This component allows users to search for people by first or last name, and optionally exclude living people from the results.Summary
The key changes in this pull request include:
PeopleDashboard
page andPeopleWidget
widgetPersonResource
with CRUD operationsBelongsToTenant
trait to handle cross-tenant accessPeopleSearch
Livewire component for searching peopleSuggested changes from Sweep Chat by @curtisdelicata. Continue chatting at https://sweep-chat-demo.vercel.app/c/0958190d-8c6d-440f-81d5-422f98c3754e.