-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve load time in edit-content form #30389
Comments
nicobytes
added
Team : Falcon
OKR : Application Performance
Owned by Will
dotCMS : Content Management
Type : Enhancement
and removed
Triage
Type : Task
labels
Oct 18, 2024
nicobytes
added a commit
that referenced
this issue
Oct 18, 2024
nicobytes
added a commit
that referenced
this issue
Oct 18, 2024
3 tasks
3 tasks
nicobytes
added a commit
that referenced
this issue
Oct 18, 2024
QA Notes: Case 1: All fields
2024-10-18.13-04-26.mp4Case 2: One field
2024-10-18.13-05-19.mp4 |
github-merge-queue bot
pushed a commit
that referenced
this issue
Oct 18, 2024
### Proposed Changes #30389 ### Summary This pull request includes significant changes to the `dot-edit-content-field` component in the `core-web` library. The main updates involve deferring the rendering of various field components and removing the now unnecessary `DotEditContentFieldsModule`. ### Rendering Optimization: * Added `@defer (on immediate)` directive to defer the rendering of multiple field components in `dot-edit-content-field.component.html` to improve performance. (`core-web/libs/edit-content/src/lib/components/dot-edit-content-field/dot-edit-content-field.component.html`) <img width="780" alt="Screenshot 2024-10-18 at 10 05 57 AM" src="https://github.com/user-attachments/assets/aa054965-9a20-4667-a32c-e9fa8bf5306c"> ### Module Refactoring: * Removed the `DotEditContentFieldsModule` and updated the imports to include individual field components directly in `dot-edit-content-field.component.ts`. (`core-web/libs/edit-content/src/lib/components/dot-edit-content-field/dot-edit-content-field.component.ts`) [[1]](diffhunk://#diff-f03434ad88316542a23c3fb0bf50b6650130632c3e7953d7ee3c882cb5950d06L9-R22) [[2]](diffhunk://#diff-f03434ad88316542a23c3fb0bf50b6650130632c3e7953d7ee3c882cb5950d06L30-R54) * Deleted the now redundant `DotEditContentFieldsModule` file. (`core-web/libs/edit-content/src/lib/fields/dot-edit-content-fields.module.ts`) ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable) ### Screenshots With all fields, each field is loaded only when necessary. ![Frame 10](https://github.com/user-attachments/assets/2514cbbc-5758-40e4-9b7b-46a31a7fc791) When the user selects a few fields, only those fields are loaded ![Frame 11](https://github.com/user-attachments/assets/2fe4475c-eec1-4b03-90dd-5e5ba6ac3154)
nicobytes
added a commit
that referenced
this issue
Oct 18, 2024
IQA Passed. CleanShot.2024-10-18.at.16.37.57.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Task
Optimize load time by using the @defer in fields, allowing non-critical content to load asynchronously and improve overall performance
Proposed Objective
Application Performance
Proposed Priority
Priority 4 - Trivial
Acceptance Criteria
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: