Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kie-issues#1463: Test Scenario Editor: Manage @kie-tools/scesim-editor's state with Zustand + Immer #2628

Merged
merged 57 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
f82c4d2
Fixing StoryBook
yesamer Sep 10, 2024
0aea6ab
wip
yesamer Sep 10, 2024
5e34db7
WIP
yesamer Sep 18, 2024
ca3e2f1
WIP
yesamer Sep 18, 2024
df69ea6
Changes
yesamer Sep 18, 2024
56bd23d
WIP
yesamer Sep 20, 2024
bbda1aa
Merge branch 'main' into kie-issues#1463
yesamer Sep 23, 2024
7d092d2
WIP
yesamer Sep 23, 2024
93bfb17
WIP
yesamer Sep 23, 2024
c2fea8c
WIP
yesamer Sep 24, 2024
cb1a00d
WIP
yesamer Sep 24, 2024
4403080
WIP
yesamer Sep 24, 2024
a422187
Merge branch 'main' into kie-issues#1463
yesamer Sep 25, 2024
2b3d5ab
WIP
yesamer Sep 26, 2024
5ec19c9
WIP
yesamer Sep 27, 2024
8f79ccb
WIP
yesamer Sep 27, 2024
1672aeb
WIP
yesamer Sep 27, 2024
b21c4c8
WIP
yesamer Sep 27, 2024
b9d93b7
WIP
yesamer Sep 27, 2024
b0e16ad
WIP
yesamer Sep 27, 2024
68c7ad3
Merge branch 'refs/heads/main' into kie-issues#1463
yesamer Sep 27, 2024
0dd43b2
WIP
yesamer Sep 27, 2024
2f619b0
Minor Changes
yesamer Sep 27, 2024
c13eaa1
Test Fix
yesamer Sep 30, 2024
2360979
WIP
yesamer Sep 30, 2024
70aa5fe
WIP
yesamer Sep 30, 2024
346207f
WIP
yesamer Sep 30, 2024
44205c9
fixing screenshots
kbowers-ibm Oct 1, 2024
b287911
WIP
yesamer Oct 1, 2024
3e7bd18
Merge branch 'main' into kie-issues#1463
yesamer Oct 2, 2024
3af7fc9
fixing chrome screenshot
kbowers-ibm Oct 3, 2024
5856d46
WIP
yesamer Oct 3, 2024
322dde2
Merge branch 'main' into kie-issues#1463
yesamer Oct 3, 2024
9044a10
Merge branch 'refs/heads/main' into kie-issues#1463
yesamer Oct 3, 2024
76ea9dc
Merge branch 'main' into kie-issues#1463
yesamer Oct 4, 2024
b63bc1e
CR
yesamer Oct 4, 2024
3def3cb
WIP
yesamer Oct 7, 2024
a42fef4
CR
yesamer Oct 7, 2024
d1414da
Add reference to kie-issues#1514
yesamer Oct 7, 2024
b8b06ae
Merge branch 'main' into kie-issues#1463
yesamer Oct 7, 2024
bf42f5e
WIP
yesamer Oct 8, 2024
89e5551
Temp. fix tables.
yesamer Oct 9, 2024
ca1d405
Fix
yesamer Oct 9, 2024
718f5c8
wip
yesamer Oct 10, 2024
eef1082
Merge branch 'main' into kie-issues#1463
yesamer Oct 10, 2024
d26042d
WIP
yesamer Oct 10, 2024
759d30f
WIP
yesamer Oct 10, 2024
6518f67
WIP
yesamer Oct 10, 2024
869e242
WIP
yesamer Oct 10, 2024
301ae9e
wip
yesamer Oct 10, 2024
6234e4b
WIP
yesamer Oct 10, 2024
1c9cdab
WIP
yesamer Oct 10, 2024
cfe8ab8
CR
yesamer Oct 14, 2024
95da9ee
Merge branch 'main' into kie-issues#1463
yesamer Oct 14, 2024
71c6630
CR
yesamer Oct 14, 2024
502fa68
Update packages/scesim-editor/src/table/TestScenarioTable.tsx
yesamer Oct 15, 2024
5bc3c5a
Merge branch 'main' into kie-issues#1463
yesamer Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dmn-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"fast-deep-equal": "^3.1.3",
"immer": "^10.0.3",
"moment": "^2.29.4",
"react-error-boundary": "^4.0.11",
"react-error-boundary": "^4.0.13",
"reactflow": "^11.8.3",
"uuid": "^8.3.2",
"zustand": "^4.4.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,6 @@ const model = marshaller.parser.parse();
export const LoanPreQualification: Story = {
render: Empty.render,
args: {
...Empty.args,
model: model,
xml: marshaller.builder.build(model),
},
Expand Down
8 changes: 1 addition & 7 deletions packages/scesim-editor/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ const preview: Preview = {
},

// It should be Story() to be possible to use "preview-api" inside stories; (https://github.com/storybookjs/storybook/issues/22132)
decorators: [
(Story) => (
<div data-testid="test-scenario-editor" style={{ margin: "1em" }}>
{Story()}
</div>
),
],
decorators: [(Story) => <div data-testid="test-scenario-editor">{Story()}</div>],
};

export default preview;
6 changes: 3 additions & 3 deletions packages/scesim-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ To build the `scesim-editor` module ONLY, you can use ONE of the below commands:
- `pnpm -F @kie-tools/scesim-editor build:dev` This is fast, but not as strict. It skips tests, linters, and some type checks. Recommended for dev purposes.
- `pnpm -F @kie-tools/scesim-editor build:prod` The default command to build production-ready packages. This is the recommended build for production purposes

## How to launch the Test Scenario Dev WebApp
## How to launch the Test Scenario Storybook Dev WebApp

After building the project, you can benefit of the Dev Webapp for development or testing scope.
After building the project, you can benefit of the Storybook Dev Webapp for development or testing scope.
To launch it, simply type in your terminal the following command:

`pnpm -F @kie-tools/scesim-editor start`

A web server with a Dev Webapp of Test Scenario editor will be launched, reachable at the following address:

http://localhost:9004/ or http://192.168.1.128:9004/
http://localhost:9902/ or http://172.20.10.3:9902/

---

Expand Down
6 changes: 5 additions & 1 deletion packages/scesim-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@
"@patternfly/react-core": "^4.276.6",
"@patternfly/react-icons": "^4.93.6",
"@patternfly/react-styles": "^4.92.6",
"immer": "^10.0.3",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-table": "^7.6.2",
"uuid": "^8.3.2"
"uuid": "^8.3.2",
"zustand": "^4.4.2"
},
"devDependencies": {
"@babel/core": "^7.16.0",
Expand All @@ -57,7 +59,9 @@
"@types/uuid": "^8.3.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"deep-object-diff": "^1.1.9",
"file-loader": "^6.2.0",
"react-error-boundary": "^4.0.13",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"storybook": "^7.3.2",
Expand Down
Loading
Loading