* React IDE page shell
* Set the maximum height of the symbol palette to 336px
* Tidy export
* Remove unnecessary destructuring
* Update comment
* Optimize toggle
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
* Change snap-to-collapse threshold to 5%
* Synchronize left column width between history and editor views and remove duplication in ide-page
* Replace resizer dots with SVG
* Rermove unnecessary import and comment the remaining ones
* Use block prepend to avoid duplication
* Improve vertical content divider styling
* Implement fixed width during container resize on left column
* Change IDE page file extension
* Refactor fixed-size panel into a hook and use for chat panel
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: aa881e48a2838a192b6f8f9e16e561f5cd706bd3
* [cm6] toolbar for source mode
* top:0 for new toolbar
* empty div for extensions
* fix legacy css top pos
* show source toolbar split test
* prettier
* show beta icon in source editor
* dropdown toolbar wip
* fix wrong conflict resolve
* math dropdown, chrome extension fixes
* math dropdown cleanup
* sort en.json
* fix sort en.json
* using isVisual
* getMeta in component, pug update
* using flex grow
* toolbar beta badge
* remove extra whitespace
* has-legacy-toolbar class
* Increase container size
* fix tests
* prettier
* styling fixes, using SplitTestBadge
* only show source toolbar if flag is set
* fix typo
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 34b01a9421f4a0d6defc40925c5092901575946e
* Create a new shared `SplitMenu` component.
* Refactor the pdf compile button & detached compile button:
- Rename `detach-compile-button` to `detach-compile-button-wrapper`
- Rename `pdf-compile-button-inner` to `detach-compile-button`
- Move some of the logic from `detach-compile-button-wrapper` to `detach-compile-button`
- Create a new `compile-button.less` to centralize all of the compile button (detached/non-detached) custom styles rule.
- Extract the animated striped CSS definition to the dedicated CSS file, change the class from `btn-recompile-group-has-changes` to `btn-striped-animated`
- Refactor other className(s) appropriately according to the new component name
- Delete the unused `changes-to-autocompile` css rule since it has not been used anywhere
* Implement the new pdf compile button with the new `SplitMenu` component.
GitOrigin-RevId: d1d055bffd311923fc47b4681605ce8ba8e26f25
Implement legacy source editor survey:
* Force user to switch to cm6 if they haven't seen switch away survey
* Only show user switch away survey if they open ace from another editor
* We need to wait 3 seconds until the survey is being shown
* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users
* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey
* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that
* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses
GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
This is an artefact and should have been removed when we removed the rich text survey component.
GitOrigin-RevId: cdda625b02328b8c300a91178733321ecfcd7290
* Implement compile time warning split test
* Add i18n for compile time warning
* Memoize CompileTimeWarning component
* Reuse startFreeTrial() function from account-upgrade
* Improve usage of react bootstrap native properties
* Cleanup compile-time-warning
* Move all logic into CompileTimeWarning component
* Only show compile time warning to project owners
* Handle compile time warning in detached mode and while switching layout
GitOrigin-RevId: 4fc40acfc113f91c81a6744c14c0f8b3ef766e39