[web] Unlink github from collaborators when project owner unsubcribes and github feature was lost
GitOrigin-RevId: 81b81cfb75e3a3684e185ef13d8c0aca19d5699d
* 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
* 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
* 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
* 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
* Change h1 text content on homepage
* Change text below plans page on homepage
* Change some text copy on features overview page
GitOrigin-RevId: 7ace00041d59aa75cbc4abd79c4335fbbb089135
* 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
* adding padding to images of 15px on mobile screen
* fixing margin of footer
* removing padding and changing size to xs-max
GitOrigin-RevId: 185cad8a0a21b3c800f401d3ae59b10aff1a1f58
* 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
[web] Attach aborted captcha event handler to body instead of '.content' to fix register flow on homepage website-redesign
GitOrigin-RevId: f3e5b67476fb2584b7b6eec26114f2cc6e00bfdb
[website-redesign] Implement hero section of the new design (affect features overview, enterprises, and universities page)
GitOrigin-RevId: 374e3014bea5a6636adfadcfd1fd8ad4625ea1a6
Website-redesign - Change quote-card for all of the related website-redesign pages according to the figma design
GitOrigin-RevId: dd9a857a9b6ba18ad378676506721773b17118a3
Website-redesign - Update `info-cards` according to design (change border top & icon color to #4354a3; change box shadow)
GitOrigin-RevId: 6f7a3fd5b456a699a09196a9663f310acddacd56
* Fix space between 'See all plans' and 'or'
* Tweak hero cards on /for/ pages to closer match design
* Fix 'See all plans' text size and link underlines
* Change info card padding after markup feedback
* Underline inline green link
* Reduce LaTeX on Overleaf padding by half (100->50px)
GitOrigin-RevId: b83e43725e8ced55904837a270104fdc414fe639
* wait doc:saved before compiling
* Refactor DocumentCompiler class to handle pending operations before compilation
* add timeout for pending op
* Increase PENDING_OP_MAX_WAIT to 10000 milliseconds
* check if currentDoc exists
* check doc id on doc:saved
* Fix conditional statement
* Refactor to add and remove event listeners for doc:saved event
* check if getPendingOp exists
* typeof getPendingOp
* forgot to push updates
* add flush-changes event
* use promise for handling pending operations
* Remove console.logs
* add isAwaitingBufferedOps
* Revert "add isAwaitingBufferedOps"
This reverts commit 56b0bbc13caf6375d1cf50e8f65f599e7263c404.
* move _awaitBufferedOps in try block
* dont check for matching doc id
* add a todo comment
GitOrigin-RevId: 9225e7d1a7a69385dc1a26bf7663f89f59db6a8a
* [visual] Skip moving cursor inside argument if there is no decoration
* Refactor skipAtomicRanges function
* rangeSet outside the loop, continue rather than return
* use rangeSet.between
* prettier
GitOrigin-RevId: 85ef817e09ea7eb854cec43cb7866f61b4bfbc21
Website-redesign: Introduce `features-card-description-list` to differentiate whether the features-card have a list or a plain text as a description
GitOrigin-RevId: ee1470d6100487706067c05d1c9f08d22a7903f0
* adding a margin of 0
* adding a padding bottom to the welcome page component
* adding a padding bottom of 25px to project-list-welcome-wrapper
* adding container class to fix two issues together
* adding px-0
* adding mx-0
GitOrigin-RevId: 043173d93d705acd92ad1ebe47bda0f3552ded1a
* Show argument completions even if it has more than 255 chars
* use tokenBefore for existingKeys
* use 'ShortArg' token so braces are escaped
* refactor argument completion logic
* remove extra filter
* Add makeMultipleArgumentCompletionSource for arguments with multiple keys
* revert makeArgumentCompletionSource
---------
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: f5aa70fe5e58e04efe0c4e8668957f61a7fa7911