Commit graph

78 commits

Author SHA1 Message Date
Mathias Jakobsen
50b346b4ed Merge pull request #10279 from overleaf/jpa-tracing-optimizations
[misc] do not load the tracing module unless enabled

GitOrigin-RevId: 8a3b9da3e9451e3060b852dd44e078c99cf43cfa
2022-11-04 09:05:00 +00:00
Jessica Lawshe
ebed539e6d Merge pull request #10045 from overleaf/jel-new-css
[web] Load new CSS if split test enabled

GitOrigin-RevId: 87ef524affa58d931b622d2f70ca6dcff7adc53c
2022-10-25 08:03:57 +00:00
Eric Mc Sween
26d8c087ee Merge pull request #9823 from overleaf/em-webpack-shared-libs
Fix webpack reloading for shared libraries in the monorepo

GitOrigin-RevId: 498606c662a70fb6c0fc6a2f627116ea9ab28b33
2022-10-05 13:25:47 +00:00
Alf Eaton
9a6f8c4441 Add react-refresh webpack plugin for development (#9496)
GitOrigin-RevId: 6dbfd0f9474c3a7fe4a5fdc5b5b2d59f64e56ce8
2022-09-15 08:04:19 +00:00
Alf Eaton
8f343be843 Merge pull request #8975 from overleaf/ae-pdfjs-standard-fonts
Add standardFontDataUrl to PDF.js config

GitOrigin-RevId: a9304da6d8a9115056240fc3ed4897415bf6e159
2022-07-27 12:17:53 +00:00
Jakob Ackermann
f11e1a83cd Merge pull request #8776 from overleaf/jpa-drop-service-worker
[web] goodbye service worker

GitOrigin-RevId: ce85d4850faba15c5877ce1f3e78026de30c6eae
2022-07-11 08:03:57 +00:00
June Kelly
3d38087297 Merge pull request #7880 from overleaf/jk-cm6-parser-migrate-to-web
[web] CM6: Migrate lezer parser to web

GitOrigin-RevId: d6f63ab2f3440292373bcc814c3769285be47c2b
2022-06-24 08:03:44 +00:00
Alf Eaton
5e9af2c15c Migrate worker tests to Cypress (#7359)
GitOrigin-RevId: f373f4215e5f25d14256008cf5f6582eb3124431
2022-04-07 08:03:52 +00:00
Alf Eaton
69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00
Timothée Alby
3c01402bbd Merge pull request #7034 from overleaf/ta-pdf-detach-full
PDF Detach v2

GitOrigin-RevId: 3deb76474185f9176cde23ab32ef51b90df6e8e9
2022-04-05 12:19:23 +00:00
Alf Eaton
53324b0cd2 Add Cypress React component testing (#6974)
GitOrigin-RevId: 1260312a0644f3bc60e007a840045974336e264d
2022-04-05 12:17:30 +00:00
Alf Eaton
37c1b59c95 Merge pull request #7130 from overleaf/ae-pdfjs-paths
Fix paths for pdf.js cmaps and images

GitOrigin-RevId: 9faeb3288e0a620653ecdaac2ef2a628d47a3eb8
2022-03-21 09:03:37 +00:00
Alf Eaton
65e71714b8 Upgrade pdf.js via split test framework (#7053)
GitOrigin-RevId: dffe1f5bec07cba0914e3bd18ff5332dfe204f33
2022-03-21 09:03:16 +00:00
Jakob Ackermann
bd74a149ce Merge pull request #7100 from overleaf/ae-worker-hash
Improve webpack config for Web Worker scripts

GitOrigin-RevId: 38773291726d31cc31a8360049db67103198582b
2022-03-18 09:03:10 +00:00
Alf Eaton
ac0e9d06c3 [web] Configure Babel + ESLint to handle TypeScript files (#5993)
GitOrigin-RevId: e8474274e60e5e0dcefa7263616fbaf04a9f3930
2022-03-16 09:03:07 +00:00
Jakob Ackermann
ae0c347f27 Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
[misc] npm workspaces

GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Brian Gough
e1add75eee Merge pull request #6407 from overleaf/bg-linter
port ace linter to codemirror6

GitOrigin-RevId: 080781bf303ebcd25461e6d07a02e14310ab3d59
2022-01-27 09:03:22 +00:00
Jakob Ackermann
4cecc6383a Merge pull request #5361 from overleaf/jpa-fix-cdn-load-test
[web] rework the loading process for the CDN load test

GitOrigin-RevId: dd14ca29668e88944457e03ffd8c921e2ce93929
2021-10-06 08:03:22 +00:00
Alf Eaton
73bc3418a2 Add React version of the PDF preview pane (#5135)
GitOrigin-RevId: fcc88a362c3e97c9fddf85d47c3a83a0a0b89432
2021-10-01 08:03:12 +00:00
Jakob Ackermann
23c4f9462b Merge pull request #5040 from overleaf/jpa-web-templates-page
[web] v2-templates module: refactor frontend entrypoint into page

GitOrigin-RevId: 2efe344167cba3111eb516ebc2dfadd82347f776
2021-09-16 08:03:32 +00:00
Jakob Ackermann
7923ceda6d Merge pull request #5039 from overleaf/jpa-web-metrics-module-pages
[web] modernize metrics module

GitOrigin-RevId: 24e9abd4b8aacacc4ed183c230a283d3d7afa281
2021-09-16 08:03:27 +00:00
Alf Eaton
49b1356976 Merge pull request #5081 from overleaf/ae-webpack-libs-alias
Remove webpack alias for vendor/libs

GitOrigin-RevId: ab84b21402236143ad4d5d988b01fbbbcc081532
2021-09-15 08:03:39 +00:00
Jakob Ackermann
267b7fc17d Merge pull request #4941 from overleaf/jpa-as-homepage-prototype
[web] de-ng homepage prototype

GitOrigin-RevId: 030a5bf0b4f05eac7d69fda928c906f3c9c962f0
2021-09-09 08:03:04 +00:00
Jakob Ackermann
cb9e4a41e0 Merge pull request #4927 from overleaf/jpa-as-webpack-auto-code-splitting
Change webpack code splitting strategy

GitOrigin-RevId: 5af615db68e169942e1d37cd0251775cb68c568b
2021-09-09 08:03:00 +00:00
Jakob Ackermann
a1c74f27d9 Merge pull request #4926 from overleaf/jpa-webpack-dynamic-entrypoint-chunks
[web] get the list of js/css entrypoint chunks from webpack manifest

GitOrigin-RevId: 42a8d3606e461e8d9eebcc754e3207d5be1746ab
2021-09-09 08:02:57 +00:00
Jakob Ackermann
d70937e0da Merge pull request #4837 from overleaf/tm-cdn-load-error-reporting
Move CDN load test to separate file and report error to sentry

GitOrigin-RevId: 5870fae9939a62848d3a39899a1da3608935988b
2021-08-26 08:02:59 +00:00
Jakob Ackermann
10e7a919c0 Merge pull request #4172 from overleaf/ae-enable-react-dev-tools
Re-enable React Dev Tools

GitOrigin-RevId: 2757888b03997b9df55f1ef1a8fa0cca71cbcc78
2021-06-11 02:06:14 +00:00
Jakob Ackermann
7db7cd4a49 [misc] merge pdf caching into main (#4033)
* [frontend] WIP: pdf caching using service worker -- squashed

Ref: 920fbaa00b31530f7c457a2d93bad5e553798057
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
Co-Authored-By: Eric Mc Sween <eric.mcsween@overleaf.com>

* [misc] add contentId into the URL for protecting PDF stream contents

* [misc] gracefully handle missing ranges in serviceWorker

* [misc] support PDF stream caching for anonymous users

* [misc] polish header names and add URL to error message when fetch fails

* [misc] polish event handler registration

* [misc] limit serviceWorker scope to /project/ -- trailing slash

This will block the service worker from intercepting requests on the
 project dashboard.

* [misc] add per-request feature flag for enabling PDF stream caching

* [misc] expose compile stats and timings to the frontend

* [misc] serviceWorker: support clsiServerId and compileGroup url params

* [misc] serviceWorker: polish header maps

* [misc] serviceWorker: drop TODO for p-limit -- the browser has a queue

* [misc] serviceWorker: drop verbose log message on every fetch

* [misc] cut down size of diff in backend code

* [misc] add test case for forwarding of pdf caching and metrics details

* [misc] serviceWorker: drop all the log lines

* [misc] serviceWorker: add boundary guards to the compile request regex

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 4b291b4a4f2866cf07bccf8ec9068f33bbfdc916
2021-05-18 02:07:57 +00:00
Alf Eaton
1be43911b4 Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alf Eaton
ba4300d9e1 Merge pull request #3518 from overleaf/ae-react-create-file-modal
Migrate "Add Files" modal to React

GitOrigin-RevId: fc5235108ee65294e3176da9c327791c34aa5b3c
2021-03-19 03:04:46 +00:00
Thomas
84a4cc33be Replace vendor MathJax with NPM package, upgrade to 2.7.9 (#3702)
* Replace vendor MathJax with NPM package, upgrade to 2.7.9

* Disable fast-preview feature in Mathjax

GitOrigin-RevId: e3ef1dbabae1da7c359e370a2c491a4214841c76
2021-03-05 03:04:57 +00:00
Miguel Serrano
8a6136efa7 Merge pull request #3593 from overleaf/as-transpile-react-dnd
Fix react-dnd crashing the editor on IE11

GitOrigin-RevId: 2ab3725ef03a105de551dbc4a5b51538d03be2df
2021-01-28 03:04:37 +00:00
Alf Eaton
37f083809a Merge pull request #3578 from overleaf/ae-revert-transpile
Revert "Add @overleaf/o-error to transpiled modules"

GitOrigin-RevId: 111a8503f3e32be0b67296ec3a8c62453bc77675
2021-01-19 03:05:05 +00:00
Alf Eaton
3144aac53f Merge pull request #3575 from overleaf/ae-transpile-o-error
Add @overleaf/o-error to modules transpiled via babel-loader

GitOrigin-RevId: 9a04564ff0d3fea7cd13290aab4d7f0fa20cbc35
2021-01-19 03:04:51 +00:00
Jakob Ackermann
99ab046dcf Merge pull request #3177 from overleaf/jpa-ace-minified
[misc] use the minified ace source for sub-resources -- mode/worker/vim

GitOrigin-RevId: 5c70c4838987721f371fc74a79b8cdef8e5b82fe
2020-11-12 03:04:28 +00:00
Jakob Ackermann
9303fcedae Merge pull request #3176 from overleaf/jpa-devendor-ace
[misc] devendor ace

GitOrigin-RevId: 25f7590773464889a088c96f337456f8542a1859
2020-11-12 03:04:23 +00:00
Alasdair Smith
617fe024bc Merge pull request #3134 from overleaf/as-react-i18n
Load translations in the frontend using react-i18next

GitOrigin-RevId: 4e6ab1befcd783db2b3255bb4d04dc18e710a3dc
2020-09-05 02:05:04 +00:00
Hugh O'Brien
0a0e649518 Merge pull request #2986 from overleaf/jpa-silence-react
[misc] silence react messages in the dev-tools console

GitOrigin-RevId: 7ef4d783d0db55fb3fec6d15b9c76191cd49dd6c
2020-07-14 02:06:57 +00:00
Alasdair Smith
0d2a768e1e Merge pull request #2937 from overleaf/as-remove-global-lodash
Replace global Lodash with explicit imports in frontend

GitOrigin-RevId: b092647039975ac594b69ce1fa145fd03552cc60
2020-06-24 02:10:29 +00:00
Alasdair Smith
64386d819f Merge pull request #2708 from overleaf/as-babel-polyfills
Automatically add polyfills to frontend

GitOrigin-RevId: 699a697478b8174ee569bd5e2d0fb0bc77c50931
2020-06-03 10:30:51 +00:00
Miguel Serrano
25ac89d8b0 Merge pull request #2758 from overleaf/sk-as-spd-remove-sl-css
Remove SL only styling variables

GitOrigin-RevId: 6673da6a0d6a9c0bd8f55fc4acbaf42d3e5cb7dd
2020-05-07 03:28:07 +00:00
Alasdair Smith
bc1b73d74e Merge pull request #2515 from overleaf/as-transform-absolute-paths
Transform absolute paths in frontend to relative

GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
Alasdair Smith
0d6cd8fca6 Merge pull request #2523 from overleaf/revert-2520-revert-2488-as-import-pr-708
Bring back reverted Vendor web fonts PR

GitOrigin-RevId: 7430df7cefca120def048f8bbe2799b30772c686
2020-01-29 12:07:22 +00:00
Henry Oswald
fe8ef3f08f Merge pull request #2531 from overleaf/ho-restore-lodash-2526
Revert "Reverts move from underscore to lodash"

GitOrigin-RevId: 1ea964d5c98a85f9490c0e731d6a68335df93c67
2020-01-17 04:19:51 +00:00
Henry Oswald
c607976c4a Merge pull request #2526 from overleaf/ho-revert-to-underscore
Reverts move from underscore to lodash

GitOrigin-RevId: 3d88590a76c37a43f693b53400fdf1f24384cafb
2020-01-17 04:19:30 +00:00
Alasdair Smith
9e36de9da0 Merge pull request #2520 from overleaf/revert-2488-as-import-pr-708
Revert "[Imported] Vendor web fonts, (#708)"

GitOrigin-RevId: a9276168b880326fda51ba3d172d6cbfbdf74f6a
2020-01-15 04:20:50 +00:00
Alasdair Smith
a084d620ae Merge pull request #2488 from overleaf/as-import-pr-708
[Imported] Vendor web fonts, (#708)

GitOrigin-RevId: b286a0d4bac9d84f70bf9d4ff99220f67ce67425
2020-01-15 04:20:37 +00:00
Timothée Alby
1af8f0358b Merge pull request #2501 from overleaf/as-unvendor-algoliasearch
Unvendor Algolia search client

GitOrigin-RevId: ad0ea56c66a516bd8a26a76d454cbc8d0594a03f
2020-01-11 04:15:10 +00:00
Jessica Lawshe
f2943054fb Merge pull request #2491 from overleaf/as-unvendor-moment
Unvendor moment from the frontend

GitOrigin-RevId: 19ffc42a2d3e6eecfbec42575a0472f992c8abda
2020-01-08 04:18:19 +00:00
Timothée Alby
b185e60749 Merge pull request #2483 from overleaf/as-switch-frontend-to-lodash
Switch frontend from underscore to lodash

GitOrigin-RevId: 7fbc72d2ead6a14ff04f085f01fff5a3dddb77f0
2020-01-08 04:18:01 +00:00