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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038353
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POStrivialalways2018-04-12 15:362018-05-21 09:28
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revision5657aec4a432
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038353: Add Human Actions to javascript errors and Avoid double click on buttons

DescriptionWe can register clicks and key down by the user. It would be interesting if we put inside the js error the actions done by the user to help to understand the error.

Try to avoid double click on buttons with a general solution and a way to avoid this restriction.
Steps To Reproducen/a
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0104000)
hgbot (developer)
2018-04-20 09:20

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 95a5ae43be3dbbdc861682332145103bfe018bb7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Apr 17 14:33:41 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/95a5ae43be3dbbdc861682332145103bfe018bb7 [^]

Fixed issue 0038353: Add Human Actions to javascript errors

. Extend DOM nodes for BUTTON type components

---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
A web/org.openbravo.mobile.core/source/utils/ob-dom-extension.js
---
(0104001)
hgbot (developer)
2018-04-20 09:20

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 89d8598471d17a1c37892051bb859cad689c7c41
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Apr 17 14:54:42 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/89d8598471d17a1c37892051bb859cad689c7c41 [^]

Fixed issue 0038353: Add Human Actions to javascript errors

- Using DOM extension, avoid double click (in less than 200 milliseconds) for all mobile application buttons using debounce
- If we get a javascript error, log the last 50 human actions and attach this info to the error in the console and in the client Log.

---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web/org.openbravo.mobile.core/source/utils/ob-dom-extension.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
A web/org.openbravo.mobile.core/source/utils/ob-loghumanaction.js
---
(0104002)
hgbot (developer)
2018-04-20 09:20

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7f6773fc7ac6fccfe090e6eb3f3d79ec028d571b
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Apr 18 14:39:25 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f6773fc7ac6fccfe090e6eb3f3d79ec028d571b [^]

Fixed issue 0038353: Add Human Actions to javascript errors

- Add the ability to do not avoid double clicks. There are some buttons that want be clicked several times in short time. Adding products for example.

---
M web/org.openbravo.mobile.core/source/component/ob-keypadbasic.js
M web/org.openbravo.mobile.core/source/utils/ob-dom-extension.js
---
(0104003)
hgbot (developer)
2018-04-20 09:20

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5657aec4a432929b0cb486f2358e4c46cb9dbfec
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Apr 18 14:40:28 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5657aec4a432929b0cb486f2358e4c46cb9dbfec [^]

Fixed issue 0038353: Add Human Actions to javascript errors

- Add the ability to do not avoid double clicks. There are some buttons that want be clicked several times in short time. Adding products for example.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashpayments.js
M web/org.openbravo.retail.posterminal/js/components/keypadcoins.js
M web/org.openbravo.retail.posterminal/js/components/renderproduct.js
M web/org.openbravo.retail.posterminal/js/components/renderproductch.js
---

- Issue History
Date Modified Username Field Change
2018-04-12 15:36 migueldejuana New Issue
2018-04-12 15:36 migueldejuana Assigned To => migueldejuana
2018-04-12 15:36 migueldejuana Triggers an Emergency Pack => No
2018-04-12 15:59 migueldejuana File Added: mobileCore.diff
2018-04-20 09:20 hgbot Checkin
2018-04-20 09:20 hgbot Note Added: 0104000
2018-04-20 09:20 hgbot Status new => resolved
2018-04-20 09:20 hgbot Resolution open => fixed
2018-04-20 09:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/95a5ae43be3dbbdc861682332145103bfe018bb7 [^]
2018-04-20 09:20 hgbot Checkin
2018-04-20 09:20 hgbot Note Added: 0104001
2018-04-20 09:20 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/95a5ae43be3dbbdc861682332145103bfe018bb7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/89d8598471d17a1c37892051bb859cad689c7c41 [^]
2018-04-20 09:20 hgbot Checkin
2018-04-20 09:20 hgbot Note Added: 0104002
2018-04-20 09:20 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/89d8598471d17a1c37892051bb859cad689c7c41 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f6773fc7ac6fccfe090e6eb3f3d79ec028d571b [^]
2018-04-20 09:20 hgbot Checkin
2018-04-20 09:20 hgbot Note Added: 0104003
2018-04-20 09:20 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f6773fc7ac6fccfe090e6eb3f3d79ec028d571b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5657aec4a432929b0cb486f2358e4c46cb9dbfec [^]
2018-04-20 09:23 migueldejuana File Deleted: mobileCore.diff
2018-04-20 09:26 migueldejuana Summary Add Human Actions to javascript errors => Add Human Actions to javascript errors and Avoid double click on buttons
2018-04-20 09:26 migueldejuana Description Updated View Revisions
2018-05-21 09:28 marvintm Review Assigned To => marvintm
2018-05-21 09:28 marvintm Status resolved => closed
2018-05-21 09:28 marvintm Fixed in Version => RR18Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker