feat: sync application information with site records #15671
+28
−1
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.
Sync Application Information with Site Records for Data Consistency
Fixes #15670
Summary
This update ensures that when application information is modified, the corresponding Site records are also updated to maintain data consistency across the system. This fixes the issue where preview URLs show outdated application names after updates.
Changes Implemented
app_service.update_app
to sync name, description, and icon settings to Siteapp_service.update_app_name
to sync name changes to Site titleapp_service.update_app_icon
to sync icon changes to SiteTechnical Details
Testing
Impact
This ensures that users always see the most up-to-date information when:
Related Issue
This PR addresses the synchronization issue detailed in #15670, where application name updates were not being reflected in the preview URLs.
Checklist
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods