overleaf/services/web/test/frontend/components/pdf-preview
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
..
detach-compile-button.spec.tsx Merge pull request #13605 from overleaf/ae-meta-tests 2023-07-17 10:49:15 +00:00
pdf-js-viewer.spec.tsx Add PdfPreviewProvider and preserve PDF viewer loading error (#14970) 2023-09-29 08:04:10 +00:00
pdf-logs-entries.spec.tsx Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react 2023-10-27 08:03:10 +00:00
pdf-preview-detached-root.spec.tsx Merge pull request #13605 from overleaf/ae-meta-tests 2023-07-17 10:49:15 +00:00
pdf-preview-hybrid-toolbar.spec.tsx Merge pull request #13605 from overleaf/ae-meta-tests 2023-07-17 10:49:15 +00:00
pdf-preview.spec.tsx [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700) 2024-04-15 08:04:24 +00:00
pdf-synctex-controls.spec.tsx Merge pull request #14709 from overleaf/ae-context-typescript 2024-01-29 09:03:04 +00:00
scope.tsx