ljmotta opened a new issue, #3788:
URL: https://github.com/apache/incubator-kie-tools/issues/3788
The columns width of the DMN Runner outputs table should be persisted, to
work like the input columns.
### Steps to reproduce
- Open the DMN Sample;
- Open the DMN Runner table;
- Edit the width of an output column of the DMN Runner table;
- Close and open the DMN Runner table;
- The width will be reset to the default one;
### Example
https://user-images.githubusercontent.com/24302289/234099842-dbab4a05-b8cd-4750-af10-76cc2e2b7b63.mp4
### Code
To add this feature, it will be necessary to change the `online-editor` and
`unitables` packages. The first step is to modify the
`DmnRunnerPersistenceJsonConfigs` interface in the
`DmnRunnerPersistenceTypes.ts` to add an `outputs` property. After it, it will
be necessary to add a new method in the `DmnRunnerTable.tsx` to be passed down
to the `DmnRunnerOutputsTable` component. This method will mimic the current
`setWidth` method inside the `DmnRunnerTable` component which saves the columns
width of the input and it's passed down to the `UnitablesWrapper`. Check how
the `setWidth` method is used inside the `UnitablesBeeTable.tsx`.
```[tasklist]
### Acceptance criteria
- [ ] Open and close the table should keep the width value of the output
columns;
- [ ] Download the DMN Runner inputs should have the width of the output;
- [ ] Load the DMN Runner inputs should update the columns width of the
output;
```
### 24th of January 2025
The status of this issue is changed that the runner outputs column can not
be changed at all. It means the dmn runner output column name is not readable
if the bound decision node name is long text.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]