Commit graph

13763 commits

Author SHA1 Message Date
Jakob Ackermann
385d3f9c1b Merge pull request #16980 from overleaf/jpa-join-project-remove-sl-2
[misc] joinProject: pass userId and anonymous access token in body 2/2

GitOrigin-RevId: b1a11941a6d9c7cc779769d1e97d3a0f03bed610
2024-02-13 09:03:39 +00:00
Jakob Ackermann
8523c21158 Merge pull request #16948 from overleaf/jpa-rails-sharelatex-rebranding-step-2
[web] migrate v1 api calls away from ShareLaTeX branded endpoints

GitOrigin-RevId: af08ee029d0cee8f0f171d21b4f2b0b76222b3f8
2024-02-13 09:03:35 +00:00
Davinder Singh
094e768766 Merge pull request #16891 from overleaf/ds-filling-customer-stories-content
Website redesign- Filling content on customer story pages

GitOrigin-RevId: fd83ea464b42436518bcce387416e73810d0ff71
2024-02-13 09:03:28 +00:00
Davinder Singh
6669229c03 Merge pull request #16552 from overleaf/ds-individual-customer-story-page
Website redesign-  individual customer story page layout setup

GitOrigin-RevId: 21de50998839137e5e2a63fc48a29cc648f4a558
2024-02-13 09:03:24 +00:00
Davinder Singh
5d89ff7613 Merge pull request #16525 from overleaf/ds-customer-stories-page
Creating Customer Stories Page

GitOrigin-RevId: 69f4019df307c66a99eabaaa65b83202a2f19601
2024-02-13 09:03:20 +00:00
Alf Eaton
35555a284a Ensure that the file tree takes up the full panel height (#17019)
GitOrigin-RevId: 9d4b63083c85dab946944c5f4f58f46340dd5056
2024-02-12 09:03:27 +00:00
Jakob Ackermann
959fa06148 Merge pull request #17009 from overleaf/ae-file-tree-classname
Remove duplicate className from Angular file tree

GitOrigin-RevId: 238b1ad8631b5a861361113679a9f1f8a66da6ea
2024-02-12 09:03:24 +00:00
Jakob Ackermann
974069bf1c Merge pull request #16979 from overleaf/jpa-join-project-remove-sl-1
[misc] joinProject: pass userId and anonymous access token in body 1/2

GitOrigin-RevId: 5d7832246c7262c004c2cd465d62488384b35ee3
2024-02-12 09:03:16 +00:00
Alf Eaton
19ba6c6a15 Use more native code instead of Babel polyfills, for performance (#16966)
GitOrigin-RevId: c0f3e611f32a7ed3d691ec8cf1b9a1d7ea4fd97c
2024-02-12 09:03:13 +00:00
Alf Eaton
e9dbaf20b8 Wrap useResizeObserver dependency in useCallback (#16972)
GitOrigin-RevId: fd4a10a2897878361a87bb02c5c6e8e6abfa8f26
2024-02-12 09:03:11 +00:00
Jessica Lawshe
ea4d63876a Merge pull request #16990 from overleaf/ab-test-flow-error-message-entity-id-mismatch
[web] Add message in the testing flow for the entity ID mismatch error

GitOrigin-RevId: 99d47d911a47b3933ad049bea0d2c3d604da6ea6
2024-02-09 09:08:28 +00:00
M Fahru
4c0c341fe1 Merge pull request #16827 from overleaf/mf-change-font-to-dedicated-icon
[website-redesign] Optimize page speed for website redesign pages

GitOrigin-RevId: c4e88b4dd3c44866779f35a0ebc1e808d6df7780
2024-02-09 09:08:05 +00:00
M Fahru
01e551e606 Merge pull request #16915 from overleaf/tm-website-redesign-animation-a11y
Website redesign - update animation accessibility and tweak animation to match design spec

GitOrigin-RevId: 21b69f3d8b2ab8bafd9c31db19a7f2a365e2c039
2024-02-09 09:07:56 +00:00
M Fahru
dc8d01cd74 Add *.css files to prettier scripts and apply the script to the current css files
GitOrigin-RevId: 6ee4e9d7ada9d4e6084215c78f919c83f3f60642
2024-02-09 09:07:52 +00:00
M Fahru
25d3d3c972 Merge pull request #16797 from overleaf/mf-fix-premium-label-not-inline
[website-redesign] Make the premium label inline to fix styling for the very small screen.

GitOrigin-RevId: 71246b2ea11cf6f6369185d798f89e7bf8b757ff
2024-02-09 09:07:47 +00:00
M Fahru
ef0e1cff8d Add comment to explain the usage of font-feature-settings: "ss05" rule on the DM Mono font
GitOrigin-RevId: f9ec7868a425136a9f4b2b8e8546747dcbf434e3
2024-02-09 09:07:39 +00:00
M Fahru
ec33ca9bff Include font-feature-settings directly inside DM Mono font-face to make sure we don't forget it if we're using DM Mono in the future
GitOrigin-RevId: c3ece8af3ee683d351546daa98a9f134fa8548a6
2024-02-09 09:07:35 +00:00
David
03bb99aeaa Merge pull request #16657 from overleaf/dp-mongoose-callback-project-update-handler
Promisify ProjectUpdateHandler and ProjectUpdateHandlerTests

GitOrigin-RevId: 312cbe71d431cf50932ab7d5501529d87f7827f2
2024-02-09 09:07:27 +00:00
David
68f011378d Merge pull request #16911 from overleaf/dp-mongoose-callback-referal-allocator
Promisify ReferalAllocator and ReferalAllocatorTests

GitOrigin-RevId: 0c68ec6176ac440504fc6501e0fad161d83d3541
2024-02-09 09:07:22 +00:00
David
d4e9d1bd89 Merge pull request #16912 from overleaf/dp-mongoose-callback-referal-features
Promisify ReferalFeatures and ReferalFeaturesTests

GitOrigin-RevId: 25c1d80c5aea2883f62b95b8646a5670340c5cf2
2024-02-09 09:07:18 +00:00
David
144e22c209 Merge pull request #16918 from overleaf/dp-mongoose-callback-referal-handler
Promisify ReferalHandler and ReferalHandlerTests

GitOrigin-RevId: b73eda0063b04227a0d58d8e9bd0dea1ff6f0af1
2024-02-09 09:07:14 +00:00
David
72eeb5a9ee Merge pull request #16936 from overleaf/dp-mongoose-callback-project-structure-tests
Promisify ProjectStructureTests

GitOrigin-RevId: c554ea42f107a52e792047a22da9aba9b4127644
2024-02-09 09:07:06 +00:00
Alf Eaton
7b3ffb9fae Standardise types for ranges (#16927)
GitOrigin-RevId: 28dd0eb67e1684e6bd0e452d15315ce1f9e3481a
2024-02-09 09:06:51 +00:00
Alf Eaton
c997d1dc2b Remove MathJax v2 (#16961)
GitOrigin-RevId: 32a43361cfc883aa1a5ed85f6be5432b6e838b9d
2024-02-09 09:06:42 +00:00
Alf Eaton
2566dff9d8 Ensure that a "create linked file" request includes a name (#16673)
GitOrigin-RevId: 6b4ffac59f299e297f0a9a14a72ad7cea2508c3c
2024-02-09 09:06:38 +00:00
Alf Eaton
8f9a3cc6a0 Set @file-tree-error-color in the light theme variables (#16954)
GitOrigin-RevId: 128b84af3292a8ac48e5b1010787ec965de835a8
2024-02-09 09:06:29 +00:00
Jessica Lawshe
24182c06cf Merge pull request #16900 from overleaf/jel-delete-sso-config
[web] Delete SSO config

GitOrigin-RevId: 141f8699f681d6a8cd2bc4d7f0b669138446e878
2024-02-09 09:06:16 +00:00
Jessica Lawshe
c027d023b6 Merge pull request #16879 from overleaf/jel-delete-sso
[web] Begin delete SSO config modal

GitOrigin-RevId: 9f8ce6717744fe2207a97dde297f1c4de41510eb
2024-02-09 09:06:08 +00:00
Jessica Lawshe
03aaee84a3 Merge pull request #16945 from overleaf/ab-fix-sso-managed-users-enrollment
[web] Fix managed users enrollment clearing out SSO linking status

GitOrigin-RevId: b2083b48df1782c426794f16e2cdd767b217256c
2024-02-09 09:06:03 +00:00
mserranom
171c05d697 Rebrand SAML env variables to Overleaf
GitOrigin-RevId: a0e5c19ea2e5738e4930b00bf60fd5f37fc07f37
2024-02-09 09:05:46 +00:00
mserranom
fa016bf7d4 Rebrand LDAP env variables to Overleaf
GitOrigin-RevId: d0560a34a3ed0fb10fa2f5f3c0b41db7d7b10181
2024-02-09 09:05:41 +00:00
Miguel Serrano
abe33de010 [web] upgrade @node-oauth/oauth2-server to ^5.1.0, (#16705)
* [web] upgrade @node-oauth/oauth2-server to ^5.1.0,

* Added `expressify` to middleware returned by Authentication.requireOauth()

* Extracted OAuth2 scope transformation to utilities

* Throw an error with undefined SAML scopes

GitOrigin-RevId: 00dfe81c707e9a3fcf9bb10e007c1fc646f7b9dd
2024-02-09 09:05:20 +00:00
Jakob Ackermann
4e689233a5 Merge pull request #16956 from overleaf/jpa-anon-access-token
[web] read anonymous access token header from joinProject endpoint only

GitOrigin-RevId: 4f8f60c23dc93cc2b02a429bd5492d8a931ae284
2024-02-09 09:05:15 +00:00
Jakob Ackermann
91106239da Merge pull request #16959 from overleaf/jpa-migrate-token-tests-to-mock
[web] use MockRequest/MockResponse in EditorHttpController unit tests

GitOrigin-RevId: 11d0f06f6d3e99a771286849c8b67a505d84f7c4
2024-02-09 09:05:11 +00:00
CloudBuild
fefbf4f20c auto update translation
GitOrigin-RevId: b4e76106a75a5e09adc36d48695df1e8d20a62f3
2024-02-09 09:04:59 +00:00
Jakob Ackermann
c73f1f3693 Merge pull request #16944 from overleaf/jpa-fix-entity-creation
[web] fix creation of missing user membership entities

GitOrigin-RevId: 203d5e2bb5733479c53068543a04b58a6fa7d1a3
2024-02-09 09:04:54 +00:00
Jimmy Domagala-Tang
06ab04f023 Merge pull request #16780 from overleaf/jdt-wf-load-notif
Writefull loading and retry notifications

GitOrigin-RevId: ad4701c929970da37abdd96e070b67eac57fb54b
2024-02-09 09:04:50 +00:00
Jakob Ackermann
63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup
[misc] ShareLaTeX cleanup - high impact

GitOrigin-RevId: 6dcce9b0f15e30f7afcf6d69c3df36a369f38120
2024-02-09 09:04:11 +00:00
Jimmy Domagala-Tang
537c822789 Merge pull request #16874 from overleaf/jdt-me-learn-links-new-tab
Learn wiki links should open in new tab

GitOrigin-RevId: 7e87feff971bc2c28d0e0bac85e0e20ef139e321
2024-02-06 09:03:57 +00:00
Alf Eaton
45389b3db2 Fix sync to code from PDF only view (#16909)
GitOrigin-RevId: 3a2847716263bffaee540a7c90e609be5f64aeb6
2024-02-06 09:03:43 +00:00
ilkin-overleaf
2f803292b4 Merge pull request #16857 from overleaf/ii-share-modal-click
[web] Clickable share modal buttons

GitOrigin-RevId: db6bef9b63e98007741d88b291a282d6ea4a68c5
2024-02-06 09:03:40 +00:00
Alf Eaton
33bc09cf09 Disable webpack error overlay(s) (#16906)
GitOrigin-RevId: da3ed899bef4f452491f4da94a25078bb458234e
2024-02-06 09:03:37 +00:00
Alf Eaton
c613f8964b Add polyfills for global.StructuredClone and Array.prototype.at (#16461)
GitOrigin-RevId: 28119b7bbda1d5c062f80bce96a8a69be8386559
2024-02-06 09:03:34 +00:00
Alf Eaton
6dc7ced2df Upgrade react-dnd (#16753)
GitOrigin-RevId: 5a62bed823b716a6e0d6d3aa57ee187d161f3346
2024-02-06 09:03:31 +00:00
Alf Eaton
34f34c02e3 Upgrade CodeMirror dependencies (#16868)
GitOrigin-RevId: b91f42b762796518c2b085763a502846e7103e4a
2024-02-06 09:03:28 +00:00
Alf Eaton
a3ba2284d6 Use prefixed strings for tracked counts of compile errors (#16870)
GitOrigin-RevId: 4023822a73c204fe1365cdc0fe311b4289a8cbcf
2024-02-06 09:03:25 +00:00
Jakob Ackermann
621301618f Merge pull request #16893 from overleaf/jpa-download-pdf-dashboard-for-all
[web] enable button for downloading PDFs from dashboard for all users

GitOrigin-RevId: bd46675bc75a7772824081e3e5e3043f282594a1
2024-02-06 09:03:16 +00:00
David
8bd917242b Merge pull request #16744 from overleaf/dp-mongoose-callback-user-feature-updater
Convert UserFeaturesUpdater and UserFeaturesUpdaterTests to async/await

GitOrigin-RevId: 65cbb57d463dd9557e7e8e7643a1be160f17eebc
2024-02-06 09:03:13 +00:00
David
0e9ceb1ffd Merge pull request #16788 from overleaf/dp-mongoose-callback-user-membership-handler
Promisify UserMembershipHandler and UserMembershipHandlerTests

GitOrigin-RevId: bb33110ee750364754db53fb075a5700be003ecc
2024-02-06 09:03:08 +00:00
CloudBuild
f9682f6bb2 auto update translation
GitOrigin-RevId: b864cbaa97a66952e309c0c06e0029680dd6aaf4
2024-02-05 09:04:39 +00:00
Tim Down
7764fb9139 Merge pull request #16847 from overleaf/td-chat-context-provider-storybook
Add chat context provider to Storybook scope decorator

GitOrigin-RevId: 04c95581dfaa4818dc9c9976e854612b4e642101
2024-02-05 09:04:25 +00:00
Tim Down
3a88a60e23 Merge pull request #16700 from overleaf/td-scroll-comment-input-into-view
Scroll comment textarea into view after autofocus

GitOrigin-RevId: c8542f40d25772a14e7511702c0e47b7001be275
2024-02-05 09:04:21 +00:00
Tim Down
473e74ecf1 Merge pull request #16749 from overleaf/td-upgrade-joi-celebrate
Upgrade Joi and Celebrate to latest

GitOrigin-RevId: 287130f6e476c04f9eb4efdf202729452b081c40
2024-02-05 09:04:16 +00:00
Jakob Ackermann
0596e8d25c Merge pull request #16813 from overleaf/jpa-remove-legacy-registration
[web] remove legacy registration aka the public-registration module

GitOrigin-RevId: 5cbb7ecbc7da5cd0617bd1abd1f5c6eef4c05b3f
2024-02-05 09:04:09 +00:00
Jakob Ackermann
880087945e Merge pull request #16854 from overleaf/jpa-overleaf-integration-core-tests
[web] enable overleaf-integration module when running SaaS tests

GitOrigin-RevId: 36eda6ef448604a55f8dc8daac5ce29af23b6b0b
2024-02-05 09:04:05 +00:00
Alexandre Bourdin
3437b2c678 Merge pull request #16824 from overleaf/jel-clear-sso
[web] Clear group SSO via Overleaf admin "Clear all SAML data" button

GitOrigin-RevId: e5db107da533679d51d4f05db4e65c3ab51ed1ad
2024-02-05 09:03:53 +00:00
Alexandre Bourdin
2765991fec Merge pull request #16802 from overleaf/ab-show-certificate-status
[web] Show group SSO certificate status in config

GitOrigin-RevId: e0ffe3fad99ef70a752bdd2ca7be1d7d9bcba73c
2024-02-05 09:03:49 +00:00
Jessica Lawshe
596596efb1 Merge pull request #16860 from overleaf/jel-sso-acceptance-tests
[web] Add group SSO helpers for acceptance tests

GitOrigin-RevId: f2cec120582cecb474e705b451d06e9beced7bc9
2024-02-02 09:03:54 +00:00
Jessica Lawshe
3748621bcd Merge pull request #16791 from overleaf/jel-saml-audience
[web] Handle the SAML error of a SP entity ID mismatch in the response

GitOrigin-RevId: d8168d4ce77f4e810df193dae98046da07e6c0ae
2024-02-02 09:03:51 +00:00
Thomas
59d4f0e5a2 Add path attribute to cookie banner cookie attributes (#16783)
GitOrigin-RevId: 4e576bed42bdc053d867fd0a20336166df1de74e
2024-02-02 09:03:43 +00:00
Davinder Singh
341e1433de Website redesign - Space fixing of text with BG (#16846)
* adding space fix

* adding | instead of spaces

GitOrigin-RevId: d80f105c4a6de18d188678b7d3d3a08b8674efa8
2024-02-02 09:03:40 +00:00
Jakob Ackermann
82cde31619 Merge pull request #16808 from overleaf/jpa-wsUrl
[web] move wsUrl into meta tag

GitOrigin-RevId: c94638759b79b8090b8b3cfa81baa718a69839e1
2024-02-02 09:03:35 +00:00
Alf Eaton
cac1ab1259 Add tags to Sentry error reports (#16465)
GitOrigin-RevId: 1d014e8cc9f87d249a285b247c35f12465ecb93a
2024-02-02 09:03:23 +00:00
Alf Eaton
614d1d05cc Maintain the current scroll position when applying remote changes (#16777)
GitOrigin-RevId: 5d2d0fd5aaefcc6b1e7f4dbd2ce29287cf8dbbdb
2024-02-02 09:03:20 +00:00
Alf Eaton
efe44f08b8 Only log unknown file upload errors (#16739)
GitOrigin-RevId: a6129e622ce32ea227f575b6d93616a7411391ed
2024-02-02 09:03:17 +00:00
Alf Eaton
6976e02a38 Store the current value of openDocId in a ref for use in openDoc (#16853)
GitOrigin-RevId: 853a857eed832fde0be05fef3e149c875fd0c940
2024-02-02 09:03:14 +00:00
Alf Eaton
373c4736e8 Wrap the useCodeMirrorMeasurement state setter in a timeout (#16818)
GitOrigin-RevId: 9f7c12f679ab3947724cc52c63fcee198c73ae87
2024-02-02 09:03:11 +00:00
Alf Eaton
c443322a41 Memoize FileTree and outline toggle button components (#16776)
GitOrigin-RevId: 299ed9d568650ce37edba87643112d1cd6d12fd4
2024-02-02 09:03:08 +00:00
Alf Eaton
f06f2ef99e Set EditorState.readOnly on DocumentDiffViewer (#16756)
GitOrigin-RevId: 4c38441c3ca3010bf28544e237a5b76f7a26b000
2024-02-02 09:03:05 +00:00
Eric Mc Sween
d0a9f8c2cb Merge pull request #15748 from overleaf/em-drop-docops-collection
Drop the docOps collection

GitOrigin-RevId: 8ffa0570ae58b6a00412d8953d3ea0fbb1869b69
2024-02-01 09:03:46 +00:00
Thomas
2a7e06ea07 Merge pull request #16839 from overleaf/tm-website-redesign-suppress-alternate
Suppress rel=alternate hreflang links on website redesign variant pages

GitOrigin-RevId: ff53adbaf9aadd261427157a8b60bafe55d6ce36
2024-02-01 09:03:37 +00:00
Jakob Ackermann
783008b05f Merge pull request #16804 from overleaf/jpa-code-cleanup
[misc] ShareLaTeX code cleanup - low impact

GitOrigin-RevId: 4b4a958af133efdb81196967adb66c97420c4861
2024-02-01 09:03:34 +00:00
Brian Gough
f9db088d57 Merge pull request #16835 from overleaf/bg-google-spam-temporarily-disable-emails
Temporarily disable onboarding emails

GitOrigin-RevId: a1967bc793fcd7b3b90f812fb8c9b9d83f704093
2024-02-01 09:03:30 +00:00
Brian Gough
9702b36c64 Merge pull request #16833 from overleaf/bg-google-spam-add-email-metrics
Include email type and rate-limit status in metrics

GitOrigin-RevId: eb5645e68d9ee3571d04b87b2c0fc09f9caa126a
2024-02-01 09:03:27 +00:00
CloudBuild
2c49c691c3 auto update translation
GitOrigin-RevId: 8bfacb662456a02519fb4a4e8e13e528ebe2fa2a
2024-01-31 09:04:32 +00:00
Miguel Serrano
26ee64fe62 Replace logger with console in frontend macro (#16816)
* Replace `logger` with `console` in frontend macro

logger import is causing problems cleaning node_modules/.cache after webpack builds.
Since macros are used at build time we can use console statements.

GitOrigin-RevId: 22bbbb34391334ec8f8ec256a3a8a72e5fe91588
2024-01-30 16:49:46 +00:00
M Fahru
93976a2748 Merge pull request #16805 from overleaf/tm-website-redesign-ios-video-tweaks
Website redesign - video autoplay tweaks primarily to fix playback on iOS

GitOrigin-RevId: ba2844b8af64627512470d0f27ec450ee2d86b09
2024-01-30 16:49:37 +00:00
Alf Eaton
7f9d105d8c Ensure FileTreeProvider stubbed props don't change in Cypress tests (#16758)
GitOrigin-RevId: 01c7fefdef8b28af0b52007209785b478e5d8600
2024-01-30 16:49:27 +00:00
Jakob Ackermann
14bb3d7114 Merge pull request #16800 from overleaf/jpa-fix-double-loaded
[web] fix detection of writefull extension

GitOrigin-RevId: 2bfad36ec14edf4d95acfcdfd8094f3769871d44
2024-01-30 16:49:14 +00:00
CloudBuild
d644180ce4 auto update translation
GitOrigin-RevId: 230d16e68562e353f61c7f4782a739364950b10a
2024-01-30 09:04:43 +00:00
M Fahru
f0247a3311 Merge pull request #15302 from overleaf/mf-fix-unlink-github-sync-behaviour
[web] Unlink github from collaborators when project owner unsubcribes and github feature was lost

GitOrigin-RevId: 81b81cfb75e3a3684e185ef13d8c0aca19d5699d
2024-01-30 09:04:39 +00:00
Jessica Lawshe
00d66a1b81 Merge pull request #16713 from overleaf/jel-sso-already-linked
[web] When user is already linked to Group SSO

GitOrigin-RevId: 7cee60370c7329a0ed8fd621600d30546f1c8942
2024-01-30 09:04:28 +00:00
Jessica Lawshe
33c5f684c3 Merge pull request #16765 from overleaf/jel-sso-metadata-error
[web] Show errors when unable to import SAML XML metadata

GitOrigin-RevId: 230700038bf692c1da02e8fd509c119e28a68598
2024-01-30 09:04:24 +00:00
Jessica Lawshe
f79f534d9f Merge pull request #16769 from overleaf/jel-scroll-to-notification
[web] Add scroll to notification component

GitOrigin-RevId: 096f9f42344729464e7fb38e4f6542cb2e891918
2024-01-30 09:04:19 +00:00
Jessica Lawshe
71ca6f05b7 Merge pull request #16737 from overleaf/jel-sso-file
[web] Get SSO import data from File rather than FileReader

GitOrigin-RevId: 89de9c614024ab6a310a6226f59c5aa8c82c64e4
2024-01-30 09:04:15 +00:00
M Fahru
6f3402e0e8 [website-redesign] Change all website-redesign CTA button color to our new green: "emerald-green" (#16711)
* Change all website-redesign CTA button color to our new green: "emerald-green"

* Change `inline-green-link` color to `emerald-green`, also change the hover of `green-link` to `emerald-green-dark`

* reuse the `btn-primary` class for website-redesign pages with the new green primary color

GitOrigin-RevId: 63ba76efbb7e7e9d1a99ff9f6b426e94d86bbdf0
2024-01-30 09:04:08 +00:00
Thomas
a1046a7e6f Merge pull request #16766 from overleaf/mf-reduce-rocket-sticker-size-mobile
Reduce rocket sticker size on mobile to 70%

GitOrigin-RevId: 34e2ef290399ad284af0a85b480b884cd49d92de
2024-01-30 09:04:03 +00:00
Thomas
10b6c63d38 Merge pull request #16764 from overleaf/tm-website-redesign-org-logo-overflow
Set logo sizes to match design and fix overflowing, use flex-basis instead of grid

GitOrigin-RevId: dee9427f72502628d02210a3a75e028cda1b2905
2024-01-30 09:03:59 +00:00
Thomas
98f56f8adc Merge pull request #16773 from overleaf/tm-website-redesign-minor-launch-fix
Fix template card hover hint and overleaf sticker size at lower breakpoints

GitOrigin-RevId: 6aefdb1a1a0c58ca5c481fea692b8c19579c8e0d
2024-01-30 09:03:54 +00:00
CloudBuild
90cda11550 auto update translation
GitOrigin-RevId: a39aa8b8fae8f7a02daaa8ee9a0d5ec83c3a7685
2024-01-29 09:04:16 +00:00
Thomas
faa9109002 Merge pull request #16732 from overleaf/tm-website-redesign-small-fixes
Website redesign implementing small fixes based on Markup feedback

GitOrigin-RevId: 02a4b2de03b4afdab00b67448534e685d44d9f49
2024-01-29 09:04:02 +00:00
Thomas
cd38f6df86 Merge pull request #16750 from overleaf/ds-home-page-premium-tag
Website Redesign - Premium badges on home page

GitOrigin-RevId: a3e5d52d1ec119d171e7f5c85a67c3661ae469af
2024-01-29 09:03:59 +00:00
Thomas
17e4c776c1 Place redesign pages on seperate urls with redirects (#16724)
* Place redesign pages on seperate urls with redirects, refactor into StaticPageController

* Add page titles to variant pages (#16710)

* Add features-page-view event (#14911)

* Add canonical URLs to variant marketing pages

GitOrigin-RevId: 3f65f53d856a063dde1e9d60fd3cc327437294f6
2024-01-29 09:03:54 +00:00
M Fahru
4f901caa2d [website-redesign] Set autoplay video configuration according to specification (#16683)
* Set autoplay video configuration according to specification:

- Do not autoplay video initially
- If the video is visible on the viewport (with a threshold of 80% of the video is visible), autoplay video, and everytime it autoplays, set the video starting point to 0
- If the video is not visible on the viewport (with a threshold of 80% of the video is not visible), pause the video
- If user screen stops at video that's currently in autoplay, the autoplay will stop after it endedand replay every 15 seconds.
- For user with reduced motion preference, show video controls.

* Add a comment explaining error in firefox if user is pressing the seek bar relatively fast.

It seems to be a bug specific to firefox.

* Reduce the threshold to 70% of the visible video on the screen.

0.7 value will make the video autoplays instantly for the `new-design-registration` variant since the video on that variant will not be shown fully on the screen at initial homepage load (in desktop screen).

* Set attribute without empty string, fix video that lacked data attribute

* Remove duplicated autoplay video setup on homepage

* Remove autoplay pause/reset on scroll away, don't play if not visible

Refactors the autoplay-video code and removes the pause/reset on scroll
away while also keeping track of the video elements visibility so that
the video doesn't immediately start playing after 15s if not visible.

We also prevent trying to call .play() before the video is in a
"canplay" state. If the video is not ready, then add an event listener
for the "canplay" event and only play() once this is fired. We only do
this once to avoid adding duplicate listeners.

We also check that the video is not playing before calling play(),
because it could still be in playback if we scroll out of view and then
back into view.

* Refactor autoplay-video to match style of similar JS enhancement implementations

* Move autoplay-video from shared/utils to features/

---------

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
Co-authored-by: Thomas <thomas-@users.noreply.github.com>
GitOrigin-RevId: 13011af04baaeba4b8053478a09e3e4d7c960d5c
2024-01-29 09:03:51 +00:00
Thomas
19c6c31e87 Improve organization logos (update assets and refactored styling) (#16730)
* Fix organization logos styling:

- stop forcing explicit height to the image itself, this will remove any visible stretching.
- Force 2 column for screen size < 1200px (and remove flex-wrap) to make sure no single logo that wraps to the next line.

* Update crest images with higher resolution assets

---------

Co-authored-by: M Fahru <m.fahru@overleaf.com>
GitOrigin-RevId: c463d207fdbd750cdbfe6666bb79f69dfd85c673
2024-01-29 09:03:48 +00:00
Davinder Singh
f09d481eea Website redesign - Fixing premium badges and buttons on mobile design (#16718)
* fixing premium badge display on every page

* Aligning header sections and fixing buttons

This aligns the header section to the left on mobile layouts
This also fixes the buttons width on mobile layouts

GitOrigin-RevId: 795af064989272969a5707c086b422b4be58ec25
2024-01-29 09:03:45 +00:00
Alf Eaton
12d38a3be9 Remove setSavedAt from detach compile context (#16742)
GitOrigin-RevId: 2a85b4a0cd6b73c0240b64beddd8cd6ab5a48b2f
2024-01-29 09:03:31 +00:00
Alf Eaton
b38d6a85c9 Warn when project or file is not found (#16740)
GitOrigin-RevId: ab71000492c3b2f2ba02ad6fd768b7c2e4563ed7
2024-01-29 09:03:26 +00:00
Alf Eaton
fefec2c1bf Improve handling of upload to deleted folder (#16738)
GitOrigin-RevId: 2ad2890f8fe51f3c7c7a8ac0834059ea9cb0557b
2024-01-29 09:03:23 +00:00
Alf Eaton
bb0da73a36 [ide-react] Preserve scope value update watchers on watcher add (#16729)
GitOrigin-RevId: 1168577364fef6e13a58d7d96afdf4ba685fc342
2024-01-29 09:03:20 +00:00