You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transform the dotCMS Universal Visual Editor (UVE) and JavaScript SDK from alpha to a production-ready, stable release by addressing core architectural challenges, improving the developer experience, and ensuring reliable content-editing capabilities across frameworks.
Goals
Core Architecture
Implement unified content fetching through GraphQL and Navigation API
Create reliable UVE detection for both server and client environments
Establish stable communication between UVE and client applications
Resolve the preview mode/isInsideEditor functionality
Developer Experience
Eliminate redundant configuration requirements
Standardize component CSS classes and HTML structure
Improve error handling and debugging capabilities
Clean up SDK exports and provide clear public APIs
Content Management
Enable content editing anywhere on the page
Implement a reliable content subscription mechanism
Support complex data requirements through GraphQL
Handle both server-side and client-side data fetching
Framework Support
Ensure compatibility with core LTS versions
Provide framework-agnostic core libraries
Maintain backward compatibility where possible
Non-Goals:
Real-time in-memory page state updates.
Complex caching (handled by dotCMS CDN)
Advanced performance optimizations.
Establishing monitoring systems.
Requirements
Functional Requirements
SDK Enhancements
Support GraphQL queries for unified content fetching.
Enable real-time subscriptions to content updates.
Provide robust UVE detection for both client and server environments.
Three Pillars Integration
Content: Standardize content queries for flexibility in fetching.
Page: Support editable pages with full compatibility in UVE.
Navigation: Ensure reliable fetching and rendering of navigation data.
Framework Support
React hooks, Angular services, and Next.js utilities for seamless integration.
Maintain compatibility with LTS versions of frameworks.
Developer Experience
Simplify configuration and API usage.
Provide migration guides and examples to ease the transition from older SDKs.
Eliminate redundant or excessive HTML elements.
Non-Functional Requirements
Optimize performance for high-traffic use cases with query batching.
Ensure compatibility with existing dotCMS workflows.
Conduct a thorough security audit of the SDK.
Phases and Milestones
Phase 1: Core Implementation
Setup communication layer
Implement GraphQL integration and query merging
Establish UVE detection (server/client)
Create React hooks and Angular solutions
Standardize component structure and CSS
Phase 2: Framework Support
Implement framework-specific integrations
Ensure compatibility with LTS versions of React, Angular, and Next.js.
Update documentation
Develop migration guides
Phase 3: Testing & Release
Comprehensive testing
Performance optimization
Security audit
Beta and stable release
Acceptance Criteria
1. Core Functionality
GraphQL integration supports query merging and subscriptions
UVE detection works reliably in all environments
Preview mode and isInsideEditor function correctly
Content subscription provides consistent updates
Navigation handles without redundant API calls
Content editing works anywhere on the page
2. Developer Experience
No manual parameter formatting is required
Error boundaries prevent application crashes
Standardized component CSS classes and HTML structure
Clean SDK exports with clear public/private separation
Comprehensive error messages and debugging information
Overview
Transform the dotCMS Universal Visual Editor (UVE) and JavaScript SDK from alpha to a production-ready, stable release by addressing core architectural challenges, improving the developer experience, and ensuring reliable content-editing capabilities across frameworks.
Goals
Core Architecture
Developer Experience
Content Management
Framework Support
Non-Goals:
Requirements
Functional Requirements
SDK Enhancements
Three Pillars Integration
Framework Support
Developer Experience
Non-Functional Requirements
Phases and Milestones
Phase 1: Core Implementation
Phase 2: Framework Support
Phase 3: Testing & Release
Acceptance Criteria
1. Core Functionality
2. Developer Experience
3. Framework Support
4. Documentation & Testing
5. Performance & Stability
Dependencies
Risks
Resources
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
Tasks
isEditMode()
andisPreviewMode()
Functions #31090isClientReady
and Redefining Initial Loading State Handling #31091The text was updated successfully, but these errors were encountered: