Commit graph

140 commits

Author SHA1 Message Date
Alexandre Bourdin
e9e36737e6 Merge pull request #8957 from overleaf/ab-split-test-controls-badge
[web] SplitTestBadge based on split test phase and badge config

GitOrigin-RevId: e178ca864fd6619ff61a2a84fc1ccb5d54e0a814
2022-07-26 08:04:28 +00:00
Alf Eaton
c6b0d988f9 Merge pull request #8909 from overleaf/ae-7734-auto-compile
Only autocompile when the PDF preview is open

GitOrigin-RevId: f1b2fa934da227c046c990fc86dbf78d6501a408
2022-07-22 08:03:33 +00:00
Jakob Ackermann
985ad8ff5b Merge pull request #8879 from overleaf/jpa-fix-pdf-detach-delivery-latency
[web] collect fetch and render latency in the scope of the viewer

GitOrigin-RevId: 3bf6c5ffc01df705605c873a130f0a645fdc66c4
2022-07-19 08:03:34 +00:00
Alexandre Bourdin
9d9630e972 Merge pull request #8841 from overleaf/jpa-fix-detach-state-propagation
[web] fix de-sync of pdfFile vs pdfUrl vs pdfDownloadUrl

GitOrigin-RevId: 1c30f372580b7d247d005c4e4cd623996449c212
2022-07-14 08:04:32 +00:00
Alexandre Bourdin
6a6b6a0c88 Merge pull request #8846 from overleaf/ab-compile-time-tracking
[web] Add event and time since display segmentation for compile time warning

GitOrigin-RevId: 5a1ca75231e4ffd7a0812674b8600b62c4cddf11
2022-07-14 08:04:25 +00:00
Tim Down
38af0054cf Merge pull request #8838 from overleaf/jpa-fix-first-render-done-direction
[web] firstRenderDone is called by the pdf viewer, switch detach roles

