Jakob Ackermann
aa480a2663
Merge pull request #18898 from overleaf/jpa-no-window
...
[web] migrate from window attributes to getMeta
GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Jakob Ackermann
4087345a2a
Merge pull request #18941 from overleaf/jpa-fix-some-ts-ignore
...
[web] fix a few ts-ignore statements
GitOrigin-RevId: 447a070a8268cffa6ef298b0fe158232c3f6fe8f
2024-06-19 08:04:07 +00:00
Alf Eaton
b9a8a7f7ec
Move AI provider usage to the backend ( #18562 )
...
GitOrigin-RevId: 4f66c6576571c4fbb7381d8d0e34f2e468d6f34f
2024-06-18 08:04:09 +00:00
ilkin-overleaf
182e9859ec
Merge pull request #18690 from overleaf/ii-bs5-projects-welcome
...
[web] Welcome page migration
GitOrigin-RevId: 2469786372df24d579d1987cf5bb1113450e9d78
2024-06-14 08:04:32 +00:00
Liangjun Song
b9b9090155
[web] implement in-house sha1 hash function ( #18769 )
...
* Revert "Revert "[web]implement in-house sha1 hash function (#18651 )" (#18703 )"
This reverts commit b2be3907439525f3ed49baec0b438ba35ea1663c.
* fix bug
* better tests
GitOrigin-RevId: 4b0e0337687eeee3086ba0ec38d9dc7ccb3f30ea
2024-06-11 08:04:39 +00:00
Tim Down
29837ec838
Merge pull request #18733 from overleaf/td-bs5-button-props
...
Simplify handling of BS3 props in button wrapper component
GitOrigin-RevId: 12a6b1374da5084e075775f3cef23f0b24d098fc
2024-06-07 08:04:24 +00:00
Alf Eaton
c24ace801b
Remove Angular ( #17534 )
...
GitOrigin-RevId: 7a0d45e17d9905fa75569e2d19ca59caa4a41565
2024-06-06 08:04:09 +00:00
Liangjun Song
432fbd3c40
Revert "[web]implement in-house sha1 hash function ( #18651 )" ( #18703 )
...
This reverts commit aa3f5ab3ff412696c715521381eebf176f503197.
GitOrigin-RevId: b2be3907439525f3ed49baec0b438ba35ea1663c
2024-06-05 08:03:57 +00:00
Liangjun Song
4101f4efeb
[web]implement in-house sha1 hash function ( #18651 )
...
* implement in-house sha1 hash function
* add comment
* add test description
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
* add more tests
* dedupe test strings and remove unneeded toString calls
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: aa3f5ab3ff412696c715521381eebf176f503197
2024-06-05 08:03:42 +00:00
Liangjun Song
c22802eac9
implement in-house md5 hash function ( #18647 )
...
* implement in-house md5 hash function
* format
* add lisence information
GitOrigin-RevId: 1416654e8c27ec7a0d6ca632e6ece59c830ef561
2024-06-04 08:04:50 +00:00
David
656130b2ed
Merge pull request #18655 from overleaf/dp-pdf-viewer-typescript
...
Convert PdfJsViewer component to typescript
GitOrigin-RevId: 1019b947f3e6869a99495d3de7cd14ebd5007587
2024-06-04 08:04:03 +00:00
Andrew Rumble
d1a58e6b77
Merge pull request #18538 from overleaf/ar-add-download-all-link-in-web
...
[web] add download all link for output files
GitOrigin-RevId: 3d574d75d53e577cb0f8fd3caa4f757d9e1b7889
2024-06-03 08:04:07 +00:00
Rebeka Dekany
9120afffa5
Merge pull request #18567 from overleaf/rd-bs5-settings-modal
...
[web] Migrate the Git Integration settings on the Account Settings page to Bootstrap 5
GitOrigin-RevId: bafac941d3afaadaa046de07e18968d8e3692b1c
2024-05-31 08:04:49 +00:00
ilkin-overleaf
fe7de51827
Merge pull request #18338 from overleaf/ii-bs5-split-badges-and-tags
...
[web] Split badges and tags
GitOrigin-RevId: fce5a93672f431ff74c2b63a67e249f5f7e7fecd
2024-05-28 08:04:05 +00:00
Jimmy Domagala-Tang
81903bb79d
Merge pull request #18175 from overleaf/jdt-new-bib-file-prompt
...
[Web] Add opportunistic prompts for third party references
GitOrigin-RevId: d794df16781d0db707423f23ab12f40a13604907
2024-05-27 10:23:41 +00:00
Alf Eaton
af721874f1
Set permissionsLevel to readOnly when out of sync ( #18391 )
...
GitOrigin-RevId: d495d7ba4d5d0c7db00277538c932a585f6dace0
2024-05-21 08:04:31 +00:00
Rebeka Dekany
f78e619d87
Merge pull request #18331 from overleaf/rd-bs5-renaming
...
[web ] Bootstrap 5 - rename the wrapper components and restructure
GitOrigin-RevId: 7a76903df81cd546e9e469f24c4f203ea6a61672
2024-05-16 08:05:31 +00:00
Alf Eaton
9729befe59
Merge pull request #18170 from overleaf/ae-token-access-page
...
Convert token access page to React
GitOrigin-RevId: d7434f0de395c47a95d00767727fbe9d43f9abca
2024-05-03 08:05:01 +00:00
Jimmy Domagala-Tang
0ca7a385d5
Merge pull request #18131 from overleaf/jdt-promo-hooks
...
feat: split logic for promos out to hooks
GitOrigin-RevId: 8f713cdf309f84dddb20e8da76009512bd990a8f
2024-05-01 08:05:04 +00:00
Antoine Clausse
6a6f155029
[web] Use React hooks to get split-test variants instead of getSplitTestVariant
(getMeta
) ( #18133 )
...
* Fix split-tests loading in React component: use `useSplitTestContext` instead of `getSplitTestVariant`
* Replace use of `isSplitTestEnabled` by `useSplitTestContext`
* Add SplitTestProvider to roots, and fix tests
* Create `useFeatureFlag` hook
* Use `useFeatureFlag` where applicable
GitOrigin-RevId: 9ff7bb3975d50bc4d07d74d93c482d56dc96f615
2024-05-01 08:04:55 +00:00
Antoine Clausse
e32b4f0db1
[web] Handle error cause by currencyDisplay: 'narrowSymbol'
in old browsers ( #18060 )
...
* Handle error cause by `currencyDisplay: 'narrowSymbol'` in old browsers
RangeError
Value narrowSymbol out of range for Number.prototype.toLocaleString options property currencyDisplay
* Make `formatCurrencyLocalized` bulletproof
GitOrigin-RevId: 26e8abc6f9fb7c06c2d14b9d86af2d84fb9f32e3
2024-04-26 08:04:22 +00:00
David
2e634e665d
Merge pull request #18064 from overleaf/dp-interstitial
...
Create Interstitial component
GitOrigin-RevId: 00c9378a04b0ce17e0af409c3a85f12c1db49b42
2024-04-25 08:04:26 +00:00
ilkin-overleaf
1e7053cb8e
Merge pull request #17921 from overleaf/ii-bs5-alert-continue
...
[web] Replace all alerts with notifications in settings page
GitOrigin-RevId: a05755c39d2e54b3f57ffa589885e3e96aee00dc
2024-04-24 08:04:35 +00:00
ilkin-overleaf
cccd0f06d7
Merge pull request #17908 from overleaf/ii-bs5-badge
...
[web] Create Bootstrap 5 badges
GitOrigin-RevId: 72355c7cf7dca2a5d16bc890d7cfa4a432dd15ba
2024-04-22 08:04:07 +00:00
Antoine Clausse
b2ef7a935f
[web] Use localized number formatting for currencies ( #17622 )
...
* Add a unit test on `SubscriptionFormatters.formatPrice`
* Add JSDoc to `formatPrice`
Also: Name the functions before exporting:
This fixes my IDE (WebStorm) navigation
* Make `'USD'` the default param instead of reassigning
* Create `formatCurrency` function
* Use `formatCurrency` in SubscriptionFormatters
* Use an `isNoCentsCurrency` logic for `CLP` `JPY` `KRW` `VND`
And remove custom `CLP` logic and locale
* Add `locale` param to `formatPrice`
* Generate `groups.json` and `localizedPlanPricing.json`
```
bin/exec web node ./scripts/recurly/recurly_prices.js --download -o prices.json
bin/exec web node ./scripts/plan-prices/plans.js -f ../../prices.json -o dir
```
* Update scripts/plan-prices/plans.js to generate numbers instead of localized amounts
* Generate `groups.json` and `localizedPlanPricing.json`
```
bin/exec web node ./scripts/recurly/recurly_prices.js --download -o prices.json
bin/exec web node ./scripts/plan-prices/plans.js -f ../../prices.json -o dir
```
* Remove generation of `plans.json`
As /services/web/frontend/js/main/plans.js was removed in https://github.com/overleaf/internal/pull/12593
* Sort currencies in alphabetical order in scripts/plan-prices/plans.js
* Generate `groups.json` and `localizedPlanPricing.json`
```
bin/exec web node ./scripts/recurly/recurly_prices.js --download -o prices.json
bin/exec web node ./scripts/plan-prices/plans.js -f ../../prices.json -o dir
```
* Use `formatCurrency` in price-summary.tsx
* Use `formatCurrency` in Subscription Pug files
* Fix unit tests SubscriptionHelperTests.js
* Remove unused `currencySymbol`
* Change to `formatCurrency` in other React components
* Add `CurrencyCode` JSDoc types
* Duplicate `formatCurrency` into services/web/app/src/util
* Wrap tests in a top-level describe block
* Use `narrowSymbol`
* Fix tests with `narrowSymbol` expects
* Revert deletion of old `formatPrice` in SubscriptionFormatters.js
* Rename `formatCurrency` -> `formatCurrencyLocalized`
* Revert deletion of `CurrencySymbol`
* Add split-test in SubscriptionController.js
* Add split-test in SubscriptionViewModelBuilder.js
* Add split-test in plans
* Add split-test in subscription-dashboard-context.tsx
* Add split-test in 4 more components
* Update tests
* Show currency and payment methods in interstitial page
* Fix `–` being printed. Use `–` instead
* Fix test with NOK
* Storybook: Fix missing `SplitTestProvider`
* Storybook: Revert "Remove unused `currencySymbol`"
This reverts commit e55387d4753f97bbf8e39e0fdc3ad17312122aaa.
* Replace `getSplitTestVariant` by `useSplitTestContext`
* Use parameterize currencyFormat in `generateInitialLocalizedGroupPrice`
* Fixup import paths of `formatCurrencyLocalized`
* Replace `% 1 === 0` by `Number.isInteger`
* Add comment explaining that any combinations of languages/currencies could happen
* Fixup after rebase: import `useSplitTestContext`
* Revert "Remove SplitTestProvider from subscription root"
This reverts commit be9f378fda715b86589ab0759737581c72321d87.
* Revert "Remove split test provider from some tests"
This reverts commit 985522932b550cfd38fa6a4f4c3d2ebaee6ff7df.
GitOrigin-RevId: 59a83cbbe0f7cc7e45f189c654e23fcf9bfa37af
2024-04-19 08:03:54 +00:00
Rebeka Dekany
fa3f51fb2e
Merge pull request #17806 from overleaf/rd-bootstrap-button2
...
[web] - Updating the Account Settings page with the Button and Icon Button wrappers
GitOrigin-RevId: 135c4ddaa64d009d3ab8cdfef9cff899fd77669c
2024-04-17 08:05:10 +00:00
Antoine Clausse
d35204033f
Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2
...
[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*` (attempt 2)
GitOrigin-RevId: 5658f2977d3e7089eec5bbe7a33eee81c153e41d
2024-04-16 08:04:08 +00:00
Antoine Clausse
491bc2628d
Merge pull request #17899 from overleaf/revert-17700-ac-tear-down-compile-timeout-tests
...
Revert "[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*`"
GitOrigin-RevId: d5070ced06adbd435e782a44b7ef767e395bd6a0
2024-04-15 08:04:37 +00:00
Antoine Clausse
2dd10c7fee
[web] Remove split-tests compile-backend-class*
and compile-timeout-20s*
( #17700 )
...
* Remove split-tests of `compile-timeout-20s` and `compile-timeout-20s-existing-users`
* Remove `NEW_COMPILE_TIMEOUT_ENFORCED_CUTOFF` variables
* Revert timeout override `60` -> `20`
* Update settings.overrides.saas.js: `compileTimeout: 20`
* Remove `compile-backend-class-n2d`
* Remove `force_new_compile_timeout`
* Remove `showNewCompileTimeoutUI`
* Remove `compileTimeChanging`
* Simplify code by removing segmentation object
* Remove `CompileTimeoutChangingSoon`
* Remove `user.features.compileTimeout = '20 (with 10s prompt)'`
* Remove `CompileTimeWarning`
* Remove `TimeoutUpgradePrompt` (old)
* Remove `compile-backend-class`
* Remove unused translations
* Update tests
* Fix: Show `CompileTimeout` even if `!window.ExposedSettings.enableSubscriptions`
* Create script to migrate users to 20s compileTimeout
* migration script: exclude `compileTimeout: 20` from the match
* migration script: use `batchedUpdate`
* Remove `showFasterCompilesFeedbackUI` and `FasterCompilesFeedback`
Helped-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
* Remove `_getCompileBackendClassDetails`, simplify definition of `limits` object
* Remove `Settings.apis.clsi.defaultBackendClass`
* Remove unnecessary second scan of the whole user collection in dry mode
* Override `timeout` to 20 for users having `compileGroup === 'standard' && compileTimeout <= 60`
* Remove second `logCount`: re-run the script in dry-mode if you want to see that count
* Use secondary readPreference when counting users
* Fix script setup and exit 0
* Fix: Remove `user.` from query path!
* Add acceptance test on script migration_compile_timeout_60s_to_20s.js
GitOrigin-RevId: 3cb65130e6d7fbd9c54005f4c213066d0473e9d8
2024-04-15 08:04:24 +00:00
ilkin-overleaf
a9436039b6
Merge pull request #17702 from overleaf/ii-bs5-to-bs3-classname-helper
...
[web] Bootstrap class name helper
GitOrigin-RevId: 9c2042aa2ea0e4d3828b32c321336e1c3a4a0ef8
2024-04-04 08:04:11 +00:00
ilkin-overleaf
205cfbe816
Merge pull request #17597 from overleaf/ii-enable-checkout-component-test
...
[web] Enable Cypress test for creating new subscription
GitOrigin-RevId: c17efbeb6a29d8e757729cddffef46faf054da70
2024-03-28 09:04:15 +00:00
Alf Eaton
6cc2db3cdd
Merge pull request #17525 from overleaf/ae-upgrade-prettier
...
Upgrade Prettier to v3
GitOrigin-RevId: 6f1338f196408f3edb4892d5220ad3665ff1a5bc
2024-03-26 09:04:05 +00:00
Alf Eaton
749660e168
Refactor review panel context ( #17383 )
...
GitOrigin-RevId: 23e7ff8632172ebd0bc544a2297d1d4179010832
2024-03-07 16:30:25 +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
Alf Eaton
12326b420d
Use sliced MaterialSymbolsRounded font ( #16994 )
...
GitOrigin-RevId: 51158acccc9967794b2192791961561d43274979
2024-02-16 09:04:36 +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
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
a3ba2284d6
Use prefixed strings for tracked counts of compile errors ( #16870 )
...
GitOrigin-RevId: 4023822a73c204fe1365cdc0fe311b4289a8cbcf
2024-02-06 09:03: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
Alf Eaton
c443322a41
Memoize FileTree and outline toggle button components ( #16776 )
...
GitOrigin-RevId: 299ed9d568650ce37edba87643112d1cd6d12fd4
2024-02-02 09:03:08 +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
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
Alf Eaton
12d38a3be9
Remove setSavedAt from detach compile context ( #16742 )
...
GitOrigin-RevId: 2a85b4a0cd6b73c0240b64beddd8cd6ab5a48b2f
2024-01-29 09:03:31 +00:00
Alf Eaton
11859f1c38
Remove savedAt from compiler ( #16642 )
...
GitOrigin-RevId: 526d26d731da99b40c253a4dc0a774a896641c8e
2024-01-29 09:03:13 +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
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
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
Mathias Jakobsen
8d7fbf5a47
Merge pull request #16522 from overleaf/mj-table-generator-cypress-tests
...
[web] Add cypress tests for table generator
GitOrigin-RevId: c77454763cfc83e4869e75ba247369e6255a0553
2024-01-19 09:04:33 +00:00
Alf Eaton
4a7a24b44d
Update the CodeMirror language when the current file is renamed ( #16342 )
...
GitOrigin-RevId: 8b51df0d1acfeeb8b0323cebf6de78572c8cb95c
2024-01-15 09:04:27 +00:00
Alf Eaton
fc8892e4fb
Expose ScopeValueStore via window.overleaf.unstable.store ( #16404 )
...
GitOrigin-RevId: 4b251639296405c0a9487f063e8b049687860004
2024-01-09 09:03:46 +00:00