* Convert OLModal to named exports only
* Make closeButton the default for OLModalHeader
* Set `closeButton={false}` for modal that is not dismissible
* Fix duplicated imports
* Remove another unnecessary `closeButton` prop
* Fix import
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: ddd7be6e59a966ac634683d2494d6e9d2c3732e6
* adding naive event send for case where realtime is disconnected, but user has internet connection for events
* using reportError and moving ops length summation to getUnsavedOpsSize
GitOrigin-RevId: 7c1c8e31ddbaa21fbc299703c69cf07ab46df925
* Improve landmarks for the Project Dasbhboard
* Improve landmarks for the IDE page
* Improve landmarks for the new redesigned IDE page
* Sort locales
* Fix typo OlButtonToolbar -> OLButtonToolbar
* Update project navbar translation
* Update labels
* Redundant main landmark
* Fix failing test
* Descriptive name for the rails tab
* Header should not be in a button
* Update translation to Account and help
* Update translation to Project categories and tags
* Add explanations
* Show landmark for the survey widget when it's rendered
* Suggestions for nav stretch/scroll/borders
* Source format
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: d05a738e782d2edb229529aadf92b9004dfd973a
* Improve landmarks for the Project Dasbhboard
* Improve landmarks for the IDE page
* Improve landmarks for the new redesigned IDE page
* Sort locales
* Fix typo OlButtonToolbar -> OLButtonToolbar
* Update project navbar translation
* Update labels
* Redundant main landmark
* Fix failing test
* Descriptive name for the rails tab
* Header should not be in a button
* Update translation to Account and help
* Update translation to Project categories and tags
* Add explanations
GitOrigin-RevId: 96712b37bb1306b552de510d9fd8ae890f24309f
* Move `hasLintingError` from scope to react state
* Move `permissionsLevel` to IdeReactContext states
* Get `permissionsLevel` from `useIdeReactContext()`
* Set `permissionsLevel` in mocked `IdeReactProvider`
* Replace `permissions` scope by React state
* Fixup `permission` changes
* Remove redundant type
GitOrigin-RevId: 6203c61f9ac429789624196bf67e508310f4577f
* Import changes from Hackathon
https://github.com/overleaf/internal/pull/24501
* Update compile status: allow errors
* Update favicons. Use the ones from Figma
* Optimize and reuse path from favicon.svg
* Clear status favicon after 5s on active tab
* Rename hook from useCompileNotification to useStatusFavicon
* Add tests
* Revert changes to favicon.svg
* Query favicon on document.head
GitOrigin-RevId: 3972b1981abaf6c80273e0ed5b1bc05eb51bd689
* Add overleaf assist paywall modal component in storybook
* update img alt
* remove data-action
* rename assistant -> assist
* use css var for blue color
* Open Overleaf assist paywall if in "overleaf-assist-bundle" split-test
* dont use optional planCode
* Open overleaf assist paywal via event listener
* rename to mainEditorLayoutModals
* call setAssistantUpgraded when modal is shown
* fix merge mistake
* fix lint error
* fix merge differences
GitOrigin-RevId: 0b3162a5c241d4dbe2773ae773c3e35f02c5c492
* Reapply "Increase the length of unsaved doc time before the editor is locked (#23431)"
This reverts commit d0efca398e59ca488c530ee9ec5ca76f29843679.
* Use pendingOpCreatedAt if inflightOpCreatedAt isn't set
GitOrigin-RevId: b3301d7cc1554215a4ba569537bd47beeefde20f
* Use opInflightSince to measure unsaved doc time
* Use performance.now() for lastAcked timestamp
* Use inflightOpCreatedAt
* Increase MAX_UNSAVED_ALERT_SECONDS to 15
* Increase MAX_UNSAVED_SECONDS to 30
* Increase FATAL_OP_TIMEOUT to 45000
* Convert "Connection lost" modal to a notification
GitOrigin-RevId: 2d4233723620fd03ce6d6c5795c48c33c0b2f92c
* Add showGenericConfirmModal in ModalsContext
* Add confirm modal on accept/reject selected changes
* plural in translations
* change tooltip to include selected changes
* add _plural to all translated languages
* lowercase title/tooltip
* count replacements as single change
* use new translation key
GitOrigin-RevId: afadbe1eeb2a290688b96f2b5388485f40c958d0