Commit graph

21847 commits

Author SHA1 Message Date
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
Miguel Serrano
3e36369433 Merge pull request #16488 from overleaf/msm-ce-mongo-5
[CE] Update mongo version to 5.0 in compose file

GitOrigin-RevId: 5267d4cf2ca944b5a4451c3d7a541a974b150ad8
2024-01-29 09:03:42 +00:00
Christopher Hoskin
df06b3562d Merge pull request #16734 from overleaf/csh-issue-15655-ce
Move CE build to AR

GitOrigin-RevId: 3fe6ca5115547a2f85e8f0ef419eea4b8a8f34aa
2024-01-29 09:03:34 +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
Alf Eaton
b9db589f33 Add compile-log-events assignment (#16655)
GitOrigin-RevId: 11a7986796e6970783c391c18101b0bfdd82a67d
2024-01-29 09:03:16 +00:00
Alf Eaton
11859f1c38 Remove savedAt from compiler (#16642)
GitOrigin-RevId: 526d26d731da99b40c253a4dc0a774a896641c8e
2024-01-29 09:03:13 +00:00
Jakob Ackermann
bc7201e337 Merge pull request #16723 from overleaf/jpa-bump-copyright-years
[web] bump hard-coded copyright years

GitOrigin-RevId: a4896456713e00a68986228504218bf645565d47
2024-01-29 09:03:10 +00:00
Alf Eaton
49d2ca781e Store selected project ids separately (#15598)
GitOrigin-RevId: 56a833fb1524362ff6617afa9be4cb7b6c1984c7
2024-01-29 09:03:07 +00:00
Alf Eaton
0cde5be165 Merge pull request #14709 from overleaf/ae-context-typescript
Convert React context providers to TypeScript [don't squash!]

GitOrigin-RevId: d92a91798286978410956ab791d73c17c5086d86
2024-01-29 09:03:04 +00:00
CloudBuild
fdf8ebe001 auto update translation
GitOrigin-RevId: 916d1560c9b2aa1a3d397633225e5d4ced12d67c
2024-01-26 09:03:51 +00:00
Jessica Lawshe
8d0e2c7572 Merge pull request #16680 from overleaf/jel-sso-metadata
[web] Fill in SSO configuration form from metadata file

GitOrigin-RevId: 4c470ba4cdf118af87fa8f9fee59a9f02ee4a56c
2024-01-26 09:03:48 +00:00
ilkin-overleaf
a44a6a22dc Merge pull request #16662 from overleaf/ii-share-modal-click-2
[web] Share modal select contact

GitOrigin-RevId: e43575cd97ad8e4bca249967bdf0cfc587213cc4
2024-01-26 09:03:42 +00:00
ilkin-overleaf
55fcf8a0ee Merge pull request #16706 from overleaf/ii-review-panel-refresh-entry-positions-on-resize
[web] Reposition review panel entries correctly on resize

GitOrigin-RevId: 04f94c20393b1da318560d39175c2b860738998b
2024-01-26 09:03:39 +00:00
Rebeka Dekany
140b312eca Merge pull request #14799 from overleaf/rd-report-tablist-plan
Accessibility - help the user to navigate through the tabs on the plans page

GitOrigin-RevId: 93822277edd3a44eaf8e1219a4902e28d31e198a
2024-01-26 09:03:36 +00:00
Alexandre Bourdin
e264b1ac8b Merge pull request #16690 from overleaf/jpa-sessions-fix
[web] remove unexpected angular success message from de-ng sessions page

GitOrigin-RevId: f320607a4efc098757d78edb8ab0248e3726ab15
2024-01-26 09:03:31 +00:00
Alexandre Bourdin
d303a83cd9 Merge pull request #16584 from overleaf/ab-update-sso-test-result-ui
[web] Update SSO test flow with final UI

GitOrigin-RevId: 2c6b892a3eb9b4a3c4bf41cafa537f562ca3d004
2024-01-26 09:03:22 +00:00
M Fahru
d71c4afd0f [website-redesign] Change some copywriting after SEO agency feedback (#16681)
* Change h1 text content on homepage

* Change text below plans page on homepage

* Change some text copy on features overview page

GitOrigin-RevId: 7ace00041d59aa75cbc4abd79c4335fbbb089135
2024-01-25 09:03:40 +00:00
M Fahru
eb043afff3 Fix wrong color hex code. (#16682)
Change all instance of `deep-green` to `dark-jungle-green`

GitOrigin-RevId: 359b4b21da5e3e6f61e07f8619494cd1e6ccbb63
2024-01-25 09:03:36 +00:00
M Fahru
657bc4a31c [website-redesign] Universities page visual asset (#16707)
* Implement visual assets for the universities page

* Remove unnecessary video-w-md-90 class

* Change copy according to figma

* Add The Forgotten Sticker

GitOrigin-RevId: 731e71850d5ebd5c40a7d9c0cbb4d6a4f40cd5d9
2024-01-25 09:03:33 +00:00
Davinder Singh
60704ebae6 Website redesign - Margin the of hero section image and footer margin (#16702)
* adding padding to images of 15px on mobile screen

* fixing margin of footer

* removing padding and changing size to xs-max

GitOrigin-RevId: 185cad8a0a21b3c800f401d3ae59b10aff1a1f58
2024-01-25 09:03:30 +00:00
Davinder Singh
ef7a72b092 Website Review- Requested Changes after marketing review (#16688)
* adding mean and a comma

* capital S

* changing so that text takes max of 2 lines

* adding new hero image

* adding correct dropbox logo

* fixing the premium badge alignment in mobile designs

* removing an extra copy of security text

GitOrigin-RevId: 5bf15b2f8d5eaa4514f952b6acfdbccab86fd9bc
2024-01-25 09:03:27 +00:00
M Fahru
57a3b834b7 Merge pull request #16678 from overleaf/tm-website-redesign-features-card-tweaking
Refactor features-card styling and make some visual tweaks to features-card sections

GitOrigin-RevId: 2220f27f3962abb22243f3559cdcf1a88e5fe202
2024-01-24 09:05:13 +00:00
Eric Mc Sween
5c517a56c3 Merge pull request #16661 from overleaf/em-fix-tsconfig
Small backend Typescript config fixes

GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
2024-01-24 09:05:09 +00:00
M Fahru
d61ac98225 Merge pull request #16676 from overleaf/jdt-hide-wf-ad-sm-screens
[WEB] Hide writefull editor notification on small screens

GitOrigin-RevId: 748774ffbd0736944ed8b4d2444787ba9c4b93ea
2024-01-24 09:05:06 +00:00
M Fahru
15cd218e32 Merge pull request #16674 from overleaf/tm-website-redesign-asset-fixes
Add missing sticker, remove dupe asset, use optimized pngs

GitOrigin-RevId: 5da8593c7a93d23f812ba0e520b239a2c0e52882
2024-01-24 09:05:03 +00:00
M Fahru
45f9608e48 Merge pull request #16668 from overleaf/tm-website-redesign-why-latex-visual-updates
Apply visual assets to why latex page

GitOrigin-RevId: e5e1cda79b9ff43fd151a07adbf666aa179b3676
2024-01-24 09:04:59 +00:00
M Fahru
8e167e3946 Merge pull request #16645 from overleaf/mf-template-cards-assets
[website-redesign] Change template asset card placeholders

GitOrigin-RevId: a94e0d6d91c335fb3c6abac0e48691ef010a28c8
2024-01-24 09:04:56 +00:00
M Fahru
5a1aac3725 Implement features section of the features overview page:
- change placholder images
- add icons

GitOrigin-RevId: 858483062358e75a22fbc5562147baa13a4ee9d7
2024-01-24 09:04:53 +00:00
M Fahru
1bae526ff3 Implement why-latex section on homepage
GitOrigin-RevId: 2f7d6a83deabdb8387479485cf9961f0c11a4bf7
2024-01-24 09:04:50 +00:00
M Fahru
2e083c38f8 Merge pull request #16625 from overleaf/mf-features-section-homepage
[website-redesign] Implement visual branding for features section on homepage

GitOrigin-RevId: 52fa09eec3cc5af27eb5041e3751ea089cdbffba
2024-01-24 09:04:46 +00:00
Jakob Ackermann
216e3b2091 Merge pull request #16659 from overleaf/jpa-loose-progress-assertion
[document-updater] loose assertion on progress with low LIMIT

GitOrigin-RevId: f5046e0ed46b889e5a49a69b9752961f847d361a
2024-01-24 09:04:41 +00:00
Mathias Jakobsen
05bec77b74 Merge pull request #16660 from overleaf/mj-edit-operation-fix
[overleaf-editor-core] Fix typo in text operation tests

GitOrigin-RevId: a7ee6ce55cd0c6b4304990de2e6fa76f5406e663
2024-01-24 09:04:37 +00:00
Jessica Lawshe
c5a902656d Merge pull request #16491 from overleaf/rd-plans-table
[web] Accessibility - improve the navigation on the plans page

GitOrigin-RevId: 8fccdfe5c60ad908f028608b79be74ca964fb65a
2024-01-24 09:04:34 +00:00
Jessica Lawshe
d812a73d93 Merge pull request #16656 from overleaf/mf-fix-recaptcha-reconfirm-password-reset
[web] Fix recaptcha flow on reconfirm page and password reset page

GitOrigin-RevId: 45e07a283d6f978c808a7785cf21487b8a7f6ada
2024-01-24 09:04:31 +00:00
Jessica Lawshe
ecd2bf96a9 Merge pull request #16633 from overleaf/jel-translation
[web] Fix typo in translation

GitOrigin-RevId: 32226ed769313e4379758dd4c65d20e69e74a08a
2024-01-24 09:04:28 +00:00
Jessica Lawshe
2d3b7c5846 Merge pull request #16620 from overleaf/jel-sso-modal-notifications
[web] SSO form notifications

GitOrigin-RevId: 3b9ced2430434adb3a4fa093ad04c56648e95c43
2024-01-24 09:04:24 +00:00
Jessica Lawshe
45d44d2fe6 Merge pull request #16444 from overleaf/jel-v1-api
[web] Begin promisifying InstitutionsAPI

GitOrigin-RevId: aa615e22d3fc8aa77255a26dcdab0e2ce28d93c0
2024-01-24 09:04:21 +00:00
Mathias Jakobsen
43b2fe4a3a [overleaf-editor-core] Restructure TextOperation hierachy (#16582)
* [overleaf-editor-core] Restructure TextOperation hierachy

Restructures the hierachy of TextOperations to include a superclass
EditOperation. This superclass will later on contain other classes used
for tracked changes and comments.

* [overleaf-editor-core] Update json format of LazyStringFileData

* [history-v1+project-history] Fix TextOperation.fromJSON calls

* [overleaf-editor-core] Change EditOperationBuilder.fromRaw to fromJSON

* [overleaf-editor-core] Update apply and invert functions to accept FileData

* [overleaf-editor-core] Pass missing argument to store method

* [overleaf-editor-core] Remove unused method

* [overleaf-editor-core] User EditOperationTransformer

* [overleaf-editor-core] Clean up JSDoc comments

* [overleaf-editor-core] Add tests for EditOperation

* [overleaf-editor-core] Update JSDoc types

GitOrigin-RevId: 9c22a3a89b8483bdb87b43f329ddbdd887ffed42
2024-01-24 09:04:18 +00:00
Domagoj Kriskovic
fc90db231c Add CommentList to StringFileData (#16568)
* Add CommentList to StringFileData

* added more types

* use toRaw

* using Map rather than array for comments

* using Range class

* Comment with ranges:Range[]

* Revert "Comment with ranges:Range[]"

This reverts commit 0783b1837562600637db03cc70c620129061c797.

* Comment with ranges:Range[]

* remove isDeleted

* commentList.toRaw()

* using toRaw

* commentId to id

* Revert "using toRaw"

This reverts commit 0c04ca5836f3befd5ec027bad5bf722e8b27f36c.

* fix merge

* make comment map internal to CommentList

* remove unused type

* fix parameter name in StringFileData

* import types more consistently

* more consistent type def

GitOrigin-RevId: 2be2225819d8e8ebcf90d08def280377205cb9ec
2024-01-24 09:04:15 +00:00
Alf Eaton
3de9efb1bb Fix stripe alignment on Recompile button (#16643)
GitOrigin-RevId: 504bc90889e89c62727777eedc81dfa192094e75
2024-01-24 09:04:11 +00:00
Alf Eaton
5871978272 Use renderMessage (#16628)
GitOrigin-RevId: 9f627a31d0f8ffce841f04f5a9bfa09f6abcd0a3
2024-01-24 09:04:08 +00:00
Alf Eaton
3ea151d129 Add event tracking for counts of matched compile log entries (#16615)
GitOrigin-RevId: 65f0efde77db5130cf8a709bb899d3231c3bdec4
2024-01-24 09:04:05 +00:00
Jakob Ackermann
a7c7f2e69b Merge pull request #16589 from overleaf/jpa-script-redis-mongo-mismatch
[document-updater] add script for checking for redis vs mongo de-syncs

GitOrigin-RevId: b51b61efd750f37180c09af5ccf5681712719ee2
2024-01-24 09:03:59 +00:00
ilkin-overleaf
784ebcbd57 Merge pull request #16610 from overleaf/ii-generate-unique-name-for-project
[web] Fix unique project name generator

GitOrigin-RevId: 9b30041ab532b4ad87ee647fb7d5b280b069ce12
2024-01-24 09:03:55 +00:00