Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052427
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] CoreminorN/A2023-05-11 19:302023-06-05 12:20
Reportergorka_gilView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052427: FilterBar: disable debounce when filter is not an input text

DescriptionThe filters of a filterable grid uses a debounce to avoid doing a request in each key pressed, which is ok.

But when the filter it is a combo, a check box or any other type different of a input text, we should not use a debounce.

Also when the user is writing in the input text and press enter, on that case we also don't want to use a debounce.
Steps To ReproduceGo to cash management,
change from cash to usa cash,
Problem -> the grid takes some time (500ms) to render the changes

Without the debounce it is inmediate
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0150559)
hgbot (developer)
2023-05-31 18:07

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1121 [^]
(0150734)
hgbot (developer)
2023-06-05 12:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1121 [^]
(0150735)
hgbot (developer)
2023-06-05 12:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: f6b0a9dab9aceee834f3b99df7c162a655b964a0
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 05-06-2023 10:19:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f6b0a9dab9aceee834f3b99df7c162a655b964a0 [^]

Fixes ISSUE-52427: Debounce in only needed on text filters in FilterBar

The onChange function should only be debounced when editing a text filter, to avoid doing too many onChange calls
while the user is typing. When any other filter is updated, or when filters are cleared, it is better if the
onChange function is directly invoked

---
M web-jspack/org.openbravo.core2/src/components/FilterableGrid/FilterBar.jsx
---

- Issue History
Date Modified Username Field Change
2023-05-11 19:30 gorka_gil New Issue
2023-05-11 19:30 gorka_gil Assigned To => Triage Platform Base
2023-05-11 19:30 gorka_gil Triggers an Emergency Pack => No
2023-05-31 18:07 hgbot Note Added: 0150559
2023-05-31 19:49 AugustoMauch Assigned To Triage Platform Base => AugustoMauch
2023-06-05 12:20 hgbot Resolution open => fixed
2023-06-05 12:20 hgbot Status new => closed
2023-06-05 12:20 hgbot Note Added: 0150734
2023-06-05 12:20 hgbot Fixed in Version => 23Q3
2023-06-05 12:20 hgbot Note Added: 0150735


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker