Commit graph

644 commits

Author SHA1 Message Date
M Fahru
c71bf25363 Show admin email in enrollment page accessed via dashboard notification and email invitation.
GitOrigin-RevId: 4589a276a1b7db2ba0a5da2c06bde797ba8d0b65
2023-08-11 08:04:05 +00:00
M Fahru
a3e30c0a39 Merge pull request #14178 from overleaf/mf-admin-email-managed-group-alert
Add managed group admin email inside managed group alert on the subscription page & team invite page warning

GitOrigin-RevId: 00929008170ef9302ddcbbf10aefd76f95e189a8
2023-08-10 08:05:04 +00:00
Alexandre Bourdin
56992dcd49 Merge pull request #14202 from overleaf/ab-managed-users-terms-conditions
[web] Add a terms and conditions step when enabling managed users

GitOrigin-RevId: 0a30898d9ed53fdfbdf630605d1d8c952e7de9b0
2023-08-10 08:04:31 +00:00
Thomas
6a9c9652f9 Merge pull request #14007 from overleaf/tm-subscription-active-until-trial-ends
Show cancelled subscription will remain active until end of trial

GitOrigin-RevId: 277f477dc95869ff61cbb48cb2033ec55db3cf52
2023-08-09 08:04:28 +00:00
Mathias Jakobsen
c332a65eb0 Merge pull request #14105 from overleaf/mj-table-generator
[visual] Initial table generator

GitOrigin-RevId: 5c1a9cad898c988d21390358872a6c2eaf1c32fc
2023-08-09 08:04:15 +00:00
CloudBuild
f3699dff83 auto update translation
GitOrigin-RevId: dd0dc0454e588c708c69ca9c64b2332cf5dea445
2023-08-04 08:04:50 +00:00
CloudBuild
78fb4f8d2f auto update translation
GitOrigin-RevId: b8a5d9dc38c680de5fafc51d2df67b3502223044
2023-08-01 08:04:20 +00:00
Rebeka
eb84d08d64 cleanup unused locale
GitOrigin-RevId: 372ee94faeed6d03555d6fa91f63b1bd908d042a
2023-08-01 08:04:16 +00:00
Rebeka
9edee57321 update translation for the geo green banner
GitOrigin-RevId: 325a520f77a0d434cf81442cc67b2a65580515fc
2023-07-26 08:04:48 +00:00
Tim Down
3aa0fcf464 Merge pull request #13934 from overleaf/tm-block-subscriptions-restricted-countries
Block web sales to restricted countries

GitOrigin-RevId: 47c0ac1d5dc387369bbadb67f5822d7fc6637d98
2023-07-25 08:03:59 +00:00
M Fahru
42cffc8862 Merge pull request #13835 from overleaf/mf-add-tos-sso
Add terms notice to institutional SSO registration flow

