Commit graph

58 commits

Author SHA1 Message Date
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
M Fahru
fb6746a887 Add default pathname logic on history react file tree (#12505)
On history react, when the initial screen has been loaded, no default pathname is selected. This PR adds logic for selecting default pathname and getting the diff for that pathname.

Also, add some other small changes, the notable ones are:

- Refactor some type naming and file structure related to the history file tree
- Refactor file tree selectable hooks (merge selectable context provider into the main provider)
- prevent clicking on the same file tree item by checking the current pathname before invoking the handler function

GitOrigin-RevId: 73c36e9ed918ae3d92dd47108fbe8542a7571bdd
2023-04-12 08:04:58 +00:00
M Fahru
568092e16b Add react file tree UI to history view (#12357)
* Add react file tree UI to history view

* Use history data from API to render react file tree in history view

GitOrigin-RevId: 2b1eb5422f0c91fdf5e87e21d1e5d06defd45e98
2023-03-30 08:04:17 +00:00
ilkin-overleaf
95c8a1aeea Merge pull request #12366 from overleaf/ii-react-history-context
[web] Add context to history

GitOrigin-RevId: bc504994c50c0e7abe8181a671357d5db59a3343
2023-03-30 08:03:43 +00:00
Miguel Serrano
aee777ca1d Merge pull request #12286 from overleaf/msm-fix-sp-react
[web] Fix Null Pointer Exception with `templateLinks` in CE/SP

GitOrigin-RevId: 3b5597e70e73bc605bece3d2f463f58c01acac8e
2023-03-21 09:05:54 +00:00
Jessica Lawshe
b10b7b1f91 Merge pull request #12042 from overleaf/jel-change-plan
[web] Change plan UI now in a modal and update the style

GitOrigin-RevId: 1b501b4a972ca676cff32f531862c15c0c8f9e61
2023-03-09 09:05:05 +00:00
ilkin-overleaf
48587a7a62 Merge pull request #12007 from overleaf/ii-react-subscription-dash-thank-you
[web] Successful subscription react migration

GitOrigin-RevId: 1d7d849415f4b7a7f60ddf8a4e18570ff5142196
2023-03-02 09:04:04 +00:00
ilkin-overleaf
9f95c7c2ab Merge pull request #11919 from overleaf/ii-react-subscription-dash-user-email-not-matching-recurly-email
[web] Subscription dash user email not matching recurly email section - react migration

GitOrigin-RevId: 8d89dbc804694afffea2a92cebdeb5d4e9389810
2023-03-01 09:02:47 +00:00
Alexandre Bourdin
d2fb800174 Merge pull request #11885 from overleaf/ab-personal-sub-custom-react
[web] Display a message for custom personal subscriptions in React dash

GitOrigin-RevId: c70986ffacfdfdeccd3675385e2e5dba1a2ad61f
2023-02-23 09:05:13 +00:00
Alexandre Bourdin
f86eeac522 Merge pull request #11862 from overleaf/ab-group-subscription-memberships-dash-react
[web] Migrate group subscription memberships to React dash

GitOrigin-RevId: d5ff3ae4e5d8c422530502af22edda6c24c9a593
2023-02-23 09:04:49 +00:00
Jessica Lawshe
124306d7ac Merge pull request #11819 from overleaf/jel-subscription-dash-change-to-group-prices
[web] Show price in change to group plan modal on React subscription dash

GitOrigin-RevId: 6a1a4be3a7d008cd9e26186c2d97bc0bdc2f82ed
2023-02-22 09:05:13 +00:00
Jessica Lawshe
b2a10260be Merge pull request #11773 from overleaf/jel-subscription-dash-change-to-group
[web] Begin change to group plan via React subscription dash

GitOrigin-RevId: 3f0f2820ab18ecc8337746282295302d7951c56f
2023-02-22 09:04:56 +00:00
M Fahru
b62cb86bf8 Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772)
* 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
2023-02-22 09:04:42 +00:00
Jessica Lawshe
f3d055af86 Merge pull request #11619 from overleaf/jel-react-personal-subscription-dash-change-plan
[web] Query display price data for change plan UI in React subscription dash

GitOrigin-RevId: e05779d1f289ee55a1b8be17b182905fca66e44f
2023-02-08 09:06:44 +00:00
Jessica Lawshe
c7d8e4867d Merge pull request #11560 from overleaf/jel-react-personal-subscription-dash-pt-5
[web] Continue migration of personal subscription dash to React

GitOrigin-RevId: fb327592ad5031bff20b2a95a83edee4735112e8
2023-02-08 09:06:29 +00:00
Jessica Lawshe
c36b872ae3 Merge pull request #11509 from overleaf/jel-react-personal-subscription-dash-pt-4
[web] Continue migration of personal subscription dash to React

GitOrigin-RevId: f2d913099d727725f04697003516c90616faf014
2023-02-08 09:06:21 +00:00
ilkin-overleaf
7f8d2e37d5 Merge pull request #11530 from overleaf/ii-payment-page-migration-checkout-panel
[web] Payment page migration checkout panel

GitOrigin-RevId: 04edf9961e0032d6fe3631c255e49dc1d4c3e0ca
2023-02-07 09:04:53 +00:00
Alf Eaton
85fbded781 Improve the Rich Text toolbar (#11616)
GitOrigin-RevId: d1999be629ac048058ffd82004865728796a3feb
2023-02-07 09:04:39 +00:00
Alexandre Bourdin
ed40a87cdc [web] Migrate group management to React (#11293)
* Rename manage group entry point

* Migrate group management root page to React

* Add cypress tests for the group management react page

* Fix linting

* Add checkbox labels for screen-readers + remove unused classes

* Await on add/remove members calls

* Display the export CSV link for a full group

* Display error message when group is full

* Sort locales

* Handle the managers management page in React version

* Fix missing type in GroupMemberRow

* Split members and managers React pages

* Build API paths on frontend side + add cypress tests for each page

* Fix linting

* Update unit tests

* Review improvements

* Type API errors

GitOrigin-RevId: d124a9d24cbf33de8aacc5d69e9d46e7bcda93c5
2023-02-07 09:04:18 +00:00
ilkin-overleaf
db54475bd0 Merge pull request #11525 from overleaf/ii-payment-page-migration-init
[web] Payment page migration initialisation

GitOrigin-RevId: f33b73a13b96fad3cddf0c0205d05df678ce5300
2023-02-02 18:21:52 +00:00
Jessica Lawshe
b7108f7874 Merge pull request #11515 from overleaf/ab-group-membership-dash-react
[web] Managed groups in React subscription dash

GitOrigin-RevId: 4811d8dd2b42fa9ad83b5c4f12582e7bc04bad40
2023-02-01 09:05:27 +00:00
M Fahru
3507463c4e Add new event tracking to react and angular version of the empty project page (#11472)
GitOrigin-RevId: 28ffe919851121bdba82eea3b6ef29cd6fffeb76
2023-01-31 09:04:01 +00:00
Jessica Lawshe
dad1460d71 Merge pull request #11414 from overleaf/jel-react-personal-subscription-dash-pt-2
[web] Continue migration of personal subscription dash commons to React

GitOrigin-RevId: 997716f70c953b088f686d4b0f638705ad838520
2023-01-27 09:05:30 +00:00
Jessica Lawshe
2499ecadcc Merge pull request #11340 from overleaf/jel-react-personal-subscription-dash
[web] Begin to migrate personal subscription dash commons to React

GitOrigin-RevId: 43c096bd72199c8c0a7b40c8fd84a0a12c108217
2023-01-27 09:05:22 +00:00
Alf Eaton
8b610d2d1c Use MathJax v3 on the editor page (#11330)
GitOrigin-RevId: 5e51404c54e49735988f399ea080b6cb4be726d3
2023-01-24 09:03:58 +00:00
M Fahru
09b1974a3d Migrate updating overallTheme to react
GitOrigin-RevId: 024ceb3c32c8d90ac0067fbb72d6e7d327b869f0
2023-01-11 09:06:12 +00:00
Jessica Lawshe
38db8bee30 Merge pull request #10958 from overleaf/jel-features-page-link
[web] Update features page link on dash for split test

GitOrigin-RevId: 5b51700a8a4ca89920288b54e08caf88f29dec96
2023-01-10 09:06:36 +00:00
Alf Eaton
9f1f62b9be Add rich-text mode to CM6 (#10775)
Co-Authored-By: Mathias Jakobsen <3295293+hrjakobsen@users.noreply.github.com>
GitOrigin-RevId: 00e015cb216bb8a52d083e71b34dbe91a7cd6cc5
2022-12-13 09:03:54 +00:00
Tim Down
fd2863bf7a Merge pull request #10747 from overleaf/as-ace-perf-measurement
Add perf measurement of Ace editor

GitOrigin-RevId: b33eeac9f7c7f85355a9e8f34833aa94bee2f70a
2022-12-07 09:04:21 +00:00
M Fahru
f27562eb12 Data handling for settings in editor left menu react migration (#10470)
- Importing SettingsController from the angular code, which enables post requests for every select menu and socket handler for compiler, texlive version, and main document select option
 - New context for the data handling infrastructure between react and angular. The data is still located in the angular version, and I use the context only as a proxy to fetch/post new data.

GitOrigin-RevId: 59009bceb128d82969a2318e90036aacf79f9887
2022-11-30 09:04:32 +00:00
Alexandre Bourdin
7a20e1376d Merge pull request #9882 from overleaf/ii-dashboard-system-message-migration
[web] Project dashboard system & translation message migration

GitOrigin-RevId: 0c723a3b526980e5c749da44ebe8a0a3edcc66ad
2022-10-13 08:05:38 +00:00
Alasdair Smith
44138aa043 Merge pull request #9898 from overleaf/as-cm6-perf-measurement
CM6 perf measurement

GitOrigin-RevId: 0e7e87a3790ef92a90624c925ca7d545c6d097c2
2022-10-12 08:03:36 +00:00
Jessica Lawshe
1b822621a1 Merge pull request #9642 from overleaf/jel-project-tools-untrash
[web] Add untrash to project tools

GitOrigin-RevId: 9839f064ef1b233bec94d6c67ee5b2ff043e668e
2022-09-27 08:05:02 +00:00
Jessica Lawshe
ab852d1955 Merge pull request #9662 from overleaf/jel-checked-dash
[web] Refactor checked projects

GitOrigin-RevId: 5696cf8beb69d479d95c05273b11625c277b8761
2022-09-27 08:04:55 +00:00
Alexandre Bourdin
7608d37c0a Merge pull request #9622 from overleaf/mf-add-portal-templates-2
Add institution templates to the react version of the new project dropdown

GitOrigin-RevId: 32bf0b1b559ea3da744430902cc016e7c2a918d9
2022-09-27 08:04:00 +00:00
June Kelly
73e8fd115b Merge pull request #9466 from overleaf/jk-add-labs-program-for-galileo
[web] Add a new "Overleaf Labs" program, for Galileo

GitOrigin-RevId: 8f6c79c37c1719a59bd8405998cc3de2fd29960d
2022-09-22 08:03:59 +00:00
Alexandre Bourdin
a0fabee3b4 Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration
[Integration branch] Project Dashboard React Migration

GitOrigin-RevId: 3c3db39109a8137c57995f5f7c0ff8c800f04c4e
2022-09-14 08:04:03 +00:00
Alf Eaton
74be20292e Wrap the SourceEditor component in an error boundary (#8605)
GitOrigin-RevId: 58e9eed34137a7cf66f301972e066cb5b5bb79e4
2022-08-25 08:03:46 +00:00
Alf Eaton
bd64a167f4 [cm6] Wrap compile log annotations in a lint source (#8451)
GitOrigin-RevId: d404560313cbb99c7a06453bc3b7d2374e86598a
2022-06-22 08:03:47 +00:00
Alf Eaton
917d87257d [cm6] Improve LaTeX autocomplete extension (#8317)
* Upgrade CodeMirror packages

* Merge Metadata types

* Move symbol completions to the symbol-palette module

* Update categories.js

* squash metadata type

* Add open-autocomplete extension

* Increase delay for doc metadata request

* Add metadata state field

* Add bibliographyStyle completions

* Add class names

* Decrease score of usePackage completion

* Improve autocomplete

* Tidy comments

* Use CompletionSource type

* Use sourceEditorCompletionSources

* Update package-lock.json

* Update package.json

* Add tests

* Update window.ts

* Update open-autocomplete.ts

* Tidying

* Update complete.ts

* Fix test

* Add test

* Update top-hundred-snippets.ts

GitOrigin-RevId: 0d8721975893b76d9604b6123576b3a68f178e65
2022-06-09 08:02:32 +00:00
Miguel Serrano
022a8d4198 Merge pull request #8243 from overleaf/ii-autocomplete-symbol-images
[web] Show symbol images in autocomplete only to premium users

GitOrigin-RevId: 56f4d29ec6368d2904b26f7573aa04ef4535a84b
2022-06-07 08:02:27 +00:00
ilkin-overleaf
e41315364d Merge pull request #8226 from overleaf/ae-remaining-types
[web] Fix remaining strict type checks

GitOrigin-RevId: 69881c37938f88c7ea4a630f362712a804085bc8
2022-06-01 08:03:29 +00:00
Alf Eaton
910e07ca1c Add types (#8154)
GitOrigin-RevId: 41ee6b6873a01fbfedc41a884b9e3ebee47fc08f
2022-05-30 08:03:45 +00:00
Alf Eaton
477c2a3ecd Add scope-dependent autocompletion to Cypress CM6 tests (#8109)
GitOrigin-RevId: 696abc40ac51ef10508db427707b5c332df326a1
2022-05-27 08:03:51 +00:00
Miguel Serrano
5676ec2eed Merge pull request #8102 from overleaf/msm-fix-sso-available
[Settings] Fix `ssoAvailable` not set

GitOrigin-RevId: c3264682bcf3c1beb2050378875c164d960e15c1
2022-05-25 08:09:39 +00:00
ilkin-overleaf
30b07f3d34 Merge pull request #7871 from overleaf/ii-fetch-json-ts
Convert fetch-json to TS

GitOrigin-RevId: 78b0835aca4ba82c38004f37bb5c38ec7fb1b32c
2022-05-18 08:04:37 +00:00
Alf Eaton
d91ee50762 Standardise scope/context usage in Storybook stories (#7842)
GitOrigin-RevId: 109a4357fc3b083ffbd3af5b8c98acf0f655f297
2022-05-17 08:04:12 +00:00
Timothée Alby
cb065e7f12 Merge pull request #7820 from overleaf/msm-settings-leavers-survey
[Settings] Institutional Leavers Survey

GitOrigin-RevId: 1774af7fc4bb90cb39c9fc188323c44a1256bb3d
2022-05-17 08:04:00 +00:00
ilkin-overleaf
c807bedb65 Merge pull request #7841 from overleaf/ii-refactor-add-email
Refactor add email section

GitOrigin-RevId: 41de440caaf3baf43673c4a5f07a18b990f28c7b
2022-05-12 08:03:29 +00:00
ilkin-overleaf
85f731110c Merge pull request #7786 from overleaf/ii-departments-override
Override default departments

GitOrigin-RevId: 23061bc8c083bb8099ca62bd0cdb3c796e49979d
2022-05-02 08:03:43 +00:00