plane icon indicating copy to clipboard operation
plane copied to clipboard

[WEB-1116] chore: add fallback for the live server

Open aaryan610 opened this issue 5 months ago • 1 comments

This PR adds a fallback logic, in case the live serve doesn't work.

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced collaborative editing capabilities with support for real-time synchronization using Hocuspocus and Yjs.
    • Added a new method to retrieve document state in multiple formats (binary, HTML, JSON) for enhanced document management.
    • Implemented a new hook for managing page descriptions with auto-save functionality.
    • Added a debounce mechanism to improve server performance and resource management.
  • Improvements

    • Enhanced page description handling with asynchronous updates and improved structure for document payloads.
    • Increased auto-save interval to 30 seconds for better performance.
  • Bug Fixes

    • Removed outdated connection status handling to streamline user interface and improve clarity.
  • Refactor

    • Simplified method signatures and improved data handling across various components and services.
    • Removed unnecessary dependencies in the PageEditorBody component for a more streamlined implementation.

aaryan610 avatar Sep 17 '24 10:09 aaryan610