Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045846Openbravo ERPA. Platformpublic2021-02-04 08:192021-02-25 14:57
alostale 
alostale 
normalmajorhave not tried
closedfixed 
5
 
PR21Q2 
Core
No
0045846: prepare infrastructure to support react applications
Enyo is planned to be replaced with react in mobile applications, this requires a series of infrastructural changes in the platform.
-
No tags attached.
related to feature request 0045019 closed Retail Retail Modules run jest tests in strict mode 
related to defect 0045959 closed jarmendariz Openbravo ERP ESLint does not evaluate .jsx files by default in React code 
related to defect 0046009 closed alostale Openbravo ERP cannot use dev dependencies in cypress code 
blocks feature request 0044751 new Retail Retail Modules replace enyo with react for UI framework 
Issue History
2021-02-04 08:19alostaleNew Issue
2021-02-04 08:19alostaleAssigned To => platform
2021-02-04 08:19alostaleModules => Core
2021-02-04 08:19alostaleTriggers an Emergency Pack => No
2021-02-04 08:19alostaleRelationship addedblocks 0044751
2021-02-04 08:43hgbotNote Added: 0125969
2021-02-04 11:57alostaleRelationship addedrelated to 0045019
2021-02-19 06:41alostaleAssigned Toplatform => alostale
2021-02-19 06:44hgbotNote Added: 0126173
2021-02-19 06:44hgbotResolutionopen => fixed
2021-02-19 06:44hgbotStatusnew => closed
2021-02-19 06:44hgbotFixed in Version => PR21Q2
2021-02-19 06:44hgbotNote Added: 0126176
2021-02-25 14:49hgbotNote Added: 0126364
2021-02-25 14:57hgbotNote Added: 0126365
2021-02-25 14:57hgbotNote Added: 0126366
2021-02-26 11:53jarmendarizRelationship addedrelated to 0045959
2021-03-05 09:49alostaleRelationship addedrelated to 0046009

Notes
(0125969)
hgbot   
2021-02-04 08:43   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/301 [^]
(0126173)
hgbot   
2021-02-19 06:44   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/301 [^]
(0126176)
hgbot   
2021-02-19 06:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 658ef158103e8cfcc5ae4ae5de330370f1cf5edf
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-02-19T06:42:32+01:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/658ef158103e8cfcc5ae4ae5de330370f1cf5edf [^]

fixes FR-45846: prepare infrastructure to support react applications

MR !301

Prepares infrastructure to support react applications:

    * Openbravo modules can define react applications within web-jspack directory
       * They have specific eslint rules defined in eslintrc-airbnb-react
       * They can define jest tests outside web-test directory
    * Jest tests are pre-compiled with babel to allow transforming jsx into JavaScript.
      This makes all jest test to be run in strict mode (FR-45019)

---
A babel.config.js
A jest.setup.js
A modules/org.openbravo.client.kernel/eslint-airbnb/eslintrc-airbnb-react.template
A modules/org.openbravo.client.kernel/jsutils/fileMock.js
M .githooks/pre-commit.d/00-jslint
M .githooks/pre-commit.d/01-jsformatter
M lerna.json
M modules/org.openbravo.client.kernel/eslint-airbnb/copy-config
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
M package-lock.json
M package.json
---
(0126364)
hgbot   
2021-02-25 14:49   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/321 [^]
(0126365)
hgbot   
2021-02-25 14:57   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: ee3fbf8a93b43491cec1f8ca256d0b8b2fa9317a
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-02-25T14:47:31+01:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/ee3fbf8a93b43491cec1f8ca256d0b8b2fa9317a [^]

related to FR-45846: adds missing copyright headers

---
M babel.config.js
M jest.setup.js
---
(0126366)
hgbot   
2021-02-25 14:57   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/321 [^]