Commit graph

92 commits

Author SHA1 Message Date
Jakob Ackermann
9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Alf Eaton
b21e06952e Allow non-async chunks to be analysed for shared modules (#14671)
GitOrigin-RevId: a07cd29366b360452461ce3c637cf5803275492c
2023-09-15 08:04:58 +00:00
Alf Eaton
3bbce358c6 Add @ as an alias for frontend/js (#14600)
GitOrigin-RevId: 792a1f200c116b06f75c33d7373ae608aa179f8f
2023-09-04 08:04:22 +00:00
Jakob Ackermann
b0f5003708 Merge pull request #14091 from overleaf/jpa-split-web-dependencies
[web] only include production dependencies in the production image

GitOrigin-RevId: edb33543145903de55f263de7385f6a779830b54
2023-08-24 08:03:31 +00:00
Davinder Singh
75dc1dd2a1 Admin Panel- Removing view project graph button from project list page (#13803)
* removed the files related to angular code

* removed the controller files related to graph page

* removed two files related to sigmaJsGraph

* removed sigma-master folder

* removed copyPlugin configuration for sigma from webpack.config.js

GitOrigin-RevId: 1322a69917c0baf6fdbfa52da8e9830b548d7b7b
2023-07-17 11:06:03 +00:00
Alf Eaton
b2014601b2 Remove Fine Uploader (#13637)
GitOrigin-RevId: e1e65160ad4a9c1d45a8f4a4a2e4c17730f9dda3
2023-07-17 10:51:33 +00:00
Alf Eaton
1f7d317db9 Upgrade pdf.js to 3.6.172 (#13112)
GitOrigin-RevId: 030528343f271a1fc1e07c3bba358873173bec76
2023-05-18 08:04:03 +00:00
Alf Eaton
8b610d2d1c Use MathJax v3 on the editor page (#11330)
GitOrigin-RevId: 5e51404c54e49735988f399ea080b6cb4be726d3
2023-01-24 09:03:58 +00:00
Alf Eaton
dbef19d0d6 Improve Rich Text typography (#11157)
* Replace @fontsource/noto-serif with local Noto Serif fonts
* Make more use of CSS variables in theme
* Make sure the chosen font is used for monospace
* Increase the weight of section headings
* Set link colours
* Rename variable to --source-font-family

GitOrigin-RevId: e14856a619829e075e71bf2df9b799fe0b45acea
2023-01-12 09:03:19 +00:00
Alf Eaton
edbe12b86f Fix .cjs importing via webpack/babel (#11090)
GitOrigin-RevId: 62f17069a3e0fd338269fe772a51870222c2877a
2023-01-10 09:04:45 +00:00
Alf Eaton
aa548b3889 Ensure packages from libraries are processed with babel-loader (#10703)
* Allow webpack to resolve symlinks
* Rename library files to .cjs

GitOrigin-RevId: 0eab18604132104b1c5c92a5e6ed21713006a5a8
2023-01-06 09:03:41 +00:00
Mathias Jakobsen
4175d62800 Merge pull request #10981 from overleaf/ae-chart-js-babel
Add chart.js to babel-loader config

GitOrigin-RevId: 86b0f37bb10e3018769473ccdcae032123ba78cb
2022-12-23 09:03:30 +00:00
Alf Eaton
12af54069c Merge pull request #10787 from overleaf/ae-pdfjs-3
Start upgrading pdf.js to the latest version

GitOrigin-RevId: e7d8c6dedb0fe58ba31626408df81fd42ba1ca3b
2022-12-09 09:03:53 +00:00
June Kelly
5728ffba2c Merge pull request #10696 from overleaf/ae-babel-shared
Revert "Fix webpack reloading for shared libraries in the monorepo"

GitOrigin-RevId: c78871c3d72bd784c5e87aaaaf871be6c1768918
2022-11-30 09:03:54 +00:00
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