GitOrigin-RevId: 875c6dbd7d0a78faedf6580fbaec863c5890d0f2
2023-07-21 08:05:28 +00:00
Davinder Singh
f742b13398 Admin Panel - Resync button missing functionality in history status row in Project info page (#13826)
GitOrigin-RevId: c5e2073df79c8e91e387c9785e2db1b6e67a5f4e
2023-07-21 08:05:17 +00:00
CloudBuild
8c12bedb92 auto update translation
GitOrigin-RevId: 95f57ebc6d6607bd667d393daee7d13b7aec2100
2023-07-21 08:05:06 +00:00
Jakob Ackermann
37b42fc20b Merge pull request #13977 from overleaf/jpa-translations-fixes
[web] translations fixes

GitOrigin-RevId: 526560b35fad6e005ab653b5b45cdf84255af686
2023-07-21 08:04:27 +00:00
Jakob Ackermann
f010acb135 Merge pull request #13944 from overleaf/jpa-i18n-cleanup
[web] fix or delete locales with mismatching variables

GitOrigin-RevId: f80d2179c5c9214b27c86d7908c5d9af64fac830
2023-07-21 08:04:01 +00:00
Jakob Ackermann
b6e514d790 Merge pull request #13937 from overleaf/jpa-de-translations-fix
[web] fix a few German translations

GitOrigin-RevId: dfca68df8ec80771fa81f92231e3d99fd6fda920
2023-07-21 08:03:57 +00:00
Jakob Ackermann
8fe3f33ef4 Merge pull request #13926 from overleaf/jpa-de-translations-gla
[web] improve coverage of German translations

GitOrigin-RevId: 1480867fe18a9c0e2b574821251854634d62cfa4
2023-07-21 08:03:53 +00:00
CloudBuild
d3e0e0a20e auto update translation
GitOrigin-RevId: aa8f7c7dd080872c7c76fa43972502f4ceb4c2c5
2023-07-20 08:05:24 +00:00
CloudBuild
a472f90e4e auto update translation
GitOrigin-RevId: 3f1115fb8fab20d2fedc673dad1429ed77ffa88a
2023-07-20 08:05:20 +00:00
Mathias Jakobsen
daad35a576 Merge pull request #13954 from overleaf/mj-danish-fix-typo
[web] Fix small typo in danish translation

GitOrigin-RevId: 1525b4c9bacbc4c8b8d259895c2bfacf1c4173de
2023-07-20 08:04:35 +00:00
Mathias Jakobsen
a702d00477 Merge pull request #13191 from overleaf/mj-translate-danish
[web] Add missing danish translations

GitOrigin-RevId: e430238b498100e2ccb50aff443b9b28f22368b6
2023-07-20 08:04:26 +00:00
CloudBuild
f1082286f4 auto update translation
GitOrigin-RevId: 05d4fe4db8111cbe813f21c53594824f77182bf8
2023-07-19 08:05:07 +00:00
Alf Eaton
05165682ba Update "Visual Editor not available" message (#13874)
GitOrigin-RevId: 5516bf74d1fa9046f4ca4b5d6c23d3a3b8e468f5
2023-07-19 08:04:44 +00:00
Jakob Ackermann
5f0c551626 Merge pull request #13344 from overleaf/jpa-de-translations
[web] improve coverage of German translations

GitOrigin-RevId: 44bba559cba1ac3299b5efbc9f8287efc95279de
2023-07-19 08:04:05 +00:00
Jakob Ackermann
c88b172bb2 Merge pull request #13331 from overleaf/jpa-translate-templates
[web] translate all the things on the gallery pages (to German)

GitOrigin-RevId: b43db3f4d4bee34b066ca2e5574cecccb88d49a1
2023-07-19 08:04:01 +00:00
Jakob Ackermann
d212be408f Merge pull request #13337 from overleaf/jpa-translate-plans-page
[web] translate all the things on the plans page (to German)

GitOrigin-RevId: cbd812a4eca41573986c2d9e4f5e37b3d5a49e4f
2023-07-19 08:03:57 +00:00
Rebeka
38d1e749fb Update translation for the annual plan
GitOrigin-RevId: 3a7e42f61f7820221df3be3c8bd4cd1738b5cb46
2023-07-17 11:12:17 +00:00
June Kelly
5dfe026123 Merge pull request #13864 from overleaf/bg-bugfix-admin-add-managers-copy
fix copy on group admin page

GitOrigin-RevId: 79ce52c36f4bc15663bae5ca914c2c693a28ee1c
2023-07-17 11:11:06 +00:00
June Kelly
bf92436e6f Merge pull request #13505 from overleaf/bg-group-policy-meta-tags
hide restricted elements for managed users on settings page

GitOrigin-RevId: be8679957eb5185d8b91d29e5a787c837684c314
2023-07-17 11:10:46 +00:00
June Kelly
4f8852feaa Merge pull request #13850 from overleaf/ab-invite-enrollment
[web] Managed users - combined invite/surrender flow

GitOrigin-RevId: 70cb0d81e0019eac69a4a565377447bb6d1a1823
2023-07-17 11:10:37 +00:00
CloudBuild
7418e5948b auto update translation
GitOrigin-RevId: 1a90bb5f0add838dc47f925ddcf52f6b14fd03ab
2023-07-17 11:10:18 +00:00
Thomas
e704afdcca Merge pull request #13804 from overleaf/tm-geopricing-inr-banners
Implement split test for new INR geo-pricing banners/modal

GitOrigin-RevId: 06fbcf70b7ee90b9b365ac96c1fa0373cbe60847
2023-07-17 11:09:44 +00:00
Tim Down
49eafa2712 Merge pull request #13604 from overleaf/jk-managed-users-offboarding-ui
[web] Managed Users offboarding UI

GitOrigin-RevId: ee4a1ae7cdb0022839ef232836ef6933443400fc
2023-07-17 11:08:52 +00:00
CloudBuild
c806aaa5b6 auto update translation
GitOrigin-RevId: c611caa2319efdba6bcfa09a01b3556c5cf4e021
2023-07-17 11:08:11 +00:00
M Fahru
c8b13102c8 Revert Tw reference manager access (#13854)
This reverts commit 85232c1559c6d2068effec50e31b8fa30bf53c89.

GitOrigin-RevId: 32475f6aabaa4f8f2f8e042d62ff07420fb32c9f
2023-07-17 11:07:45 +00:00
ilkin-overleaf
dbef201e3f Merge pull request #13801 from overleaf/ii-review-panel-migration-upgrade-track-changes-modal
[web] Create upgrade track changes modal

GitOrigin-RevId: 704ddef862ea9a2f8ca2bf63880da6e88f783724
2023-07-17 11:07:16 +00:00
Tyna William
3297506021 Revert "Revert "Tw reference manager access"" (#13825)
* Revert "Revert "Tw reference manager access""

This reverts commit 55f3512f254e136d8a239bb5d9ca39f0d04720fd.

* added conditional to check whether file linked data exists

* created new translation key for refresh error

* Fix for misleading reference manager access error to ensure users are aware only original importer of reference file can refresh it. If original importer, then user is prompted to relink provider account. Previous PR and conversation #13618.

GitOrigin-RevId: 85232c1559c6d2068effec50e31b8fa30bf53c89
2023-07-17 11:06:48 +00:00
Rebeka
fdeb36c2c2 Tear down student status check test
GitOrigin-RevId: 5afff525e6748621790fcdc986541363fe19e1e8
2023-07-17 11:01:37 +00:00
Thomas
c1ec3044d7 Add geo-pricing split test for enabling LATAM currencies (#13663)
* Implement LATAM geo-pricing split test

* Hide Paypal if currency is one of INR, COP, CLP, PEN

* Only send the LATAM/INR banner events when banner is rendered

* Workaround in Subscription dashboard for CLP not having minor units

GitOrigin-RevId: a677086a7762900563558126d2f81a4c57bbe9d7
2023-07-17 11:01:10 +00:00
Davinder Singh
9e8e124113 Merge pull request #13591 from overleaf/ab-account-enrollment
[web] Managed users - account enrollment

GitOrigin-RevId: 6fc9ef8c44394eb92d3afd2022433b0b6d508503
2023-07-17 10:59:02 +00:00
Alf Eaton
d044899a28 Merge pull request #13763 from overleaf/revert-13618-tw-reference-manager-access
Revert "Tw reference manager access"

GitOrigin-RevId: d520234bd125f734037afa5208b4ad09e8f6e124
2023-07-17 10:55:36 +00:00
Tyna William
840f56f330 Merge pull request #13618 from overleaf/tw-reference-manager-access
Tw reference manager access

GitOrigin-RevId: e4554f2fcfd0aa9193497daae3ac1da18629d0de
2023-07-17 10:55:26 +00:00
CloudBuild
33d756ca5a auto update translation
GitOrigin-RevId: 413476d97d879f4bf19502a09f201034f6177a49
2023-07-17 10:52:35 +00:00
Alf Eaton
b2014601b2 Remove Fine Uploader (#13637)
GitOrigin-RevId: e1e65160ad4a9c1d45a8f4a4a2e4c17730f9dda3
2023-07-17 10:51:33 +00:00
M Fahru
afbd143f0f Remove unused code and translation locales from old subscription pages (#13646)
* Remove unused code from old subscription pages.

* Remove unused translation locales from old subscription pages.

GitOrigin-RevId: abf99373188bafa90f4900a358a30b4cc8a433d1
2023-07-17 10:48:45 +00:00
Rebeka
8cd9b4051c add split test variant for the registration and login page
GitOrigin-RevId: bdaab96937b9f3cd53545b4a4eb9a3bd634a056e
2023-07-17 10:47:18 +00:00
Domagoj Kriskovic
17452b51d7 [cm6] Add toolbar to Source Mode for Beta users (#13429)
* [cm6] toolbar for source mode

* top:0 for new toolbar

* empty div for extensions

* fix legacy css top pos

* show source toolbar split test

* prettier

* show beta icon in source editor

* dropdown toolbar wip

* fix wrong conflict resolve

* math dropdown, chrome extension fixes

* math dropdown cleanup

* sort en.json

* fix sort en.json

* using isVisual

* getMeta in component, pug update

* using flex grow

* toolbar beta badge

* remove extra whitespace

* has-legacy-toolbar class

* Increase container size

* fix tests

* prettier

* styling fixes, using SplitTestBadge

* only show source toolbar if flag is set

* fix typo

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 34b01a9421f4a0d6defc40925c5092901575946e
2023-07-17 10:46:26 +00:00
June Kelly
a14e2aecfb Merge pull request #13483 from overleaf/jk-managed-users-group-management-ui
[web] Managed Users: Update Group Member Management UI

GitOrigin-RevId: 6896951927f0e3220db59dda208d7cfe9c6c309e
2023-07-17 10:46:16 +00:00
Mathias Jakobsen
c3a2786d82 Merge pull request #13570 from overleaf/mj-twitter-login
[web] Deprecate twitter login

GitOrigin-RevId: a1e81463b652239b780587976a96b65a8c6827f1
2023-07-17 10:45:58 +00:00
Alf Eaton
29f67a3985 Merge pull request #13525 from overleaf/jpa-teardown-compile-domain-test
[web] start tear down of split test for new compile domain

GitOrigin-RevId: 405bba924a37f56614b0744f47914306f420a028
2023-07-17 10:43:01 +00:00
Alexandre Bourdin
2ef48be496 Merge pull request #13448 from overleaf/ab-sub-dash-wording-changes
[web] Wording changes on the subscription dashboard buttons

GitOrigin-RevId: 9b5be3a39b2a4c6f92041aab1478f8a87e3a74cf
2023-07-17 10:41:51 +00:00
Alexandre Bourdin
39bc601826 Merge pull request #13482 from overleaf/ab-group-settings-page
[web] Group settings button and page enabled based on env var

GitOrigin-RevId: 77574a3705b3f1301935b72010022af61f7fe552
2023-07-17 10:41:41 +00:00
Domagoj Kriskovic
2ab0779374 [cm6] rename to Code Editor | Visual Editor (#13513)
* [cm6] rename to Code Editor | Visual Editor

* showLegacySourceEditor change

* show info badge

* remove info badge

* display info badge

* use "Visual Editor" in example project

GitOrigin-RevId: 549e25aa4bcfe58522eadc70e35ca35f822317b1
2023-07-17 10:39:10 +00:00
CloudBuild
d037c006aa auto update translation
GitOrigin-RevId: f00aaeb580c33a85faebaae8df609f89cde62b5f
2023-07-17 10:38:12 +00:00
M Fahru
0a22412d31 Improve error message when users try to import empty github repo (#13334)
* Improve error message when a user is trying to import an empty repo with github

* Only show GitHub organization footer link after the user is successfully connected to github

This link should only be shown for users that have some of their repos missing because of their organization's access restriction

See this ticket for more detail: https://github.com/overleaf/web-internal/pull/1591

GitOrigin-RevId: 3235d63b94b952b93f7a1cfe0d551d38a2783eb3
2023-07-17 10:36:30 +00:00
ilkin-overleaf
e514e97305 Merge pull request #13438 from overleaf/ii-review-panel-toolbar-shell
[web] Create review panel toolbar shell

GitOrigin-RevId: 561fb18e1239c9b96b52944716a83cf3b8606677
2023-07-17 10:34:04 +00:00
M Fahru
2e77d4ab65 Teardown onboarding video tour test (#13351)
GitOrigin-RevId: 215c26fe047ec037f8d1d878eac406c36dbb656b
2023-07-17 10:32:51 +00:00
Davinder Singh
88d0254dde Merge pull request #13390 from overleaf/ab-managers-page-styling
[web] Full-row links styling for group subscription links in dash

GitOrigin-RevId: f3b2dd67e9c14cf8fde1df41d74d380c06cc3d4c
2023-07-17 10:31:18 +00:00
Davinder Singh
4991f9cdc7 Merge pull request #13367 from overleaf/ab-group-invite-halfway-out-of-login
[web] Move the group invite page half-way outside the login wall

GitOrigin-RevId: 8d846df6e248a08433ab2ca991644c78cf9ff330
2023-07-17 10:31:09 +00:00
CloudBuild
05671f10d4 auto update translation
GitOrigin-RevId: 8754133c58b8f1183834ee48574bee007ff09117
2023-07-17 10:28:43 +00:00
CloudBuild
d0166465a4 auto update translation
GitOrigin-RevId: b11cd31fd9b5294a861f8a3f660155e72fcbc9be
2023-07-17 10:27:14 +00:00
Jakob Ackermann
d98d882cb6 Merge pull request #13188 from overleaf/jpa-admin-panel-i18n
[web] admin-panel: delete-projects: avoid concatenation of locales

GitOrigin-RevId: cb737356755fc9a5d5d39ccea5c9a28f3680a402
2023-07-17 10:25:25 +00:00
CloudBuild
4388934a57 auto update translation
GitOrigin-RevId: d637483a8889aafbef59e47615b790d799076d26
2023-07-17 10:24:29 +00:00
Alexandre Bourdin
14e014c667 [web] Add some FR translations for the menu header, project dash and plans page (#13057)
* Add some FR translations for the menu header and plans page

* Replace single quotes in translations

* Fix typo and missing translation

* Updates after rebase

GitOrigin-RevId: 637f60513afad1a44a38fabcc6afa261c658d322
2023-07-17 10:23:05 +00:00
Alexandre Bourdin
150cf21710 Merge pull request #13311 from overleaf/ab-tear-down-subscription-pages-react
[web] Tear down subscription-pages-react test and remove Angular code

GitOrigin-RevId: 3cf906e476ffa52a058ccb4e4acbb89a657bd021
2023-07-17 10:22:45 +00:00
CloudBuild
37f01dfe1e auto update translation
GitOrigin-RevId: 19c6ee0914890d7c274d2b4981c99cdeff56d930
2023-06-05 08:03:36 +00:00
CloudBuild
32f40ef801 auto update translation
GitOrigin-RevId: 2b25226476e97c8e82ad4451a1f3cabe95d24c85
2023-06-05 08:03:28 +00:00
M Fahru
2360ed2623 Use the same Git paywall for project owner and collaborator when both are free users (#13271)
GitOrigin-RevId: 4cf47769a08a7ff671690b09fe411d5b9e717a4f
2023-06-02 08:07:49 +00:00
M Fahru
8c549aa0fa Implement new welcome page UI with split test (#11677)
GitOrigin-RevId: 3028ee5e34802e4f9a29cb752fcfa8ca6d5c284c
2023-06-01 08:05:01 +00:00
CloudBuild
5a7b498a3e auto update translation
GitOrigin-RevId: 10a4e0cf408f68c7a06cef645ac56aca0676cc37
2023-05-30 08:04:18 +00:00
CloudBuild
1194e9a942 auto update translation
GitOrigin-RevId: 6ce25209140f4f431f7e2543705e0a6898f29f5f
2023-05-29 08:04:24 +00:00
CloudBuild
649f4c2fa6 auto update translation
GitOrigin-RevId: 57dfa6285448033c81deb288b8efeb0e795f6db9
2023-05-29 08:04:14 +00:00
Miguel Serrano
51223315e4 Merge pull request #13164 from overleaf/msm-email-limit
[web] limit user email addresses to 10

GitOrigin-RevId: 038214cc921d86a407391e6c82fa9cd16a7f9646
2023-05-29 08:04:04 +00:00
CloudBuild
d88e248178 auto update translation
GitOrigin-RevId: 8c0143c92622274faadd46120b3642a957e4dc16
2023-05-26 08:05:28 +00:00
M Fahru
3e315eada1 Teardown old project list frontend code (#11950)
* Remove frontend project list angular code (pugfiles + controllers)

* Remove unused translation keys in every language

GitOrigin-RevId: e0514721d6a32ca2de7d1be9433da3476ba1680c
2023-05-26 08:05:02 +00:00
Jimmy Domagala-Tang
76d0d82e74 Merge pull request #13027 from overleaf/jdt-personal-plan-split-test
Personal plan split test

GitOrigin-RevId: 067973398c57be7466f6529f28fbfd896c86b10b
2023-05-25 08:05:52 +00:00
Tim Down
fd8557ef39 Merge pull request #13159 from overleaf/td-history-comparison-text-icon-tweaks
History migration: Icon and text changes to version comparison, switch order of from and to

GitOrigin-RevId: e31db255c55caf15481ed0237875e637c0ac0861
2023-05-23 08:04:15 +00:00
Tim Down
ebbb4fd6d0 Merge pull request #13093 from overleaf/td-history-cm6-translations
History migration: Use translatable strings in history diff highlight tooltips

GitOrigin-RevId: 90c127b792c116c5805ee191b80564eb763cee44
2023-05-17 12:05:12 +00:00
Tim Down
c870bd5f53 Merge pull request #13104 from overleaf/td-history-compare-to-from
History migration: Add "compare to" and "compare from" options

GitOrigin-RevId: f550ad06b1e812011ecb32e6772354eb0abc2163
2023-05-17 12:04:56 +00:00
Miguel Serrano
b2a0fd13e6 [web] Git Bridge modal with Personal Access Token (#13058)
* [web] Git Bridge modal with Personal Access Token

* [web] Added `git-bridge-modal-tokens` unit tests

GitOrigin-RevId: 854ce83bba91b9d97afa950d49ce18f62970fb5b
2023-05-17 09:28:10 +00:00
Miguel Serrano
27c2d1c16e [web] Personal Access Token Settings UI (#13040)
* [web] Personal Access Token Settings UI

* [web] Add Personal Access Token Settings UI to settings page

* [web] Added `personal-access-token-settings` unit tests

GitOrigin-RevId: 353b2f1a2b57c3292554f129be6cbb4f8f8382f8
2023-05-17 09:28:01 +00:00
Mathias Jakobsen
988fc57574 Merge pull request #13077 from overleaf/mj-figure-modal-tests
[web] Add cypress tests for figure modal

GitOrigin-RevId: 4debae1c665a68fd7bfa9f0dcfc150bec38a7c64
2023-05-17 08:06:33 +00:00
Mathias Jakobsen
c754eaf5c5 Merge pull request #13108 from overleaf/mj-figure-modal-translations
[web] Translate figure modal

GitOrigin-RevId: b9f2c2e9ba3141dfee15c0af572a022a2b21fd47
2023-05-17 08:06:16 +00:00
June Kelly
ff4ac0a803 Merge pull request #12851 from overleaf/jk-dashboard-filter-visibility
[web] Improve filter visibility on project dashboard

GitOrigin-RevId: de7a9f999d6d0164ab3c18c58e305c7c628f946c
2023-05-17 08:03:39 +00:00
Mathias Jakobsen
5fd4504f51 Merge pull request #13061 from overleaf/mj-cm6-translations
[web] Make translations accessible to CM6

GitOrigin-RevId: ef617638419597548e6e0545bac3ac94216177de
2023-05-16 08:04:11 +00:00
Alexandre Bourdin
caeceba28c [web] INR Geo pricing test (#12976)
* Implement INR geopricing test

* Show again the INR banner after 30 days

* Update INRBanner to direct users to the plans page and add tracking

* Remove local testing hack in GeoIpLookup

* Update formatter for subscription dashboard

* Flip assignment to assign all users and add event segmentations

* Fix linting

* Review suggestions - factorised recommended currency helper function

GitOrigin-RevId: b1616520f8c7ead689a840720057297e67d3f574
2023-05-11 08:03:59 +00:00
CloudBuild
2db96f5c66 auto update translation
GitOrigin-RevId: b1846e4d997a1238e7e1e33c9196d42771d91e70
2023-05-05 08:05:35 +00:00
Jakob Ackermann
b0633b3a47 Merge pull request #12842 from overleaf/jpa-logout
[web] remove GET /logout endpoints

GitOrigin-RevId: 93f9498fdb66ece5028d90941aac50cda2737604
2023-05-04 08:05:57 +00:00
Alf Eaton
e0d9069131 [cm6] Add "within selection" option to the search form (#12798)
* Use forked @codemirror/search
* Use getPanel to get the search panel
* Remove layer-based highlightSelectionMatches
* Add "within selection" option to the search form
* Add test for "replace all within selection"
* Fix tests

GitOrigin-RevId: 95ce76fd017f96278b04c16a1fd34f785f7504a3
2023-05-01 08:05:02 +00:00
M Fahru
0648b8aa6c Implement deleted file restore for history react (#12753)
* Add strikethrough to deleted file tree item in history file tree

* Add "restore file" button on toolbar if the selected file have a `removed` operation.

* Implement "restore file" functionality on removed file:

- Refactor the `Selection` object in history context value since we need the `deletedAtV` data which currently is not passed through the state.
- Refactor and clean up file tree type system to support passing through the whole `FileDiff` object for getting the `deletedAtV` data which only appear on `removed` operation
- Implement `postJSON` with file restoration API and pass it on restore file onClick handler at toolbar

* Implement loading behaviour while restoring file is inflight:

- Add `loadingRestoreFile` to `LoadingState`
- Change restore file button to `Restoring...` when in loading state.

* Refactor:

- Rename `DiffOperation` to `FileOperation`
- Extract `isFileRemoved` and `isFileRenamed` to its own file
- Extract `Toolbar` components into small files

GitOrigin-RevId: 2e32ebd2165f73fc6533ff282a9c084162efd682
2023-04-28 08:04:59 +00:00
ilkin-overleaf
0895e33235 Merge pull request #12773 from overleaf/ii-history-react-changes-list-dropdown
[web] Actions dropdown history migration

GitOrigin-RevId: 6b7055501c5eb1529b1794db92bb9f5f3faa6648
2023-04-26 08:05:24 +00:00
CloudBuild
28f90c8a87 auto update translation
GitOrigin-RevId: e0d9d3c22c4ce093c3ad7393ef2b91f9a3cada16
2023-04-26 08:05:16 +00:00
June Kelly
f5740e6b17 Merge pull request #12593 from overleaf/jk-remove-plans-split-test
[web] Remove 'plans-page-layout-v3' split test

GitOrigin-RevId: 91e0d3d8bc40632df630131b2e872fa824015da5
2023-04-26 08:04:21 +00:00
Davinder Singh
10f879eab8 Merge pull request #12365 from overleaf/ds-deleted-project-page
Admin panel- Deleted project info page migration to react

GitOrigin-RevId: a964d80b3a2ef25340452fccdab6bdc51c01c59e
2023-04-26 08:04:03 +00:00
M Fahru
4dec157e08 Implement history react toolbar UI (#12530)
There are two different UI in this PR: `comparing` and `viewing` mode.

- For `comparing`, the user would be shown two separate date. It uses the `UpdateRange` object and this PR adds a timestamp to both `fromV` and `toV` of the object type.
- For `viewing`, the user would only be shown one date since `viewing` mode means viewing a specific update version.

Some other notable changes:

- Move `diff` state to `diff-view.tsx`, which contains `main.tsx` (main editor history view) and `toolbar.tsx` as its children
- refactor `autoSelectFile` by passing `updateRange.toV` directly
- refactor `updateIsSelected` by passing an object that contains `fromV` and `toV` instead of passing `update

There's also a cypress test for both the `viewing` mode and `comparing` mode in this PR.

GitOrigin-RevId: ba54f073f3479c55a39eb6b2932ea7faff78dddc
2023-04-21 08:03:39 +00:00
Jessica Lawshe
6fc5385ca6 Merge pull request #12249 from overleaf/tm-gallery-top-picks
Implement top picks in template gallery for CVs

GitOrigin-RevId: 22f720582e27fac2b9e454ce4e28bd124de094b7
2023-04-19 08:03:19 +00:00
Tim Down
38998afa8e Implement history diff viewer buttons (#12439)
GitOrigin-RevId: 0ed8eb8568783b4938188a86c4ee75c767e6d713
2023-04-17 08:05:41 +00:00
Alf Eaton
dda9230c6c [rich text] Add "Insert Citation" and "Insert Cross-reference" buttons (#12529)
GitOrigin-RevId: fde2f1a281318afede138ccae12f73ade3fa9f65
2023-04-17 08:04:34 +00:00
Alexandre Bourdin
f03b75e55f [web] Tags/color picker tweaks (#12595)
* Change wording of tags header and hide uncategorized when tags list is empty

* Add a tooltip on the colour picker more button

* Fix linting

GitOrigin-RevId: 07e1c411c2c9f6f66e0a00c1610af662b829c4e4
2023-04-13 08:04:37 +00:00
Alexandre Bourdin
376d9c43a3 Merge pull request #12374 from overleaf/ab-rename-folders-tags
[web] Rename folders to tags

GitOrigin-RevId: 05c34c515aeeb9230ed512c267f97bcb679767a8
2023-04-13 08:04:20 +00:00