Skip to content

refactor: Settings#172

Merged
krantheman merged 8 commits into
frappe:developfrom
krantheman:feat-tenant-onboarding
Apr 23, 2025
Merged

refactor: Settings#172
krantheman merged 8 commits into
frappe:developfrom
krantheman:feat-tenant-onboarding

Conversation

@krantheman
Copy link
Copy Markdown
Member

@krantheman krantheman commented Apr 23, 2025

Closes: #165

Features

Before: #42

Now:

image

image

image

@krantheman krantheman requested a review from Copilot April 23, 2025 10:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 refactors the settings functionality by removing obsolete components and introducing new features for profile editing and password changes.

  • Removed the deprecated UserSettings and MailAccountSettings components.
  • Introduced new components for Profile, Account, and Advanced settings, along with modals for editing photos and changing passwords.
  • Updated various FormControl usages by removing the explicit type attributes and adjusted modal sizes and layouts.

Reviewed Changes

Copilot reviewed 30 out of 33 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
BusinessSignupView.vue Removed redundant type attributes in verification and name forms
UserSettings.vue & MailAccountSettings.vue Removed obsolete settings components
ProfileSettings.vue, AdvancedSettings.vue, AccountSettings.vue Added new settings components with updated behavior
SettingsModal.vue Updated modal layout and tabs mapping to new settings components
EditPhotoModal.vue, ChangePasswordModal.vue Introduced new modals for profile photo edits and password changes
AddMemberModal.vue, AddGroupModal.vue, AddDomainModal.vue, AddAliasModal.vue Removed type attributes from FormControl for consistency
MailThread.vue, EmojiPicker.vue, CopyControl.vue Minor attribute and styling updates
index.html Removed inline CSRF token script
Files not reviewed (3)
  • frappe-ui: Language not supported
  • frontend/package.json: Language not supported
  • frontend/src/index.css: Language not supported
Comments suppressed due to low confidence (1)

frontend/index.html:13

  • The removal of the inline CSRF token script might affect security if an alternative CSRF token provision isn't implemented. Please ensure CSRF protection is still handled appropriately.
<script> window.csrf_token = '{{ csrf_token }}'; </script>

Comment thread frontend/src/components/Settings/AccountSettings.vue
@krantheman krantheman merged commit 4f39cd8 into frappe:develop Apr 23, 2025
3 checks passed
@krantheman krantheman deleted the feat-tenant-onboarding branch April 23, 2025 11:13
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.

User Settings

2 participants