Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045846 | Openbravo ERP | A. Platform | public | 2021-02-04 08:19 | 2021-02-25 14:57 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045846: prepare infrastructure to support react applications |
Description | Enyo is planned to be replaced with react in mobile applications, this requires a series of infrastructural changes in the platform. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | 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 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-02-04 08:19 | alostale | New Issue | |
2021-02-04 08:19 | alostale | Assigned To | => platform |
2021-02-04 08:19 | alostale | Modules | => Core |
2021-02-04 08:19 | alostale | Triggers an Emergency Pack | => No |
2021-02-04 08:19 | alostale | Relationship added | blocks 0044751 |
2021-02-04 08:43 | hgbot | Note Added: 0125969 | |
2021-02-04 11:57 | alostale | Relationship added | related to 0045019 |
2021-02-19 06:41 | alostale | Assigned To | platform => alostale |
2021-02-19 06:44 | hgbot | Note Added: 0126173 | |
2021-02-19 06:44 | hgbot | Resolution | open => fixed |
2021-02-19 06:44 | hgbot | Status | new => closed |
2021-02-19 06:44 | hgbot | Fixed in Version | => PR21Q2 |
2021-02-19 06:44 | hgbot | Note Added: 0126176 | |
2021-02-25 14:49 | hgbot | Note Added: 0126364 | |
2021-02-25 14:57 | hgbot | Note Added: 0126365 | |
2021-02-25 14:57 | hgbot | Note Added: 0126366 | |
2021-02-26 11:53 | jarmendariz | Relationship added | related to 0045959 |
2021-03-05 09:49 | alostale | Relationship added | related to 0046009 |
Notes |
|
(0125969)
|
hgbot
|
2021-02-04 08:43
|
|
|
|
(0126173)
|
hgbot
|
2021-02-19 06:44
|
|
|
|
(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
|
|
|
|
(0126365)
|
hgbot
|
2021-02-25 14:57
|
|
|
|
(0126366)
|
hgbot
|
2021-02-25 14:57
|
|
|