Update Settings Module #616
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 includes several changes to improve code consistency, readability, and functionality across various files. The most important changes include modifying constructor methods, updating route definitions, and refining Blade templates for better maintainability.
Consistency Improvements:
app/Listeners/Auth/UpdateLoginData.php
: Simplified the constructor method to a single-line format.app/Listeners/Backend/UserCreated/UserCreatedNotifySuperUser.php
: Simplified the constructor method to a single-line format.app/Listeners/Backend/UserUpdated/UserUpdatedNotifyUser.php
: Simplified the constructor method to a single-line format.app/Listeners/Frontend/UserRegistered/EmailNotificationOnUserRegistered.php
: Simplified the constructor method to a single-line format.app/Listeners/Frontend/UserUpdated/UserUpdatedNotifyUser.php
: Simplified the constructor method to a single-line format.app/Listeners/Frontend/UserUpdated/UserUpdatedProfileUpdate.php
: Simplified the constructor method to a single-line format.Route and URL Updates:
resources/views/backend/includes/sidebar.blade.php
: Updated the route definition to use the.index
suffix for consistency.routes/web.php
: Updated the route name for settings to use the.index
suffix for consistency.Blade Template Refinements:
resources/views/backend/settings/fields/checkbox.blade.php
: Improved formatting and readability of the Blade template.resources/views/backend/settings/index.blade.php
: Refactored the form and section header to use Blade components and improved readability. [1] [2] [3]resources/views/components/backend/buttons/return-back.blade.php
: Set the default value of thesmall
prop totrue
.resources/views/components/backend/section-header.blade.php
: Improved the Blade component for section headers by adding more conditional checks and better formatting. [1] [2] [3]resources/views/components/frontend/card.blade.php
: Added a conditional check for theurl
prop to ensure it is only rendered when provided. [1] [2] [3]