Add Admin Edit Profile with MFA, locale & currency; i18n and infra UI improvements#35
Open
gerichkoeke wants to merge 1 commit intomainfrom
Open
Add Admin Edit Profile with MFA, locale & currency; i18n and infra UI improvements#35gerichkoeke wants to merge 1 commit intomainfrom
gerichkoeke wants to merge 1 commit intomainfrom
Conversation
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.
Motivation
Description
App\Filament\Admin\Pages\Auth\EditProfilewith MFA setup/confirm/disable methods, a two-form layout (profile + MFA), locale and currency selects, and a corresponding Blade view atresources/views/filament/admin/pages/auth/edit-profile.blade.php, and registered it inAdminPanelProvidervia->profile(...)withisSimple: false.localeandcurrencyto their associateddistributor/partnermodels, callsyncLocaleToProfile(...), and set the session andapp()locale after update, plus added the language/currency selects into the forms.lang/*/app.php, add UI/dark-mode styling improvements, add network deletion UI and actions, add proposal/generate labels, and wire new translations likeapp.customer_infra.*.CustomerInfrapages to clearfirewall_option_idandlan_to_lan_addressand added the new fields toProjectmodel (extra_public_ips,extra_ip_price,network_configured,lan_to_lan_address) and casts fornetwork_configured.DistributorPanelProviderto use the distributor-scopedEditProfilepage class and adjusted user menu labels to use translation keys.Testing
php artisan testandvendor/bin/phpunitand the existing automated tests completed successfully.Codex Task