Commit graph

18 commits

Author SHA1 Message Date
Mathias Jakobsen
8b5278c076 Merge pull request #14428 from overleaf/mj-table-gen-cleanup
[visual] Table generator tweaks and improvements

GitOrigin-RevId: 621820c613924bc201ec85ea249edd6c9b6f88b2
2023-08-25 08:04:12 +00:00
Mathias Jakobsen
8caa1f8e14 Merge pull request #14228 from overleaf/mj-table-icon
[cm6] Change table toolbar icon to table_chart

GitOrigin-RevId: b058919ad8a860a73d08784c86709119bbee4890
2023-08-18 08:04:42 +00:00
Mathias Jakobsen
c332a65eb0 Merge pull request #14105 from overleaf/mj-table-generator
[visual] Initial table generator

GitOrigin-RevId: 5c1a9cad898c988d21390358872a6c2eaf1c32fc
2023-08-09 08:04:15 +00:00
Domagoj Kriskovic
9c185d6f35 [cm6] fix toolbar overflow menu alignment (#13873)
GitOrigin-RevId: a70cf3fa37d49b9ed52fea4b928d52ffc2dbf136
2023-07-19 08:04:48 +00:00
Alf Eaton
ff7eec48de [cm6] Improve performance of the editor toolbar (#13915)
* Memoize figure and math dropdowns
* Only build section heading overlay when open
* Memoise currentLevel
* Remove memo from ToolbarOverflow
* Calculate listDepth in the container component
* Avoid using document.querySelector

GitOrigin-RevId: d5ec8817d35d04e0e2c60c8eecc8678ede69f82a
2023-07-19 08:04:24 +00:00
Alf Eaton
48e758a5fe Record each completion selection for analytics (#13665)
GitOrigin-RevId: bc8e92ceca51f6365c4311204a35fc85914969b0
2023-07-17 11:03:43 +00:00
Alf Eaton
5a786029a3 [cm6] Hide list indentation shortcuts in button tooltips in Code Editor (#13797)
GitOrigin-RevId: d5184310d81953d9765f6e1ae2343fdeb824ae01
2023-07-17 11:03:34 +00:00
Alf Eaton
34fa28c90b Hide most toolbar buttons for non-latex documents (#13725)
GitOrigin-RevId: 3bf487d86d1a465a1653b40891277380270ea7ff
2023-07-17 11:03:16 +00:00
Domagoj Kriskovic
7487f37bc1 [cm6] use tooltips on disabled toolbar buttons (#13678)
* [cm6] use tooltips on disabled toolbar buttons

* not-allowed cursor

* prettier

* fix css selector

GitOrigin-RevId: f9c61fdabb1141daa2bde76aa4e3cd4da60e029e
2023-07-17 10:59:58 +00:00
Alf Eaton
b63cb6e029 Merge pull request #13623 from overleaf/ae-symbol-palette-toolbar
[cm6] Only show symbol palette toolbar button when available

GitOrigin-RevId: 34e2c4e8ac1077a4da15277188ea0456db26e0af
2023-07-17 10:55:45 +00:00
Domagoj Kriskovic
17452b51d7 [cm6] Add toolbar to Source Mode for Beta users (#13429)
* [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
2023-07-17 10:46:26 +00:00
Domagoj Kriskovic
b70d5faca5 [cm6] alt+click to generate snippet for figure modal (#13279)
GitOrigin-RevId: fa8c4105ace55d73447b3afc60772f275728994c
2023-07-17 10:27:42 +00:00
Mathias Jakobsen
a4c684e266 [cm6] Add toolbar event for figure modal trigger (#13168)
* [cm6] Add toolbar event for figure modal trigger

* [cm6] Add event to figure modal edit button

GitOrigin-RevId: 04add4f801647dfcc38a54e1969b03c4a31b2462
2023-06-01 08:04:16 +00:00
Domagoj Kriskovic
61e7f6f3a8 hide tooltip when button menu is opened (#13247)
GitOrigin-RevId: 1b6c1b09477dc9435996f3e190a72eb1a6c1d5cf
2023-06-01 08:03:59 +00:00
Mathias Jakobsen
988fc57574 Merge pull request #13077 from overleaf/mj-figure-modal-tests
[web] Add cypress tests for figure modal

GitOrigin-RevId: 4debae1c665a68fd7bfa9f0dcfc150bec38a7c64
2023-05-17 08:06:33 +00:00
Mathias Jakobsen
31190b967b [cm6] Add figure modal (#12751)
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
2023-05-16 08:04:02 +00:00
Alf Eaton
dda9230c6c [rich text] Add "Insert Citation" and "Insert Cross-reference" buttons (#12529)
GitOrigin-RevId: fde2f1a281318afede138ccae12f73ade3fa9f65
2023-04-17 08:04:34 +00:00
Tim Down
7f37ba737c Move source editor out of module (#12457)
* Update Copybara options in preparation for open-sourcing the source editor

* Move files

* Update paths

* Remove source-editor module and checks for its existence

* Explicitly mention CM6 license in files that contain code adapted from CM6

GitOrigin-RevId: 89b7cc2b409db01ad103198ccbd1b126ab56349b
2023-04-13 08:40:56 +00:00