Commit graph

20944 commits

Author SHA1 Message Date
Alf Eaton
4bbde479a5 Avoid creating duplicate spell check marks on the edited line (#21331)
GitOrigin-RevId: 12726b47450be23f5a412a4c50cc2420af6f425f
2024-10-25 08:05:10 +00:00
Alf Eaton
5ec52e2e5b Avoid calling destroy on the PDF.js loading task (#21277)
GitOrigin-RevId: b315e78ff739d301583f2139109f3244abceade8
2024-10-25 08:05:05 +00:00
CloudBuild
aa0fe5aeb3 auto update translation
GitOrigin-RevId: b8104bbfa04a27dd76db1b15d3e479807dc528a2
2024-10-24 08:06:38 +00:00
Jessica Lawshe
19e6ba98f0 Merge pull request #21228 from overleaf/as-gallery-related-tags
[web] Update gallery related tags styling and introduce Show More behaviour

GitOrigin-RevId: 7caef881c9a6f70437486e2bb080135d84f6742f
2024-10-24 08:06:34 +00:00
Eric Mc Sween
13ecddaef1 Merge pull request #20898 from overleaf/em-ai-add-on-setup-recurly
Script for setting up the Assistant add-on in Recurly

GitOrigin-RevId: 25a94961e4068456795b6be6b5e047efc65363fa
2024-10-24 08:06:29 +00:00
M Fahru
60cf8885b0 Merge pull request #21312 from overleaf/mf-gallery-search-author
[web] Add author of the template in search result on gallery redesign

GitOrigin-RevId: 6c5dfc039a31a22650f36bd264f0cb7133238ca2
2024-10-24 08:06:25 +00:00
M Fahru
9a142dd5ec Merge pull request #21306 from overleaf/mf-limit-gallery-summary-max-width-to-tagged-page
[web] Limit 828px max-width on gallery-summary to tagged pages only

GitOrigin-RevId: 48a0e342d403eff34cf47e71208b13af6e3f1cbd
2024-10-24 08:06:20 +00:00
M Fahru
b12236576b Merge pull request #21286 from overleaf/mf-fix-layout-search-margin-top
[web] Remove margin-top on template gallery page without search

GitOrigin-RevId: 91335298b15f403e268f8e506ff373345922188b
2024-10-24 08:06:16 +00:00
Jessica Lawshe
4a10779064 Merge pull request #21311 from overleaf/jel-gallery-images
[web] Fix gallery placeholder not expanding full width while images download

GitOrigin-RevId: 5a943799d87bff967bd635b4dc98158d44569d9c
2024-10-24 08:06:12 +00:00
Jessica Lawshe
91d011e1f2 Merge pull request #21308 from overleaf/jel-back-links
[web] Use standard black link CSS for back links

GitOrigin-RevId: 7b26a9a4635ecbd722920407cd8cf900fc394172
2024-10-24 08:06:07 +00:00
Jessica Lawshe
74a475322e Merge pull request #21273 from overleaf/jel-tag-names
[web] Update popular tag names on dash to reflect new names

GitOrigin-RevId: 76e40103102934c260bca3728af66f28bfcba568
2024-10-24 08:06:03 +00:00
Tim Down
1b2385dfce Merge pull request #21259 from overleaf/td-bs5-editor-search
[BS5] Migrate Editor search panel

GitOrigin-RevId: 37605845d4efc27d6c0c3a11de12387e8e3262f4
2024-10-24 08:05:58 +00:00
ilkin-overleaf
2646fefce4 Merge pull request #21289 from overleaf/ii-bs5-figure-modal-improvements
[web] BS5 fix form text colour

GitOrigin-RevId: 8ff03f41cc3490eff0ea4c65a376ac572003fb9c
2024-10-24 08:05:54 +00:00
ilkin-overleaf
5791563ef0 Merge pull request #21263 from overleaf/ii-bs5-code-color
[web] Fix code tag colour in BS5

GitOrigin-RevId: 694640f33c8a614f470887f16f40f236cc7f9104
2024-10-24 08:05:50 +00:00
ilkin-overleaf
7f35ec9b6a Merge pull request #21260 from overleaf/ii-share-modal-role-dropdown
[web] BS5 share modal role dropdown click

GitOrigin-RevId: bb235564a42e737b0fafb4b6b3f47816440a5402
2024-10-24 08:05:45 +00:00
ilkin-overleaf
5c3d9117c5 Merge pull request #21240 from overleaf/ii-bs5-review-panel-old
[web] BS5 review panel old

GitOrigin-RevId: da018b8f2946afb21ab63da0003453e20781f04c
2024-10-24 08:05:41 +00:00
Davinder Singh
92a23b7e9d Gallery redesign - Making the changes on tagged page to match figma design (#21256)
* Adding max width for gallery-summary

* changin card background color

* removing row from within the card

* matching the padding of gray card with figma design

* removing row and spaced row to avoid extra padding and adding doc-rows-container

* adding grid for templates and removing some old styling

* adding .recent-templates-container to add the padding and margins

* deleting a comment and adding img border radius for the thumbnail

* adding margin-bottom on recent-templates-container

* adding .gallery-tagged-title-container to match the figma padding and then a fix was needed for the width of the filters

* renaming gallery-tagged-title-container to gallery-tagged-container-spacing and re-using it for Related tags container

* making recent heading as heading-xl to match figma

* adding badge styling and its container styling via .gallery-tagged-template-tags-container

* making two classes out of this class .gallery-tagged-container-spacing to add the styling for the h2 heading

* adding margin-bottom to match figma style

* making class generic and using it at multiple places

* removing some extra code

* removing grid styling because after rebase the layout was fixed with col classes

* adding rows back

* adding h2 instead of h3 and making them heading-xl

* adapting some changes after merge conflicts

* removing duplicate classname after rebase

GitOrigin-RevId: d02a0b1e2784fd96d2af2326700829879dacc464
2024-10-24 08:05:26 +00:00
Davinder Singh
11cb7dc24c Gallery redesign - Gallery item page redesign (#21034)
* adding .gallery at top level

* adding styling for heading and buttons

* removing padding under cta-links

* removing find more templates text

* adding field title styling

* adding .details-container for spacing between the content

* adding a colon after field-title

* moving tags styling into badge.scss file to make it more generic to use

* moving section tag one level below to use it as a flex containe for adding gap property

* adding field-description class

* fixing the image width

* adding some padding between the content

* renaming  a file to a more descriptive name

* adding .gallery-abstract class in the scss file

* adding colons in pug file

* adding previous-page-link and its container class

* moving paddings to larger screens only and adding a top margin for mobile screens]

* adding some spacing above tags on mobile view when heading and tags are vertically aligned

* adding styling to the badge and removing extra padding from h1 to match figma

* lint:fix

* swapping position of top-pick and official badges

* adding path and itemPlural

* removing unused top margin

GitOrigin-RevId: a5c9b731b69ecfe2b752015c410e10a0fec2c704
2024-10-24 08:05:21 +00:00
David
d74981775c Merge pull request #21283 from overleaf/dp-keyboard-shortcuts
Add missing keyboard shortcuts to new review panel

GitOrigin-RevId: 78e3a63284b62c90e8a3803bd81fdf273f1a2ec9
2024-10-24 08:05:17 +00:00
David
c872d97295 Merge pull request #21250 from overleaf/dp-resolved-comments-ui
UI tweaks for resolved comments menu

GitOrigin-RevId: 23df6f9f0374277c315d2fb9c9940dd92ec19f4e
2024-10-24 08:05:12 +00:00
David
1c5f5950fa Merge pull request #21208 from overleaf/dp-accept-reject-all-changes
Add options to accept/reject all changes to review tooltip

GitOrigin-RevId: 1cea76926d59d0354c8abaa6ba69b7e99c02fbe0
2024-10-24 08:05:08 +00:00
Domagoj Kriskovic
c4b23b4d39 Add "usingNewReviewPanel" flag in store (#21279)
* Revert "Add isUsingNewReviewPanel flag for writefull (#21111)"

This reverts commit 3491e93ca70fa1db0c751872e233dfebdbe81423.

* add usingNewReviewPanel in store

* fix lint error

GitOrigin-RevId: 56d90a428a2cc45708b8b483dc60a62aae233a85
2024-10-24 08:05:03 +00:00
Antoine Clausse
b2e7477467 [web] Migrate AI Error Assistant to BS5 (#21129)
* [storybook] Rerender story when switching BS3/BS5

* [storybook] Add SCSS loader to storybook

* [storybook] Add some AI error assistant stories

* Rename ai-error-assistant.less to .scss

* Update less variables to sass

* Remove duplicated selector

* Replace react-bootstrap components by `OL...`

* Update Checkboxes after BS5 update

* Add IDs so clicking on labels work
* Add BS5 class name in SCSS

Note: `answer-not-detailed` is used twice in the Radios. I think it's a mistake: there should be another name for the "ai_feedback_the_suggestion_wasnt_the_best_fix_available" radio

* Rename ID `answer-not-detailed` -> `answer-not-best-fix`

* Pass name and value to BS3Radio/BS3Checkbox

* [storybook] Add delay before AI suggestion (shows the animation)

* Add a number after the checkbox/radio IDs, to allow multiple forms to be displayed

Without this, clicks on second form are updating the first form!

Another solution could be to wrap the input in the label, but it comes with other problems. See https://css-tricks.com/html-inputs-and-labels-a-love-story/

* [storybook] Update `LabsAiPromoBanner`

* Use CSS variables instead of hardcoded values

* Make radio input flex

* Replace `blue-10` by `bg-info-03`

* Fix `SuggestFixButton`

* Fix `AiErrorAssistantCopyCode`

* Fix button loading in BS5

* Use OLBadge

* Fix Button variants

* Update `suggestFixAction`

* Migrate Tooltip and Button to BS5 in LabsExperimentWidget

* Update BS3/BS5 button classname in AiErrorAssistantCopyCode

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

* [storybook] Allow to choose props of `LabsExperimentWidget`

* Fixup `OLTooltip`: Display the tooltip on disabled button in BS5

* Update Tooltips to BS5

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 08d594e772c0a3b6db1c6081337cc2d079f478a5
2024-10-23 08:06:36 +00:00
Antoine Clausse
30860ae9f9 [web] Migrate PDF Logs to BS5 (#21062)
* [web] Migrate Logs components JSX to Bootstrap 5

* [web] Migrate logs.less to logs.scss

* [web] Remove unused class names

* [storybook] Define default Bootstrap version in Storybook

This prevents some warning in the console

* [storybook] Update pdf-preview.stories.jsx

* [storybook] Add pdf-log-entry.stories.tsx

* [storybook] Force re-renders when switching BS version

* [web] Keep files dropdown menu in bounds

* [web] Make files dropdown items not bold in BS5

* [web] Revert unrelated change

* [web] Fixup PreviewLogsPaneMaxEntries

* [web] Add style for log-entry-content-link

* [web] Replace log-entry by OLNotification in `PdfCodeCheckFailedNotice`

* [web] Use `BootstrapVersionSwitcher` instead of `isBootstrap5`

* [web] Rename `DropdownBS3` to `BS3Dropdown`

* [web] Reuse variables for `toolbar-height` and `toolbar-small-height`

* [web] Set `id` on `DropdownToggle` not `Dropdown`

* [web] Set `log-entry-btn-expand-collapse` in BS3 only

* [web] Remove `block: true` from StartFreeTrialButton in BS3

* [web] Remove unnecessary CSS in `.log-entry-header-link`

* [web] Use semantic color names

* Migrate the downloadable pdf file list to Bootstrap 5

* Remove nested BootstrapVersionSwitcher, fix "key" prop

* Update roles to: `<li role="menuitem">` `<a role="link">`

* Update `log-entry-header-link`: variant ghost and fix colors

---------

Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 89848970ab5d8a8c135335386caf24363f69a34c
2024-10-23 08:06:32 +00:00
Antoine Clausse
d77ca18b0b [web] Remove dead code: history-content & history-root (#20959)
They are duplicated by:
* services/web/frontend/js/features/ide-react/components/history.tsx
* services/web/frontend/js/features/ide-react/components/history-root.tsx

GitOrigin-RevId: c3f13ea9016530182ae623b06e91a9fdb2be7a87
2024-10-23 08:06:27 +00:00
CloudBuild
388f16169e auto update translation
GitOrigin-RevId: a7a23972ddc8c18eff2e2833ea06572cbce676fc
2024-10-23 08:06:23 +00:00
M Fahru
a0ea00b692 Merge pull request #21108 from overleaf/mf-only-one-container-gallery-redesign
[web] Make sure gallery (tagged and non-tagged) page only have a single `.container` on each page

GitOrigin-RevId: df5272082a7f74dcc4051560692eaf715b49dc37
2024-10-23 08:06:19 +00:00
Andrew Rumble
e75e9c4818 Revert "Send subscription -> salesforce/v1 links to analytics"
This reverts commit 52c02138f9ef8141850e2f8ce16f2bab1e7463b0.

GitOrigin-RevId: 022e828a8e41cc73c4087b94d51fa75dbe6cfdb5
2024-10-23 08:06:11 +00:00
Andrew Rumble
6f3c371435 Revert "Add an endpoint for rails to record salesforce mappings"
This reverts commit fcca974a69217dc885c458543a82b4dcc338d98b.

GitOrigin-RevId: cc7e2561a5f6b4866e5f69f4fb41ffb1bad07bb1
2024-10-23 08:06:06 +00:00
andrew rumble
2486f893eb Add an endpoint for rails to record salesforce mappings
GitOrigin-RevId: fcca974a69217dc885c458543a82b4dcc338d98b
2024-10-23 08:05:54 +00:00
andrew rumble
24b27e3863 Send subscription -> salesforce/v1 links to analytics
GitOrigin-RevId: 52c02138f9ef8141850e2f8ce16f2bab1e7463b0
2024-10-23 08:05:50 +00:00
Jessica Lawshe
2d87fe036d Merge pull request #21272 from overleaf/jel-gallery-categories-images
[web] Update categories images for gallery redesign

GitOrigin-RevId: 4a8afef62af5e873f63ce90f976fe924ba9ecbe9
2024-10-23 08:05:38 +00:00
Rebeka Dekany
200e7a75f0 Merge pull request #21226 from overleaf/rd-history-filetree
Migrate the history file tree to Bootstrap 5

GitOrigin-RevId: bb5443d91992ff7241ed5c8bb467fa553e55bb0f
2024-10-23 08:05:31 +00:00
Alf Eaton
d0b5c2f307 Avoid sending ide-open-view-null-once event (#21247)
GitOrigin-RevId: 2f46fe26561bfa2eca36ad605cdd217514aba09d
2024-10-23 08:05:23 +00:00
Alf Eaton
98bf2ac055 Disable spell check setting when doc is read-only (#21253)
GitOrigin-RevId: 1053fefd953d4f60b1c2aef4170f99c6885c265d
2024-10-23 08:05:18 +00:00
Alf Eaton
baed6cc291 Reapply "Remove spell check languages that are only available on the server (#21056)" (#21257)
* Reapply "Remove spell check languages that are only available on the server (#21056)"

This reverts commit a2273a5ff2eeb5660ae992c41e67b7b936dc4e26.

GitOrigin-RevId: 2dfdf87acdf17db894e921fe754c1520df6f01c1
2024-10-23 08:05:14 +00:00
Mathias Jakobsen
4589a192f6 Merge pull request #20565 from overleaf/mj-zotero-search-groups
[web] Add group searching to Zotero

GitOrigin-RevId: c61994a3d2fd871b644479617921c3282abe07c5
2024-10-23 08:05:06 +00:00
Liangjun Song
902ae750dc Merge pull request #21202 from overleaf/ls-scripts-to-esm-2
Migrate scripts folder to esm 2/x

GitOrigin-RevId: 1698bc4f13e026fa281d37a4914a2f997849c761
2024-10-23 08:04:53 +00:00
M Fahru
f2ec640b06 Merge pull request #21113 from overleaf/mf-gallery-header-text-align-center
Center text for gallery-title, this is useful mainly for mobile view

GitOrigin-RevId: 49db14c627125d2c1e1d1f69173ac918d51f4f91
2024-10-22 08:07:57 +00:00
M Fahru
ca6b5ae4ca Merge pull request #21214 from overleaf/mf-new-gallery-search-result-pagination
[web] Fix pagination in gallery search result

GitOrigin-RevId: 2c34afd7bff2f2a47cc585e68433ac3fa4f16589
2024-10-22 08:07:53 +00:00
M Fahru
0811e46b6c Merge pull request #21067 from overleaf/mf-new-gallery-search-result
[web] Implement new gallery search result

GitOrigin-RevId: afc33a07b5ea533b681acf18bd31112a2f48866a
2024-10-22 08:07:42 +00:00
Jessica Lawshe
c37e6a17fb Merge pull request #21215 from overleaf/jel-redesign-black-links
[web] Consolidate black link CSS on pages using new design

GitOrigin-RevId: cdeccee0586efbf67e656828ed597e4441242edd
2024-10-22 08:07:34 +00:00
Jessica Lawshe
18739d122e Merge pull request #21144 from overleaf/jel-auto-width-mobile
[web] Add options for mobile horizontal column alignment and column gaps on CMS BS5 pages

GitOrigin-RevId: 21cf6e181ea6622b06db73c32a4889327146032c
2024-10-22 08:07:30 +00:00
Jessica Lawshe
96ff76dc43 Merge pull request #21219 from overleaf/jel-tagged-gallery-description
[web] Set a max width for the tag description

GitOrigin-RevId: a1af998ff305805f3e6dfba5ae1b2bff38ab54ba
2024-10-22 08:07:26 +00:00
Jessica Lawshe
620969b606 Merge pull request #21217 from overleaf/jel-title-casing
[web] Use sentence casing on gallery "Templates" filter view header

GitOrigin-RevId: d3926efec4cae91ae86121ef3f6d56bb01799284
2024-10-22 08:07:21 +00:00
Jessica Lawshe
270796ffe8 Merge pull request #21211 from overleaf/jel-cms-remove-deprecated
[web] Removed deprecated CMS list element

GitOrigin-RevId: 9d711a2772b9a179c59ea04d6eaadc2313b8987e
2024-10-22 08:07:13 +00:00
Jessica Lawshe
c00835692b Merge pull request #21148 from overleaf/jel-gallery-categories
[web] Begin "Categories" style update on gallery redesign

GitOrigin-RevId: 4af7da520485c47d54c2a0d004fd53edd7e93cc6
2024-10-22 08:07:09 +00:00
Andrew Rumble
b5cd5bd8fa Revert "[web] Migrate modules/server-ce-scripts to ESM"
GitOrigin-RevId: 61d971396b801e7bb3da1c5af7bd5ea4d91f3c9f
2024-10-22 08:07:04 +00:00
Jessica Lawshe
ab6ee04022 Merge pull request #21102 from overleaf/as-gallery-row-styling
Update Gallery Item styling

GitOrigin-RevId: abe5cc73a3d2ea14bf2e02eefb89ccc4d99c020e
2024-10-22 08:07:00 +00:00
Miguel Serrano
4fd0c41665 Merge pull request #21239 from overleaf/msm-jetty-update
[git-bridge] Update Jetty `9.x` to the latest version

GitOrigin-RevId: b9571ed368c159ee8d7d8f22fefc5c33559f8c6f
2024-10-22 08:06:49 +00:00
Alf Eaton
508ed8ad1d Merge pull request #21251 from overleaf/ae-revert-no-session
Revert "Remove spell check languages that are only available on the server (#21056)"

GitOrigin-RevId: 6f77aa92f1b7d7181cec7d470c8e6604b1e90fe3
2024-10-22 08:06:45 +00:00
ilkin-overleaf
a443713b55 Merge pull request #21230 from overleaf/ii-bs5-review-panel-new-add-comment-button
[web] BS5 new review panel add comment button

GitOrigin-RevId: f08686ca431bac3d3df055afd4468bef94656d9c
2024-10-22 08:06:34 +00:00
Alf Eaton
9fdbd5cfb5 Add state.Prec to editor:extensions export (#21222)
GitOrigin-RevId: b8680926a9885f19ebc9227de678674da1765158
2024-10-22 08:06:29 +00:00
Alf Eaton
6c4fac68ca Use Intl.Segmenter when available for identifying words to spell check (#21225)
GitOrigin-RevId: f261ae331e0b1f87f4e88a512b25c8798f0b02c6
2024-10-22 08:06:25 +00:00
Alf Eaton
04dbb7d2f2 Remove spell check languages that are only available on the server (#21056)
GitOrigin-RevId: cfe10a18af8149327754b3a2e62883c7ebc04bfc
2024-10-22 08:06:20 +00:00
Miguel Serrano
c4edd2fffa Merge pull request #21154 from overleaf/msm-esm-ce-scrits
[web] Migrate `modules/server-ce-scripts` to ESM

GitOrigin-RevId: 8856f83b12d5d092e51e5765763737259c4b3985
2024-10-22 08:05:58 +00:00
David
c7eafd69c2 Merge pull request #21014 from overleaf/dk-review-panel-tc-widget
Add "Track changes is On" button when review panel is closed

GitOrigin-RevId: a165201f611860ba531f2eeb3d89f83a695cd017
2024-10-22 08:05:50 +00:00
Domagoj Kriskovic
64460681b8 Fix delete comment/thread in the new review panel (#21199)
GitOrigin-RevId: 95d4db64d2f837322d84a81cbd129ec02ee135a2
2024-10-22 08:05:46 +00:00
Domagoj Kriskovic
1e16de13bc Fix change and insert range decorations background color (#21131)
GitOrigin-RevId: 4bbc7abdc4c52ea31e26ea3fd8cf43d8c9620d47
2024-10-22 08:05:42 +00:00
Domagoj Kriskovic
c606f04cce Sort track changes and comments in overview mode (#21099)
GitOrigin-RevId: 795d30b56e57970363512170f504ab51bd104c93
2024-10-22 08:05:37 +00:00
Domagoj Kriskovic
332e2a38c9 Fix review panel entry focus handler (#21075)
* Fix review panel entry focus handler

* dont check position

* remove event.target checks

* Revert "remove event.target checks"

This reverts commit 3f511e47b6922260666c6952b692f6f0a29d5912.

GitOrigin-RevId: 9271df9cdb36a040d59a97c88f21d6e923ac0404
2024-10-22 08:05:33 +00:00
Domagoj Kriskovic
94d78e68cd Box shadow on review panel entry hover and focus (#21055)
* Box shadow on review panel entry hover and focus

* fix formatting

* added box-shadow in scss

* css priority

* fix styling lint

GitOrigin-RevId: fdf4ff0fbef6c9a924e83d40703958eb28caaa49
2024-10-22 08:05:29 +00:00
Domagoj Kriskovic
42eea0017d Update track change decoration to be cursor-like (#21047)
* Update track change decoration to be cursor-like

* use red-50 color

GitOrigin-RevId: 8c8a2cb9c6abc99aa1d2dace705dba3feeda07fa
2024-10-22 08:05:24 +00:00
Domagoj Kriskovic
db3c69fbcd Fix review panel header positioning in Firefox and Safari (#20995)
* Fix review panel header positioning in Firefox and Safari

* update scss

GitOrigin-RevId: 5427f91f077104639a72f608c8d7572ab7d08a8c
2024-10-22 08:05:20 +00:00
David
87f714f7c3 Merge pull request #21164 from overleaf/dp-add-comment-keyboard-shortcut
Add keyboard shortcut (cmd+shift+c) for adding a new comment

GitOrigin-RevId: 20359426f45e90b09cbc887bac3096adf1b3141a
2024-10-22 08:05:15 +00:00
David
31154bb9f5 Merge pull request #21065 from overleaf/dp-limit-track-change
Truncate text in a tracked change

GitOrigin-RevId: a3c070f0ca2f51545151934d25a26a10c99b7465
2024-10-22 08:05:11 +00:00
David
efa376f4f4 Merge pull request #21120 from overleaf/dp-overview-entry-gap
Adjust size of gap between review panel entries to 4px

GitOrigin-RevId: a09a6fde0e8eb15e0c753e436a1c09434581d6d8
2024-10-22 08:05:07 +00:00
David
af7e388c41 Merge pull request #21122 from overleaf/dp-rp-hide-edit
Hide edit option for other user's comments

GitOrigin-RevId: 317fa57402dfbe2e949fa7b196cbbe246f88257d
2024-10-22 08:05:02 +00:00
David
a2ea76f19f Merge pull request #21201 from overleaf/dp-toolbar-ui
Style adjustments for add comment tooltip

GitOrigin-RevId: 7fdc008fea4a191ff8bacca9a77e23cd55faac5a
2024-10-22 08:04:57 +00:00
CloudBuild
28f12eeec2 auto update translation
GitOrigin-RevId: c046e9647f5890e8bbc635df756cdfee6eb97110
2024-10-21 08:04:54 +00:00
Liangjun Song
30b5b74f79 Merge pull request #21229 from overleaf/ls-apply-es-specific-rule-to-migrations-and-scripts
apply es specific lint rule to migrations and scripts folder

GitOrigin-RevId: cd307b30a93028273988b9d0ee5727c73f8103b7
2024-10-21 08:04:50 +00:00
Liangjun Song
26f3f3e2e2 Merge pull request #21097 from overleaf/ls-scripts-to-esm-1
Migrate scripts folder to esm 1/x

GitOrigin-RevId: 4a4bc9a161f144fdb40ce3f2a0a9313b36c6df81
2024-10-21 08:04:42 +00:00
ilkin-overleaf
8bc374c916 Merge pull request #21115 from overleaf/ii-bs5-review-panel
[web] BS5 review panel new

GitOrigin-RevId: c65d17d0053858bd74984ba746a620b89d900606
2024-10-21 08:04:37 +00:00
Tim Down
f84b205b4b Merge pull request #21203 from overleaf/td-bs5-nav-overflow
[BS5] Prevent nav items shrinking and therefore wrapping when space is limited

GitOrigin-RevId: ac071863532a779fd99760638bf904ffce4a21fe
2024-10-21 08:04:29 +00:00
CloudBuild
2ae03cc993 auto update translation
GitOrigin-RevId: beee0dc7b92c2ae73eba58991163cd335bc00559
2024-10-18 08:06:09 +00:00
Eric Mc Sween
b2d991d74a Merge pull request #21212 from overleaf/revert-20969-ac-subscription-layout-react
Revert "[web] Set Subscription pages to have `layout-react`"

GitOrigin-RevId: eaf3a651160e278adcb103864c5ea81ea3e35aa7
2024-10-18 08:06:05 +00:00
Antoine Clausse
2c7530a6cf [web] Set Subscription pages to have layout-react (#20969)
* [web] Set Subscription pages to have `layout-react`

* [web] import `header-footer-react` in Subscription pages (!!)

* [web] Add `ol-user` meta tag to the subscription pages (!!)

⚠️ invite_logged_out.pug should be updated instead of setting the user as `{}`

* [web] Fix unit test

* [web] Update User types to handle a logged out user, add `LOGGED_OUT_USER` const

* [web] Add type `User` to `getSessionUser`

* [web] Remove `LOGGED_OUT_USER` const

* [web] Just pass `{ id: null }` as the user

* [web] Remove comment in pugs, it breaks things

* [web] Don't pass the full user to the frontend!!!

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 1768f1f13de924a18be43c1a08614000500dcbec
2024-10-18 08:05:53 +00:00
Alf Eaton
1b2f5af1c0 Display current spell check language and option to change it (#21138)
GitOrigin-RevId: 87cf140a7e3e719125eb6d2df23d6c6bd6631fe8
2024-10-18 08:05:48 +00:00
Alf Eaton
b5015b82c2 Move Hotjar to the editor page (#21132)
GitOrigin-RevId: efb2c7841af76084566341b6c5f0afac9a965331
2024-10-18 08:05:43 +00:00
Alf Eaton
620f31d6a6 Restore singleton pdfCachingTransportFactory (#21194)
GitOrigin-RevId: 3c1d71ba4fdd07f0774534fbe3a99b2d47dfa962
2024-10-18 08:05:39 +00:00
Alf Eaton
3b354462a7 Restore MaterialSymbolsRoundedSlice font (#21130)
GitOrigin-RevId: 15ca2ba4d5afd4fcc02d11220905166abbe30dd5
2024-10-18 08:05:34 +00:00
Alf Eaton
978ef6bd92 Enable remaining client-side dictionaries (#21192)
GitOrigin-RevId: da45ae4a93e99a0bb720e09a37c8e291c057cab9
2024-10-18 08:05:29 +00:00
Jessica Lawshe
4f9a056bea Merge pull request #21146 from overleaf/jel-begin-card
[web] Spacing adjustments around "\begin {now}" card on gallery and blog

GitOrigin-RevId: 822a91bb156222b61cbf671d78522fc942d4e5b4
2024-10-18 08:05:17 +00:00
Thomas
febc4b6438 Merge pull request #21049 from overleaf/tm-web-unhandledrejection
Add unhandledRejection handler when catchErrors is true

GitOrigin-RevId: 7ec1512a8705e6f7cf6480b70427f5bf5d1438b4
2024-10-18 08:05:04 +00:00
M Fahru
e782ba2fee Merge pull request #21083 from overleaf/mf-new-blog-add-shadow
[web] Add box-shadow to every video in all blog pages

GitOrigin-RevId: b2d3180dd44cdc59845049a5d326b83209572078
2024-10-17 08:07:25 +00:00
M Fahru
317aedd929 Merge pull request #21082 from overleaf/mf-blog-new-image-rounded
[web] Add border-radius to every image inside .blog-content (blog post page) and `.blog-content-preview` (blog list page)

GitOrigin-RevId: 6f805513504b1e4468862018e6f62070a8adcfe0
2024-10-17 08:07:20 +00:00
M Fahru
f1859afc4b Merge pull request #21081 from overleaf/mf-blog-read-more-spacing-top
[web] Update spacing between blog preview and "read more" link in blog list page

GitOrigin-RevId: ee9184017f0862fac849d9ca2c4f6bcabdad5bff
2024-10-17 08:07:16 +00:00
M Fahru
69e63f2c74 Merge pull request #21060 from overleaf/mf-fix-question-mark-login
[web] Add a missing question mark from a sentence in login page

GitOrigin-RevId: d222a5ecab8dae0e95bd25f9607e7c8071daba90
2024-10-17 08:07:11 +00:00
M Fahru
be43bd2d20 Merge pull request #21019 from overleaf/mf-new-gallery-search-style
[web] Implement the new gallery search form style

GitOrigin-RevId: e9986344ac554a45c20e61454f2e20997a8e741a
2024-10-17 08:07:07 +00:00
M Fahru
0e41f8cf4c Merge pull request #21110 from overleaf/jel-cms-containers
[web] Remove extra horizontal padding on CMS pages

GitOrigin-RevId: 8f6a768ab8f3a4206ad14045cd75ed33aa335dd4
2024-10-17 08:07:02 +00:00
M Fahru
2f762838e7 Merge pull request #21109 from overleaf/jel-contact-form-labels
[web] Use sentence case for labels on CMS sales contact forms

GitOrigin-RevId: 119eb9cf9db8932de369ce56b9ed2494a72a1ea3
2024-10-17 08:06:58 +00:00
M Fahru
ad745e5dc8 Merge pull request #21058 from overleaf/as-gallery-back-link
Add back link to all gallery items

GitOrigin-RevId: 083b61f6cb95426184b3d2a2b9e2353efe1108a2
2024-10-17 08:06:53 +00:00
M Fahru
72b1954939 Merge pull request #21026 from overleaf/as-gallery-begin-card
Move begin_now_card mixin to generic location and add to template gallery

GitOrigin-RevId: 6167e7063ecb18b9465613c0a25bbbdd83b5727a
2024-10-17 08:06:49 +00:00
M Fahru
518920c129 Merge pull request #20855 from overleaf/as-web-visited-color
Update link-web-visited colour in BS5

GitOrigin-RevId: dba27c51c3a53b0f14a9bf704f0f5b9a503db66d
2024-10-17 08:06:44 +00:00
Andrew Rumble
ad9c0446e2 Changes to support converted features
GitOrigin-RevId: 5f46cbf77c6f814820231b9cbfab9906dab6270d
2024-10-17 08:06:22 +00:00
Andrew Rumble
2bfb55a305 Update tests
GitOrigin-RevId: 9272720e0f6865c54257c43bd98d8e6003251aa2
2024-10-17 08:06:17 +00:00
Andrew Rumble
9490251251 Update acceptance tests
GitOrigin-RevId: cf8bc3f86ccff15df8e20ceda6842dad8538d5e3
2024-10-17 08:06:13 +00:00
Andrew Rumble
c6c62088cc Migrate Features to ES modules
GitOrigin-RevId: 4e9d3176b4b5a5504afc102e569a27d7788864a3
2024-10-17 08:06:08 +00:00
Alf Eaton
fac23dbbdc Merge pull request #20982 from overleaf/ae-font-folders
Organise and update web fonts

GitOrigin-RevId: f82a695bd7a4d16e4df83c2a297bf7d2393914a8
2024-10-17 08:05:59 +00:00
Alf Eaton
a238b8eee4 Use ol_spell_check_language tag for error reporting (#21126)
GitOrigin-RevId: 11580f8dca22b0d4858dc5db36827b69a3637371
2024-10-17 08:05:55 +00:00
Tim Down
17b66e495f Merge pull request #21028 from overleaf/td-bs5-history-header
Migrate history header to Bootstrap 5

GitOrigin-RevId: de875cc698b0892d87d6f120131fc7fc3dc24e51
2024-10-17 08:05:50 +00:00
Tim Down
76f8680db0 Merge pull request #21013 from overleaf/td-bs5-history-document-diff-viewer
Migrate document diff viewer to Bootstrap 5

GitOrigin-RevId: 361e6398a09a5ec5c48aced02f27d9896567b539
2024-10-17 08:05:45 +00:00
Davinder Singh
43965828c8 Merge pull request #21027 from overleaf/ds-gallery-redesign-no-articles-found-3
Gallery redesign - Updating the tagged page with no articles found

GitOrigin-RevId: dfddfa29c84520093a35fec5017b4ad09634b617
2024-10-17 08:05:41 +00:00
Davinder Singh
75aa3764ea CMS BS5 Migration - Migrating about.less to about.scss (#20783)
* copying the styling from about.less into about.scss

* adding closest spacing available in BS5

GitOrigin-RevId: c4470ab1972762a025a42d581a6dee3c28ba7e2d
2024-10-17 08:05:36 +00:00
Miguel Serrano
a753d3c1d9 Merge pull request #21114 from overleaf/msm-add-missing-test-base
[web] check `web/test` folder on `esm-check-migration.js`

GitOrigin-RevId: 0665f208664fc969932d627c994d986c2f97d51a
2024-10-17 08:05:32 +00:00
Andrew Rumble
d2e6608f01 Convert export_institution_chat script to ES module
GitOrigin-RevId: 8570922654049edb514f8091421e5be2f04988cd
2024-10-17 08:04:59 +00:00
Miguel Serrano
bafda84420 Merge pull request #21072 from overleaf/msm-cleanup-post-labels
[project-history] Cleanup POST /labels

GitOrigin-RevId: 129f83ab72e4a9cd6f0f5fd7935fafa813ead919
2024-10-16 09:35:48 +00:00
Alf Eaton
d8ce066898 Allow selection of spell-check languages that are only supported in the client-side spell checker (#21053)
GitOrigin-RevId: 3bff6c14ee4c3cbf322c00ac29d23b60d89737bc
2024-10-16 09:35:43 +00:00
Andrew Rumble
e0dba75b81 Convert top level acceptance tests to ES module
GitOrigin-RevId: ab45010ec557d62576c470d2e024549e67261c66
2024-10-16 09:35:34 +00:00
Alf Eaton
4f0b860cf6 Use spelling server for Norwegian (#21069)
GitOrigin-RevId: 2188f0e144df60c9aecd4ca728bd186234659645
2024-10-16 08:05:18 +00:00
Andrew Rumble
ad5e818420 Set importedAt date test into the past
GitOrigin-RevId: 535bbd72a7b72298367aa4da2e98de5542c53f30
2024-10-16 08:05:10 +00:00
Miguel Serrano
cc0ce638b7 Merge pull request #21051 from overleaf/msm-esm-migration-history-v1
[web] Migrate `modules/history-v1` to ESM

GitOrigin-RevId: db1f5485ea268a6a9f62efd3183e16920505bfda
2024-10-16 08:05:02 +00:00
Andrew Rumble
3f0cf84318 Convert scripts that use institutions module
GitOrigin-RevId: d5819904f746c04fdb63971af93e8f8cc6f9fda8
2024-10-16 08:04:52 +00:00
Andrew Rumble
e60297bd04 Convert refresh_features to es module
GitOrigin-RevId: c3fd7ec4c0f3ce5560f6a8b4e3fff1d2eec5c4ab
2024-10-16 08:04:41 +00:00
Jakob Ackermann
fab69a16c4 Merge pull request #20979 from overleaf/jpa-handle-error
[project-history] gracefully handle errors when loading Changes

GitOrigin-RevId: 214fadb3c779551ea90f38b0fdf77c58ed5df178
2024-10-15 08:05:15 +00:00
Jakob Ackermann
663f6605d7 Merge pull request #20978 from overleaf/jpa-fix-unit-tests
[project-history] fix unit tests for processing updates

GitOrigin-RevId: ce87296b9b97dcfd7598fbf25b3066b7c145fb6f
2024-10-15 08:05:10 +00:00
Andrew Rumble
d711d35466 Add a rule to catch commonjs code in es modules
GitOrigin-RevId: 7c8efb2b53e981ad32140bcfbeb0f81270936337
2024-10-14 11:11:09 +00:00
Tim Down
4138f9707a Merge pull request #20860 from overleaf/td-bs5-history-versions-list
Migrate history versions list to Bootstrap 5

GitOrigin-RevId: 4e006ad353cb11eadaefb2df41d2b8591003c664
2024-10-14 11:11:01 +00:00
Liangjun Song
8c342dc226 Merge pull request #21011 from overleaf/ls-serve-static-wrapper
add a wrapper for serve static to handle premature close error

GitOrigin-RevId: 8128702d9340a893624061d07bf0da15ea457f43
2024-10-14 11:10:56 +00:00
CloudBuild
3be3bf9037 auto update translation
GitOrigin-RevId: ec081b5515838883c0cfd3588224ed13265ed7ad
2024-10-14 11:10:52 +00:00
Jimmy Domagala-Tang
e5ead5b42c Merge pull request #20983 from overleaf/jdt-wf-auto-account-create
Auto create Writefull accounts

GitOrigin-RevId: 2b03cd5bc1392c43d7682833d80f840b4da314f2
2024-10-14 11:10:47 +00:00
Brian Gough
4920af44b0 Merge pull request #20679 from overleaf/bg-issue19022
Move flush_all_projects endpoint in document-updater into script

GitOrigin-RevId: cb774d860b5928b7fece1a8e21b0b76aecae73ff
2024-10-14 11:10:42 +00:00
Jimmy Domagala-Tang
d002c25ed1 Merge pull request #21009 from overleaf/jdt-fix-assistant-plan-naming
Set Assist

GitOrigin-RevId: 0da509cbebd833da0d2dac648bce988191279c99
2024-10-14 11:10:37 +00:00
Jimmy Domagala-Tang
1426525e8d Merge pull request #20848 from overleaf/jdt-hide-wf-in-settings-from-no-ai
hiding wf in settings from users with a blocking policy

GitOrigin-RevId: 8d640a53d7bbbcd809604f07bbd4bb0ab6939c03
2024-10-14 11:10:33 +00:00
M Fahru
3e5f9517c8 Merge pull request #20904 from overleaf/mf-gallery-title-new
[web] Implement new gallery header

GitOrigin-RevId: 20a9463dbaa3a94d601a2540fd60767b3a96b2a5
2024-10-14 11:10:28 +00:00
M Fahru
1582b40b74 Merge pull request #20902 from overleaf/mf-filter-navigation
[web] Gallery filter navigation redesign

GitOrigin-RevId: 0b9b0ed5d70dc4ab3956465d7669636143108d86
2024-10-14 11:10:23 +00:00
Alf Eaton
1327d536a3 Use the whole Hotjar snippet (#21017)
GitOrigin-RevId: 3935d671bdf5299b720f319fd7d8c6879d1819b9
2024-10-14 11:10:18 +00:00
Liangjun Song
51b46f3909 Merge pull request #20996 from overleaf/ls-proper-error-for-wrong-git-url-format
proper error message for wrong git url format

GitOrigin-RevId: a6278850c2eca7e85c2526135d1c769fcbe94729
2024-10-14 11:10:14 +00:00
Domagoj Kriskovic
e00831761a Fix "update in progress" error when removing highlight ranges (#21024)
GitOrigin-RevId: 025e69f10b6010fe978ac57838ae17c113358633
2024-10-14 11:10:09 +00:00
Davinder Singh
ba0de4f1e9 Gallery redesign - Top pick cards section on tagged page redesign (#20924)
Top pick card design on tagged gallery page

GitOrigin-RevId: fcc3633c8a99961ce97639c50b89b4221e40089e
2024-10-14 11:10:04 +00:00
Rebeka Dekany
d71f82b1fa Merge pull request #20880 from overleaf/ii-bs5-submit-modal
[web] BS5 submit modal

GitOrigin-RevId: 1c66b3874844d9bdbe129acd18480af6e6e0ef6e
2024-10-14 11:10:00 +00:00
Rebeka Dekany
f590d6d9a2 Merge pull request #20807 from overleaf/rd-ide-resizer
Migrate the editor resizer and SyncTeX button styles to CSS

GitOrigin-RevId: 94aec89f6f7b9e14d74d1c52111c13075e82ddaa
2024-10-14 11:09:55 +00:00
Tim Down
c817c5ed98 Merge pull request #20667 from overleaf/td-bs5-always-enabled-option
Add option to always enable BS5 for a particular page

GitOrigin-RevId: f338c4f4be87aae1a2a239a2b36b738616aabaed
2024-10-14 11:09:50 +00:00
Alf Eaton
ecb94d6525 Improve spellcheck error handling and types (#21012)
GitOrigin-RevId: 0227122154f139401793aae2c8ca9c9960fe5e98
2024-10-14 11:09:46 +00:00
Rebeka Dekany
0131178491 Merge pull request #21002 from overleaf/rd-icon-updates
[web] Material icon changes in toolbars

GitOrigin-RevId: f0a36b2f0c2bc56a7fccfe6491ea4538a997c486
2024-10-14 11:09:41 +00:00
Rebeka Dekany
5b6bbcb73c Merge pull request #21008 from overleaf/rd-editor-errors
[web] Migrate notifications and error boundaries on the editor page

GitOrigin-RevId: c195ecf0dd9e38ec8326c823174e559e1f192ce1
2024-10-14 11:09:36 +00:00
Rebeka Dekany
f8efc3e2ae Merge pull request #20740 from overleaf/rd-ide-offcanvas
[web] Implement the editor's left menu in Offcanvas

GitOrigin-RevId: 999e995d664b1dc958f56643f05e95b8aa2d6290
2024-10-14 11:09:31 +00:00
Alf Eaton
7a26d46d7c Add Hotjar script to the home page (#20758)
GitOrigin-RevId: b7fdb904702d84058c2e3519b17376083ee9cad7
2024-10-14 11:09:26 +00:00
Alf Eaton
b81472329e Use cls for documentclass completion type (#20981)
GitOrigin-RevId: 938eaac212c7e08600db111563094c0447fafb9b
2024-10-14 11:09:21 +00:00
M Fahru
86215df923 Merge pull request #20944 from overleaf/jel-blog-spacing
[web] Update blog vertical spacings to match Figma

GitOrigin-RevId: ef3ad8ba3228134343fcf58ae0ce1b91d6d94860
2024-10-14 11:09:17 +00:00
Jimmy Domagala-Tang
27fb9aadf3 Merge pull request #20937 from overleaf/jdt-ai-addon-grants-feat
Grant feature access to users purchasing the ai add-on

GitOrigin-RevId: a4183beab957e4d0c362c8f0978be395b86ce398
2024-10-14 11:09:09 +00:00
Jimmy Domagala-Tang
aa9a246346 Merge pull request #20571 from overleaf/jdt-ai-addon-personal-upgrade
Enable purchasing an AI add-on for users on a monthly collaborator plan

GitOrigin-RevId: 988547bf6f01f7c1477191dd202df4448e376e5f
2024-10-14 11:09:04 +00:00
David
438192fc11 Open review panel current file view when clicking add comment tooltip (#20891)
* Remove need for custom set-review-panel-open event

* Open current file view when clicking add comment tooltip

---------

Co-authored-by: Domagoj Kriskovic <dom.kriskovic@overleaf.com>
GitOrigin-RevId: 2b21061193f4270030d73174014aabbd017fd38e
2024-10-14 11:08:56 +00:00
Domagoj Kriskovic
4a3eed35d6 Fix accept changes request for new review panel (#20956)
* Fix accept changes request for new review panel

* Implement pessimistic UI updates for new review panel (#20986)

* Implement pessimistic UI updates for new review panel

* deleteThread, reopenThread handlers

* use finally

* handleSubmit in useCallback

GitOrigin-RevId: 358181a6b5601ad1b3579e001564dfa4da67a81d
2024-10-14 11:08:44 +00:00
David
42a199043a Skip ReviewPanelEntry focus event if target is anchor element (#20928)
GitOrigin-RevId: e6ad0ca7c03de2ef176b6328c27dd0afa10bd102
2024-10-14 11:08:39 +00:00
David
def2f7f4fd Move divider into overview-file component so that they don't render if file doesn't (#20882)
GitOrigin-RevId: fef584609fa06e6313323c27bc6f9ab9b9a6c815
2024-10-14 11:08:30 +00:00
David
b1d1432183 Update add comment tooltip to match new designs (#20913)
* Update add comment tooltip to match new designs

* Rename AddCommentTooltip to ReviewTooltipMenu

* Split off add-comment-button specific padding

GitOrigin-RevId: 12a69b13b52b007eb97ba7ad6f290e3a98d741cd
2024-10-14 11:08:26 +00:00
Alf Eaton
9ba6a6a042 Update modified tracked changes in the React state (#20877)
GitOrigin-RevId: d3b17908aa43d99b6e46550f2de77186f9d7b86d
2024-10-14 11:08:21 +00:00
Mathias Jakobsen
ee2e95ec01 Merge pull request #20987 from overleaf/mj-write-and-cite-settings-icons
[web] Add setting icons to Write and Cite section headers

GitOrigin-RevId: 18e5eefeb1271d17812b83f152e4d464a66185f8
2024-10-14 11:08:09 +00:00
Jakob Ackermann
7f6c2afc92 Merge pull request #20980 from overleaf/jpa-extend-create-project
[web] scripts/create_project: fix and extend

GitOrigin-RevId: 4df41d02138a2214c83e7237794995d534e3c603
2024-10-14 11:08:04 +00:00