GitOrigin-RevId: ec0c3e2637cdfbc512aa14313b674d635e9a1a69
2022-07-14 08:04:18 +00:00
Alexandre Bourdin
d501bc4820 [web] Compile time warning split test (#8813)
* 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
2022-07-14 08:03:50 +00:00
Timothée Alby
b3dc3808c7 Merge pull request #8707 from overleaf/ta-user-context-fix
Fix User Context Attributes

GitOrigin-RevId: 1fed088785d21e9ec51f3f541487c2fa0e1d0111
2022-07-08 08:03:13 +00:00
Jakob Ackermann
64184a7f56 Merge pull request #8730 from overleaf/jpa-refactor-pdf-caching
[web] refactor pdf caching

GitOrigin-RevId: af6b871fad652f757d8c465085b33a79b955cd6b
2022-07-07 08:03:28 +00:00
Jakob Ackermann
bfad0841a4 Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui
[web] faster compiles feedback UI

GitOrigin-RevId: 9feea47503aa6bddf51adb73b8c9fbef394fda14
2022-06-22 08:05:14 +00:00
Eric Mc Sween
a2532ef968 Merge pull request #8354 from overleaf/em-halt-on-error-animation
Animation when setting "Stop on first error"

GitOrigin-RevId: 9639e2c815d1eaf57f3392131f9a484a6a1a0a9e
2022-06-14 08:02:32 +00:00
Eric Mc Sween
3d0f464637 Merge pull request #8361 from overleaf/em-halt-on-error-events
Analytics events for "Stop on first error"

GitOrigin-RevId: cbdb054cdf031f0364390c36cc1c1865169f2cd4
2022-06-14 08:02:30 +00:00
Eric Mc Sween
e365a6cbaf Merge pull request #8346 from overleaf/em-halt-on-error-logs-2
Stop on first error: logs pane prompts

GitOrigin-RevId: a246a7e5d302ad3104e15f7fd78344992b4e011b
2022-06-10 08:03:55 +00:00
Eric Mc Sween
cb657d1f1c Merge pull request #8297 from overleaf/em-halt-on-error-logs
Stop on first error info box in logs pane

GitOrigin-RevId: cf11f65d582d98bea93c6506393940d9a6144c0d
2022-06-08 08:03:12 +00:00
Eric Mc Sween
baaf4d4240 Merge pull request #8286 from overleaf/em-halt-on-error-backend
Stop on first error backend implementation

GitOrigin-RevId: 497b1ed2c13f544760d8ad8d029359db75275389
2022-06-07 08:02:21 +00:00
Eric Mc Sween
2ab5189771 Merge pull request #8237 from overleaf/em-halt-on-error
Stop on first error dropdown UI

GitOrigin-RevId: 5191a37f6c227ff5a91c10ce965832e1702c3931
2022-06-03 08:03:39 +00:00
Alf Eaton
4ca3f9cabf Add types to IdeContext (#8107)
GitOrigin-RevId: 6b1df81ce588558adab0c31c0f65e68e5b0c25bf
2022-05-25 08:11:12 +00:00
Alf Eaton
2340b1b25e Add "[PDF]" prefix to detached window title (#8039)
* Move DetachProvider outside EditorProvider
* Add "[PDF]" prefix to detached window title

GitOrigin-RevId: 7d09f4053069b20d55a2a04a8f29f90b973e50b9
2022-05-23 08:03:36 +00:00
Alf Eaton
a3459a1842 Merge pull request #8009 from overleaf/jpa-sync-pdf-url-update
[web] update clsiServerId and pdfUrl in the same update cycle

GitOrigin-RevId: 6791627c12c16aa71ad393edbf19d7fed00491a0
2022-05-19 08:03:36 +00:00
Jakob Ackermann
52073a13a9 Merge pull request #7867 from overleaf/jpa-compile-group
[web] pass compileGroup to clsi-lb

GitOrigin-RevId: c15adbff27e702b3e0f29be5b57f7a9520d8d02f
2022-05-16 08:03:36 +00:00
Timothée Alby
cf2dfc6bf1 Merge pull request #7593 from overleaf/ta-settings-migration
[SettingsPage] Integration Branch

GitOrigin-RevId: 5a3c26b2a02d716c4ae3981e3f08b811ae307725
2022-04-25 08:05:12 +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
Jakob Ackermann
06bf7347d4 Merge pull request #7051 from overleaf/jpa-admin-token-access-www
[web] make sure that token access links are on non admin domain

GitOrigin-RevId: 2cfadbe67244a15803caa68747de2ed33fc6d4fb
2022-04-05 12:18:43 +00:00
Alf Eaton
439ba17bd5 [web] Fetch and parse compile log files asynchronously (#6220)
GitOrigin-RevId: 91b4c3551b705e7c07205b1bced3ae4768b10edb
2022-03-28 08:04:01 +00:00
ilkin-overleaf
57e60c05ca Merge pull request #7066 from overleaf/ta-synctex-disable-multi
Disable Synctex Controls for Docs and Multiselections

GitOrigin-RevId: 9f14e68228f9aa13a4188918930fc8cdb5eefabf
2022-03-22 09:03:21 +00:00
June Kelly
837ad6002f Merge pull request #6911 from overleaf/ta-layout-dropdown-view-fix
Fix Layout Dropdown in History and File Views

GitOrigin-RevId: 17792e6ec516ac9d72c050d5e2b83066fa34ed6d
2022-03-16 09:03:14 +00:00
Alf Eaton
9f969d07e0 Delete unused PDF-related code (#6334)
* Remove new logs UI code
* Remove unused preview components
* Move metrics file
* Remove Angular PDF controllers
* Move the service worker util functions
* Remove the ide/pdfng folder
* Remove vendored pdf.js
* Remove showNewPdfPreview
* Use mockCompile
* Remove split test code

GitOrigin-RevId: 723b7440c62cda51f6ad8bb9c691900882166d21
2022-03-16 09:03:04 +00:00
Timothée Alby
5ba970b81e Merge pull request #6986 from overleaf/ta-compile-button-disabled
Disable Compile Button when Compiling

GitOrigin-RevId: c25cbaab3547695919ba62385cffef2a44665fec
2022-03-04 09:03:37 +00:00
Timothée Alby
2cab7059ee Merge pull request #6717 from overleaf/ta-ds-deep-compare-memo
Use Deep Comparison for RootFolder Effects

GitOrigin-RevId: fd4dd523f131799eccd5909a7fd42ec7c985ca4e
2022-02-16 11:40:03 +00:00
Timothée Alby
6319455e91 Merge pull request #6236 from overleaf/ta-project-context-strict
Strict Project Context

GitOrigin-RevId: a0f7f2b3dcb29fbd0102dcb920cf5424a921d583
2022-01-11 09:05:03 +00:00
Timothée Alby
24bd557485 Merge pull request #6210 from overleaf/ta-file-tree-data-in-context
Remove rootFolder from EditorContext

GitOrigin-RevId: 827b046046265ad2418eb91d5a69eae02aa8b5a4
2022-01-11 09:04:56 +00:00
Timothée Alby
392410390e Merge pull request #6209 from overleaf/ta-file-tree-rework
File Tree Misc Code Changes

GitOrigin-RevId: dce64a5378ecee5c8a2e25e02502ae631d87f36b
2022-01-11 09:04:50 +00:00
Alf Eaton
341d012cea Remove paywall-prompt event tracking from compile controller (#6241)
GitOrigin-RevId: cab36fd1f2a79166c39b801a29155f1ef64edc00
2022-01-11 09:04:07 +00:00
Alf Eaton
6dec7fab63 Scroll editor line into view after inserting a symbol (#6164)
GitOrigin-RevId: 20f80ec93148d36f951c956a942021f01490d120
2022-01-11 09:03:49 +00:00
Alf Eaton
50df230846 [web] Upgrade Prettier to match version in monorepo root (#6231)
GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
2022-01-11 09:03:23 +00:00
Timothée Alby
b11d4b002c Merge pull request #6056 from overleaf/msm-remove-unnecessary-pdf-event-tracking
Cleanup PDF Preview event tracking

GitOrigin-RevId: 8fadaee2759f60e70e27ac417593d35cc73e8b68
2021-12-22 09:03:27 +00:00
Timothée Alby
44eca312ff Merge pull request #6053 from overleaf/ta-pdf-detach-tests
PDF Detach Misc Tests

GitOrigin-RevId: 9615c8fdfd8964a9c63d7c91e4596d397a1d35dc
2021-12-15 09:04:46 +00:00
Miguel Serrano
5126d756fe Merge pull request #6008 from overleaf/ae-clear-cache-file-list
[web] Clear the list of downloadable files after clearing the compile cache

GitOrigin-RevId: d1d655612e6705f77c283b06012f8b5c14ed8f7a
2021-12-08 09:03:13 +00:00
Jessica Lawshe
956724c838 Merge pull request #5982 from overleaf/jel-pdf-detach-childless
Editor tab in detach layout when no PDF tab

GitOrigin-RevId: 979c179dbe4b447e1eb222b2649d6a235f6ab229
2021-12-03 09:04:22 +00:00
Timothée Alby
f6fc3d468c Merge pull request #5854 from overleaf/ta-pdf-detach-v2
PDF Detach Updates

GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
2021-12-01 09:03:41 +00:00
Timothée Alby
411886ba94 Merge pull request #5902 from overleaf/ta-layout-local-storage
Fix pdf.layout value in local storage

GitOrigin-RevId: 1ff6ab51f51d2895b6e7305a36af57fb205c0fa3
2021-12-01 09:03:28 +00:00
Alf Eaton
830123df98 Merge pull request #5841 from overleaf/ae-deep-watch-rootfolder
[web] Use deep option when watching scope.rootFolder

GitOrigin-RevId: a82a74fd3dad8aad833d14b3bde1e175b6c41895
2021-11-25 09:02:57 +00:00
Timothée Alby
8ca159b4b9 Merge pull request #5797 from overleaf/ta-pdf-detach
PDF Detach

GitOrigin-RevId: f69d8a87d1ba2115ad496a719106dfc7707a6ed5
2021-11-16 09:02:57 +00:00
Alf Eaton
f351a7af0a Render log entry annotations in the CodeMirror 6 gutter (#5654)
GitOrigin-RevId: e68c913a572a24c037167fe8b3418ec9ac4ce6ab
2021-11-16 09:02:46 +00:00
Alf Eaton
3feca1ffc6 Move symbol palette to module and add overlay (#5396)
GitOrigin-RevId: 649dd56aaecd60662bd2bf534bda323ee541874f
2021-11-11 09:03:05 +00:00
Miguel Serrano
8b85ef36eb added check of compilation result status before setting pdfUrl/pdfDownloadUrl (#5697)
GitOrigin-RevId: ebf78bc2f98a952411875740fe912e275f83b224
2021-11-09 09:03:48 +00:00
Miguel Serrano
26eb5d7cdc Cleanup compile results on compilation error (#5663)
- pdfUrl, pdfDownloadUrl and log entries are now cleared up after a compilation error.

- Added a new hook, useScopeValueSetterOnly that limits how changes in React components are propagated to Angular. Since the compilation process happens entirely within compile-context it make sense that compilation results are solely managed by compile-context itself.

GitOrigin-RevId: 2003be03bab6753bb9a88194c7a6163cfd36f9c2
2021-11-04 09:04:05 +00:00
Jessica Lawshe
3ad686c30b Merge pull request #5630 from overleaf/jel-layout-dropdown
New project layout dropdown

GitOrigin-RevId: 8d7f4ff6649fe249b762642e70522597e5e78dd4
2021-11-04 09:03:44 +00:00
Alf Eaton
be809a0de8 Reinstate uses of useScopeValue (#5544)
GitOrigin-RevId: d1eac1b18b042fbd4203cd37c79abef10cec626c
2021-10-22 08:04:13 +00:00
Alf Eaton
913a62fbc8 Migrate synctex controls to React (#5503)
GitOrigin-RevId: 80362a00ae6b73616a6fa9b3193b9b9974b5fd35
2021-10-22 08:03:43 +00:00
Alf Eaton
2bf422b76d Merge pull request #5522 from overleaf/ae-compile-feature-flag
Only use the React compiler when showNewPdfPreview is set

GitOrigin-RevId: 24bf8dc6a830e670ee8dc30b8e0329127de1a1a8
2021-10-22 08:03:31 +00:00
June Kelly
4f29ca5cbd Merge pull request #5395 from overleaf/msm-pdf-metrics
Added PdfJsMetrics to React PDF Viewer

GitOrigin-RevId: ff749d67baec243ca2c8e51409754716f4cef62c
2021-10-21 08:03:07 +00:00
Alf Eaton
9ffe28649c Improve rendering of errors from pdf.js (#5448)
GitOrigin-RevId: 69836ba213b124e2442b2d0083531dd95be2bf4e
2021-10-18 08:04:06 +00:00
Alf Eaton
f7ef2532e0 Handle PDF preview on toggle between split and full-width views (#5470)
* Only hide the compile logs pane when toggled off
* Handle PDF preview on toggle between split and full-width views

GitOrigin-RevId: 9ceca8a06a22abfa78f245e1ae5d24af98215906
2021-10-18 08:03:26 +00:00
Alf Eaton
845b2fbc04 Move useScopeValue hook to shared hooks folder and wrap setValue in a function (#5386)
GitOrigin-RevId: b1a6a4e871af3b52fb3d100a83b479c834cb75ca
2021-10-11 08:03:29 +00:00
Alf Eaton
165520a6f2 Refactor scoped layout values into LayoutContext (#5356)
GitOrigin-RevId: b0b07ddd078bfc5acd944cac14bc00dc83d09d21
2021-10-11 08:03:17 +00:00
June Kelly
03e1daa038 Merge pull request #5201 from overleaf/msm-pdf-viewer-error-boundaries
Error boundaries for React PDF viewer

GitOrigin-RevId: 90052fc183f7ece8125ecfb0410a529cf905c13b
2021-10-07 08:03:43 +00:00
Alexandre Bourdin
7e6839b0af Merge pull request #4715 from overleaf/ab-project-members-modal-split-test
Share modal split test

GitOrigin-RevId: 274450564e1cbfc3ba3ec7c2ca60dfeda552a536
2021-08-20 08:04:05 +00:00
June Kelly
4737982cdd Merge pull request #4675 from overleaf/msm-fix-review-button-ce
Remove Track Changes button in CE

GitOrigin-RevId: 7e682ea9cce8d23ba0fffc95cfb379588f0fd42e
2021-08-13 12:57:17 +00:00
Alexandre Bourdin
eb31e6ebed Merge pull request #4343 from overleaf/as-fix-publish-modal
Fix publish modal showing incorrect view for various brands

GitOrigin-RevId: c1a71300b21d41d6566ae481c843b020e0ef84f1
2021-07-28 02:06:38 +00:00
Miguel Serrano
9b59c0813c Replaced application-context with user-context (#4246)
* Replaced `application-context` with `user-context`
* deleted `user` initialization with `window.user`
* fixed tests and storybook

GitOrigin-RevId: 0ed4b9070d7c6d370fee2112f310c4bcfea519e7
2021-06-26 02:05:53 +00:00
Miguel Serrano
b7802674d5 Merge pull request #4245 from overleaf/msm-extract-project-context
React `project-context`

GitOrigin-RevId: 6a23437d6e6a328ff5854622ff903d348db1f8b8
2021-06-26 02:05:49 +00:00
Alf Eaton
7c97f8ab6e Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports

GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
2021-06-24 02:06:59 +00:00
Alf Eaton
eebeffc1c5 Merge pull request #4188 from overleaf/ae-memo
Improve React performance by memoizing components and values

GitOrigin-RevId: 805278b8b7ac04c3dc4b078fa53cc0e3770d261b
2021-06-22 02:07:08 +00:00
Alf Eaton
1760d93fc4 Upgrade React to v17 (#4201)
* Upgrade react and react-dom
* Fix test
* Ensure that the "history:toggle" event is broadcast when switching in or out of history view
* Add ControlledDropdown
* Remove DropdownButton stories

GitOrigin-RevId: 3810f6986bb60e59af31f960f431c31be16554f5
2021-06-19 02:08:29 +00:00
Miguel Serrano
8856f3121d Merge pull request #4118 from overleaf/msm-fix-nav-toolbar-anonymous
Fix problems with React Navigation Toolbar on anonymous access

GitOrigin-RevId: 29b652ac2765129e3adf2f9bca2309e8a18ac823
2021-06-18 02:05:40 +00:00
Miguel Serrano
567d52c573 Merge pull request #4222 from overleaf/ae-project-owner-id-path
Fix project owner id path in scope

GitOrigin-RevId: 5ea74a01d9feb584c4cb78b620d2f2854ee45e3f
2021-06-18 02:05:36 +00:00
Alf Eaton
ad3c66b36e Add IdeProvider (#4161)
GitOrigin-RevId: cab09354cf4b325a1ea3814a8c4c49fac7c831be
2021-06-17 02:09:29 +00:00
Alasdair Smith
3f4fa4c6cc Merge pull request #4099 from overleaf/as-clean-up-share-modal-window
Pull `user` and `isRestrictedTokenMember` from `ApplicationContext`/`EditorContext` instead of `window`

GitOrigin-RevId: 9084d4f1b075123fe4b10b1156c7b844595827e2
2021-06-04 02:08:24 +00:00
Jakob Ackermann
1c2314a854 Merge pull request #4095 from overleaf/msm-fix-react-navbar-history-toggle
Fix history mode not being restored with React Nav Toolbar

GitOrigin-RevId: 0022153b24db015c6122f45ad7965830e0033540
2021-06-01 02:05:27 +00:00
Jakob Ackermann
f5942f1a7b Merge pull request #4098 from overleaf/msm-fix-application-provider-required-user
Fixed `isRequired` usages for `ApplicationProvider.value.user`

GitOrigin-RevId: 0f3db77fa5da1cb0aec29ef112d1044173df88e0
2021-05-28 02:08:46 +00:00
Timothée Alby
70952906c9 Merge pull request #4043 from overleaf/as-clean-up-exposed-settings
Remove `exposedSettings` from `ApplicationContext`

GitOrigin-RevId: 02acd3a7cf36d184560ff6df13acff515da908fa
2021-05-20 02:05:05 +00:00
Jessica Lawshe
2abc9fa0e8 Merge pull request #4042 from overleaf/as-prevent-set-title
Prevent setting title on every render

GitOrigin-RevId: d9e5ad7d7a23099f153686f538ab3e733b3b7b07
2021-05-19 02:06:19 +00:00
Alf Eaton
8c3578e74b Merge pull request #4041 from overleaf/ae-use-ref-with-autofocus
Rename hooks files and move to shared folder

GitOrigin-RevId: 9659247b5e767197c3e11acc9a3922ecaab49162
2021-05-19 02:05:50 +00:00
Alf Eaton
01c8a8a04d Merge pull request #4025 from overleaf/ae-timeout-upgrade
Only show upgrade message on timeout if not already premium

GitOrigin-RevId: 1378b0a98c6b511d63f2ce1192d3fdca16e8db26
2021-05-15 02:10:09 +00:00
Alf Eaton
e9b93a6ef2 Merge pull request #3979 from overleaf/ae-exposed-settings
Remove exposed-settings.js

GitOrigin-RevId: 056526b6e5fb50c4fd8058338e894eed9a3a50f4
2021-05-05 02:10:00 +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
Timothée Alby
0ecebefb0c Merge pull request #3804 from overleaf/msm-react-publish-button
[ReactNavigationToolbar] Submit button

GitOrigin-RevId: 9b40e09f001b44bd2f5035469f0d0c852fea7199
2021-04-20 02:10:19 +00:00
Miguel Serrano
f9962fefe8 React git-bridge modal (#3869)
GitOrigin-RevId: 5b2609ed9ad7909a10cb08342053e955447688f5
2021-04-01 02:06:05 +00:00
Alf Eaton
d0d28524a2 Switch to useScopeValue for project data in Share modal (#3823)
GitOrigin-RevId: f82170c241c59cf7b66fea7e1471004e46ab3547
2021-04-01 02:05:30 +00:00
Miguel Serrano
445c850004 Revert "React Git Bridge Modal (#3757)" (#3867)
This reverts commit cf883b776a9ddc7975977534dc453ece4b3ec431.

GitOrigin-RevId: 462d7282d2c706ef5395c25a335239bfac4787a6
2021-04-01 02:05:27 +00:00
Miguel Serrano
835c60071d React Git Bridge Modal (#3757)
* git-bridge-modal react component and stories
* added react git-bridge-modal to angular tree

GitOrigin-RevId: cf883b776a9ddc7975977534dc453ece4b3ec431
2021-04-01 02:05:24 +00:00
Miguel Serrano
a555f0d309 [ReactNavToolbar] Project name + pdf and share project buttons (#3709)
* Added project name, pdf toggle and share project buttons to navigation toolbar

* Added PropTypes check to `useChatContext()`

* React context updates for project name/rename, pdf view and share moda

* Hide PDF button when pdfLayout != 'flat'

GitOrigin-RevId: 3f4a1b072259df7148d3417cd22116702bdd79ac
2021-03-11 03:05:33 +00:00
Miguel Serrano
d55e46d3c0 Merge pull request #3642 from overleaf/msm-history-track-changes-toggles
[ReactNavToolbar] Track changes and History toggle buttons.

GitOrigin-RevId: a67a9a488c0960dba3f3d374cde4db0080ed2952
2021-02-24 03:04:17 +00:00
Miguel Serrano
d78644e02c Merge pull request #3632 from overleaf/msm-navbar-collaborator-widget
[ReactNavToolbar] Collaborators widget

GitOrigin-RevId: 65f2484962591103f02eb7624a974d0806b1abf0
2021-02-11 03:04:36 +00:00
Miguel Serrano
77c35e3715 Merge pull request #3633 from overleaf/msm-react-context-validation
Added PropTypes validation to react context

GitOrigin-RevId: 86950bdacf366035d1cfd923c7e7674d543b380f
2021-02-11 03:04:33 +00:00
Miguel Serrano
260b878b7d [ReactNavToolbar] Chat Toggle Button + chat-context (#3625)
* Added toggle chat button to navigation header

* new `useBrowserWindow` hook to work with browser title and focus

* react2angular chat toggle button plumbing

GitOrigin-RevId: 4380f1db9c7cc9a25bfb8d7a33e18d61b1d32993
2021-02-10 03:04:39 +00:00
Miguel Serrano
37d45d64b3 [ReactNavToolbar] Integration branch (#3513)
* Created ng-controller for react shared context and set editor.loading

* toolbar-header component with menu button (and story)

* Added editor-navigation-toolbar-root and react2angular plumbing

* Added eslint-disable exception to use <a/> instead of <button/>

* added 'menu' to extracted translation

* [ReactNavToolbar] Added cobranding and back to projects buttons (#3515)

GitOrigin-RevId: 27c3bba85cbc96a123d58c66a0bd5d6a2cfd8aca
2021-01-28 03:05:28 +00:00
Paulo Jorge Reis
11e58b5844 Add timeout upgrade prompt to the new compile UI (#3528)
* Uncouple account-upgrade and exposted-settings from Angular

* Mock socket shim with the correct methods

* Extract timeout upgrade prompt to a component

GitOrigin-RevId: ee8058b38bf5e20924a21f40d32c5bb0ee06c555
2021-01-15 03:05:48 +00:00
Miguel Serrano
1fcf94c3b9 Merge pull request #3436 from overleaf/msm-react-shared-context
React shared context

GitOrigin-RevId: ebc6fa90dd8c65ddf803fd457c99a30f0e8e3c9c
2020-12-15 03:05:07 +00:00