OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Restore debounce of 200ms in progress preview controller (was 100ms)
Christophe Bliard0b0825568553
diff --git a/frontend/src/stimulus/controllers/dynamic/work-packages/progress/preview.controller.ts b/frontend/src/stimulus/controllers/dynamic/work-packages/progress/preview.controller.tsindex 61b253b88b7..1aa2b53c85b 100644--- a/frontend/src/stimulus/controllers/dynamic/work-packages/progress/preview.controller.ts+++ b/frontend/src/stimulus/controllers/dynamic/work-packages/progress/preview.controller.ts@@ -67,7 +67,9 @@ export default class PreviewController extends Controller {}});- this.debouncedPreview = debounce((event:Event) => { void this.preview(event); }, 100);+ // if the debounce value is changed, the following test helper must be kept+ // in sync: `spec/support/edit_fields/progress_edit_field.rb`, method `#wait_for_preview_to_complete`+ this.debouncedPreview = debounce((event:Event) => { void this.preview(event); }, 200);// Turbo supports morphing, by adding the <turbo-frame refresh="morph">// attribute. However, it does not work that well with primer input: when