Skip to content

feat: user profile address - #102

Merged
danielhe4rt merged 10 commits into
3.xfrom
feat/user-profile-address
Nov 12, 2025
Merged

feat: user profile address#102
danielhe4rt merged 10 commits into
3.xfrom
feat/user-profile-address

Conversation

@Clintonrocha98

Copy link
Copy Markdown
Member
image image

This pull request introduces significant enhancements to the user profile management experience, including new sections for personal information and address details, as well as improvements in code clarity and customization. The main changes are grouped below:

User Profile Feature Expansion

  • Added new tabs to the UserProfile page for "Information" and "Address", each with their own form sections, input fields, and save actions, allowing users to update personal and address details directly from their profile. (app-modules/user/src/Filament/User/Pages/UserProfile.php)
  • Introduced new state variables (informationData, addressData) and logic to initialize them from the authenticated user's related models. Added saveInformation and saveAddress methods to handle validation, persistence, and notifications for these new sections. (app-modules/user/src/Filament/User/Pages/UserProfile.php) [1] [2] [3]

Panel Customization

  • Updated both PartnerPanelProvider and UserPanelProvider to use a custom Login page instead of the default, enabling tailored authentication experiences for each panel. (app/Providers/Filament/PartnerPanelProvider.php, app/Providers/Filament/UserPanelProvider.php) [1] [2] [3] [4]

Code Style and Readability Improvements

  • Improved code formatting for better readability in several callback and notification methods, including multi-factor authentication provider sorting and notification creation. (app-modules/user/src/Filament/User/Pages/UserProfile.php) [1] [2] [3] [4]

These changes collectively enhance the user profile experience and maintainability of the codebase.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces user profile address and information management capabilities by adding two new tabs to the UserProfile page. Users can now update their personal information (name, nickname, birthdate, social links) and address details (country, state, city, zip code) through dedicated UI sections.

Key changes:

  • Added Information and Address tabs with form inputs and save actions to the UserProfile page
  • Configured custom Login page class for both User and Partner panels
  • Improved code formatting for better readability in multi-line callbacks and notification methods

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
app/Providers/Filament/UserPanelProvider.php Updated to use custom Login class instead of default login page
app/Providers/Filament/PartnerPanelProvider.php Updated to use custom Login class instead of default login page
app-modules/user/src/Filament/User/Pages/UserProfile.php Added Information and Address form sections with save methods, new state properties, and code formatting improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app-modules/user/src/Filament/User/Pages/UserProfile.php
Comment thread app-modules/user/src/Filament/User/Pages/UserProfile.php
@danielhe4rt
danielhe4rt merged commit c8a8636 into 3.x Nov 12, 2025
5 checks passed
@danielhe4rt
danielhe4rt deleted the feat/user-profile-address branch November 12, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants