Commit graph

2789 commits

Author SHA1 Message Date
Jessica Lawshe
b5c2423797 Merge pull request #17288 from overleaf/jel-confirm-email-delete-config
[web] Add input to confirm email before deleting SSO config

GitOrigin-RevId: fa1e5556fe991583178dbfdd886e723c65d047c1
2024-02-27 17:02:24 +00:00
Jessica Lawshe
c704a4b79a Merge pull request #17257 from overleaf/jel-delete-sso-config-users-cleared
[web] Clear users linking data when deleting group SSO config

GitOrigin-RevId: 1c1f63a747f422a646c763f771a8237f91182c38
2024-02-27 17:02:19 +00:00
Alf Eaton
0dfb4d8de6 Lazy-load the React History view (#17290)
GitOrigin-RevId: 6d6ee5e993658e0895d9c2bcd4c2f60bba86c04e
2024-02-27 17:02:01 +00:00
Alf Eaton
7b93640b96 Remove CDN load test (#17308)
GitOrigin-RevId: 6f8f840bb8a3db0944179c7c25b89f1793f033bc
2024-02-27 17:01:56 +00:00
M Fahru
ef6644f519 Merge pull request #17297 from overleaf/rd-sass-prettier-2
[web] Enable Prettier for Sass

GitOrigin-RevId: 8658a83010f04898e447230850f6f5bda788c1cc
2024-02-27 09:03:29 +00:00
M Fahru
7ea86155bf Merge pull request #17233 from overleaf/mf-fix-button-container-mobile
[website-redesign] Improve button container styling for mobile view

GitOrigin-RevId: 24e3d2a0ecd6bff63fb0b09eb13e68c147a7cbd9
2024-02-27 09:03:21 +00:00
M Fahru
ff9f9f8c2c Merge pull request #17263 from overleaf/ds-mdm-mono-font
Website redesign: Fixing the DM MONO font family styling issue

GitOrigin-RevId: 58b1167e812a7adf0e445bc2faeb273b74a98890
2024-02-27 09:03:16 +00:00
Tim Down
63efd61011 Merge pull request #17262 from overleaf/td-bs5-simplify-colors
Bootstrap 5: remove colour RGB triples and update greens and a blue to match Figma

GitOrigin-RevId: 1e0b2a0a09ea00401ddde54d3af943ce1982e497
2024-02-27 09:03:01 +00:00
Jakob Ackermann
58292f71eb Merge pull request #17287 from overleaf/jpa-wf-promo-change
[web] show plans page variant of Writefull promo w/ extension installed

GitOrigin-RevId: 41fcccb3b1f70aadf0cb641a556e78c11b74e4d0
2024-02-27 09:02:58 +00:00
Rebeka Dekany
4a1af0f057 Merge pull request #16925 from overleaf/rd-dropdown-bootstrap5
Bootstrap-5 Dropdown menu component

GitOrigin-RevId: 8a74f2341eebf953367ab73946d72e8aa7bd3c13
2024-02-26 09:03:05 +00:00
Jimmy Domagala-Tang
5dc3716581 Merge pull request #17279 from overleaf/revert-17277-jpa-hide-old-writefull-banner
Revert "[web] hide old Writefull banner when the extension is already installed"

GitOrigin-RevId: bc4d28cff7ce472a5f271026122c5fc6c4ab7886
2024-02-23 09:03:20 +00:00
Jimmy Domagala-Tang
404e023e08 Merge pull request #17277 from overleaf/jpa-hide-old-writefull-banner
[web] hide old Writefull banner when the extension is already installed

GitOrigin-RevId: 35a1a3f6e8dd5860d81ea61ea01c40419454d40c
2024-02-23 09:03:17 +00:00
Alf Eaton
3e11ee6e5a Ensure that the editor state is preserved when switching views (#17238)
GitOrigin-RevId: 946b82cb633afbea13a72e30a9ce432aa1a8196d
2024-02-23 09:03:06 +00:00
Davinder Singh
10e7be0a69 Web redesign - Final round of feedback on customer story pages (#17066)
* customer story markup feedback changes

* bringing back old styling for arrow

* adding new light arrow

* removing img-rounded from vialab story image

* changing image in f1000research

* adding margin top to author in quote

* removing im-rounded and aria-hidden from hero images

* removing col-md-12 from quotes in the customer story pages

* fixing the hero heading size on mobile screens and removing an extra duplicate paragraph

GitOrigin-RevId: 6afd1288c317d6a384e96040f865d1662468de22
2024-02-23 09:02:52 +00:00
Tim Down
85964c9e43 Merge pull request #17205 from overleaf/td-color-not-colour
Bootstrap 5: change spelling of colour to color

GitOrigin-RevId: 3edd3537532877e50646bd5d5514cb2d6ec1bd64
2024-02-22 09:05:15 +00:00
Tim Down
fd26faa3d9 Merge pull request #17190 from overleaf/td-bs5-default-typography
Change default fonts in Bootstrap 5

GitOrigin-RevId: e60b6f32ae639a47353f1a73179c8e1e25edcd52
2024-02-22 09:05:11 +00:00
Miguel Serrano
992cb49802 Merge pull request #17241 from overleaf/msm-fix-sp-git-settings
[web] Prevent render of Sync section in SP when git is disabled

GitOrigin-RevId: 5bfd1baadaff21db72d84a11d3f926431739dae4
2024-02-22 09:05:06 +00:00
M Fahru
dc9b0aa8a5 Merge pull request #17230 from overleaf/mf-tear-down-inr-2
[web] Tear down INR split test

GitOrigin-RevId: 90c6ab4666d9281e804b279d697d6c14ffd682d2
2024-02-22 09:05:02 +00:00
Jakob Ackermann
23281255a1 Merge pull request #17212 from overleaf/jpa-writefull-promo-spacing
[web] fix spacing of notifications on the project dashboard

GitOrigin-RevId: 565159334d92c6f73da4c6a7174536cd0a3c5616
2024-02-22 09:04:57 +00:00
Alf Eaton
6212f340d3 Allow individual docs to be downloaded from the file tree (#17137)
GitOrigin-RevId: d0b2ce9f3a252e34f452155ed83c3c04e7916ef0
2024-02-22 09:04:48 +00:00
Alf Eaton
bef2e4fbce Allow any single file to be uploaded (#17215)
GitOrigin-RevId: 9eecc9e044ec1a489b42ccf697806fecfbe5dfc8
2024-02-22 09:04:43 +00:00
Alf Eaton
ed57b5a479 Use EditorView.theme for the history diff viewer styles (#17156)
GitOrigin-RevId: e52519b392395ed740de5932a59fe35321200d5a
2024-02-22 09:04:38 +00:00
Alf Eaton
367c61325a Merge pull request #17223 from overleaf/ab-remove-unused-section
[web] Remove unused signature algorithm section

GitOrigin-RevId: a84a531e4039bd20cdda536a343557b84c024837
2024-02-22 09:04:23 +00:00
ilkin-overleaf
6e95e230e8 Merge pull request #17192 from overleaf/ii-dictionary-modal
[web] Remove dictionary word only if request is successful

GitOrigin-RevId: 43ffd0dac3ca9729213cf7901f39094c54806412
2024-02-21 09:03:33 +00:00
Thomas
1019142457 Use winning website redesign variant (#17200)
* Implement redesign on the default urls and redirect variants to defaults

* Fix Features & Benefits inconsistent case, cleanup temp translation

* Replace header_extras with the website redesign header extras

* Delete old home page

* Remove real time edits javascript (old home page)

* Cleanup unused locales

* Temporarily disable test that checked about/features-overview page

* Fix business/universities links in customer stories

GitOrigin-RevId: 9d2ee64c2622ffea7a2c2f7448a5e5beae3187e9
2024-02-21 09:03:18 +00:00
Jessica Lawshe
f8094bbdb6 Merge pull request #17060 from overleaf/jel-password-linked-group-sso
[web] Prevent updating password for managed users linked to group SSO

GitOrigin-RevId: f40bba47575cfac1b1e42d3138112c0db4f7865c
2024-02-20 09:06:06 +00:00
Jessica Lawshe
d5639794c2 Merge pull request #17166 from overleaf/ab-fix-group-settings-label
[web] Cleanup managed users env var and fix group settings label

GitOrigin-RevId: 817ed86a6c94c03adb41e8c10115d6404180142e
2024-02-20 09:05:54 +00:00
Eric Mc Sween
b55bdf7ced Merge pull request #17128 from overleaf/em-filter-out-comments
Do not send comments to project-history when ranges support is disabled

GitOrigin-RevId: 0c5e5e2c98ea3c2830ba4d5d114bf4730b440440
2024-02-19 09:04:00 +00:00
Jakob Ackermann
cdca83d94e Merge pull request #17008 from overleaf/jpa-jdt-wf-consent-init
[web] new copy for Writefull promotion

GitOrigin-RevId: 4e67414a5f9ef96649d36e15a2aa8661ee4fdd59
2024-02-19 09:03:38 +00:00
Alexandre Bourdin
cb5430f8b5 Merge pull request #17124 from overleaf/ab-group-sso-copy-links-update
[web] Group SSO copy & link updates

GitOrigin-RevId: 267e76aa0123bffa47583f2f773372f4e5e4185b
2024-02-19 09:03:19 +00:00
Tim Down
c473527bd8 Merge pull request #17122 from overleaf/td-bootstrap-5-utility-classes
Generate Bootstrap 5 utility classes

GitOrigin-RevId: 11c4b40b137fed70ed000d8f54536794b32f678a
2024-02-16 09:05:41 +00:00
Alf Eaton
2818c4a519 Move history diff viewer color style out of CodeMirror theme (#17154)
GitOrigin-RevId: 1fa527542c3b901c731cb79e1a6063e394e4af34
2024-02-16 09:05:37 +00:00
Alf Eaton
f4b176c93d Preserve folder structure when uploading folders (#16502)
GitOrigin-RevId: 791233ce1e68920a4f2d7042ed4c60ca3f4be8fb
2024-02-16 09:05:07 +00:00
Alf Eaton
3f29aa2195 Ensure that each editor theme is only created once (#17095)
GitOrigin-RevId: 3551e02fab44fae7fcab5cb12886d45969e3990f
2024-02-16 09:05:03 +00:00
Alf Eaton
12326b420d Use sliced MaterialSymbolsRounded font (#16994)
GitOrigin-RevId: 51158acccc9967794b2192791961561d43274979
2024-02-16 09:04:36 +00:00
Alf Eaton
00d043cc72 Ensure that the selection layer updates when the review panel is toggled (#17021)
GitOrigin-RevId: e5418ae642e0c46f12c633fc71323bb86018c42a
2024-02-16 09:04:31 +00:00
Tim Down
07e16838b8 Merge pull request #16971 from overleaf/td-bootstrap-5-base
Bootstrap 5 base

GitOrigin-RevId: 2ac614298d31a9cf65430a46d726648a742044f9
2024-02-15 09:04:05 +00:00
Alexandre Bourdin
7c681dc88a Merge pull request #17018 from overleaf/ab-sso-copy-updates
[web] Copy variantions for SSO depending on whether managed users is enabled

GitOrigin-RevId: 33ea44623e27763f2749c39e9fc1b654c818fed4
2024-02-14 09:05:24 +00:00
Davinder Singh
89fba4c100 Website redesign - Changing URL to follow more name focused approach (#17049)
* renaming files to their titles

* changing the href values

* changing the rendering url and few images tweaks

* removing target _blanks from customer story links

* removing text decoration

* adding /about/customer-story as the path

* removing .col-md-12

GitOrigin-RevId: e9f98aa84bf3af074f483b4acc208626a4fe973f
2024-02-14 09:04:48 +00:00
Davinder Singh
c1f8647339 tearing down split test (#17000)
GitOrigin-RevId: cdcca8635a81c697e9f91f31fb711ee420cc6f7d
2024-02-14 09:04:43 +00:00
Thomas
a669228aca Merge pull request #17012 from overleaf/tm-remove-twitter-login-button
Remove twitter option from login page

GitOrigin-RevId: 1839836b5eb5c3510e69b061709bf5b3b32ad25d
2024-02-13 09:04:05 +00:00
Tim Down
bbb5804c39 Merge pull request #16815 from overleaf/td-uuid-frontend-upgrade
Upgrade uuid in web front end

GitOrigin-RevId: 1928848fdf879c270effca12cd390a223007ea79
2024-02-13 09:03:45 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alf Eaton
11859f1c38 Remove savedAt from compiler (#16642)
GitOrigin-RevId: 526d26d731da99b40c253a4dc0a774a896641c8e
2024-01-29 09:03:13 +00:00