bpmn-io / dmn-js Goto Github PK
View Code? Open in Web Editor NEWView and edit DMN diagrams in the browser.
Home Page: https://bpmn.io/toolkit/dmn-js/
License: Other
View and edit DMN diagrams in the browser.
Home Page: https://bpmn.io/toolkit/dmn-js/
License: Other
We should test the project continuously via Travis CI.
We are talking about cells.
AT:
Defaults:
Migrated from: https://app.camunda.com/jira/browse/CAM-4695
It must be possible to set the expression language for input and output entries (all cells of the table body, except annotations)
Questions to answer
How does the workflow look like to open a combo-box where you can set the expression-language (context-menu on the cell, where to open the popup, styling, ...)
Design an indicator for cells which have an expression language set
Ideally, the indicator can listen to events (e.g. is a node in the DOM), so that you can open the combo-box edit when clicking on it.
Migrated from: https://app.camunda.com/jira/browse/CAM-4839
dmn-moddle
table-js
dmn-js
dmn-js-examples
dmn-js
versionbower-dmn-js
packaging
test/app/index.html
opens in browser)dmn-js-examples
bpmn-io-demo
Currently the import fails with a cryptic error message.
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/DMN/20151101/dmn11.xsd" id="definitions" name="definitions" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="decision" name="">
<decisionTable id="decisionTable">
<output id="output1" label="Result" name="result" typeRef="string" />
<rule id="row-624115199-1">
<outputEntry id="LiteralExpression_090256m"> <text></text>
</outputEntry>
</rule>
</decisionTable>
</decision>
</definitions>
See camunda/camunda-modeler#163 for details.
Migrated from: https://app.camunda.com/jira/browse/CAM-4740
We'll eventually adopt our in-house solution with docdown.
May not be required
Migrated from: https://app.camunda.com/jira/browse/CAM-4696
This is comparable to the properties panel behaviour.
It will also make the shortcut CTRL+S more intuitive for the user
Preferably by drag and drop
The code is not very DRY in a lot of places.
The input expression popup overlaps the header of the current column.
This is not ideal because the user looses the context.
AT:
Note: if the popup is placed to the right of the column (like the datatype popup) it might not always fit on the screen
Migrated from: https://app.camunda.com/jira/browse/CAM-4380
Similar to bpmn-io/bpmn-js#495 this would issues with async API usage restrictions.
See forum post.
Reproduce:
Expected:
Observed:
Hint:
We need to change the namespace to the correct one
We need to offer a conversion for old models in the camunda modeler
The behavior of pressing the enter key should be:
This is the behavior observed in google docs and openoffice
Migrated from: https://app.camunda.com/jira/browse/CAM-4224
dmn-moddle
table-js
dmn-js
dmn-js-examples
dmn-js
versionIn the dmn-io UI I can change the variable name of the input expression result, which I than can use in the input entry expressions. The default is {{cellInput}} and the attribute is currently name {{camunda:output}} which will hopefully change (see CAM-4862).
The new attribute name is {{camunda:inputVariable}}
Issue migrated from: https://app.camunda.com/jira/browse/CAM-4863
AT:
Migrated from: https://app.camunda.com/jira/browse/CAM-4081
AT:
Migrated from: https://app.camunda.com/jira/browse/CAM-4367
Similar to bpmn-io/bpmn-js#445 we should open a lightbox on project logo click rather than directly jumping to the bpmn.io website.
See original post for details.
The cells of a table with many columns should always have a minimum width. If the table is too wide for the container with the minimum width, it should be horizontally scrollable.
We should add proper linting to the project.
AT:
Migrated from: https://app.camunda.com/jira/browse/CAM-4204
Currently the dmn-js internal icons have the class icon-dmn icon-foobar
. We should change that to dmn-icon-foobar
to avoid collisions with other fonts.
When copying a row while in simple mode, columns that have a boolean datatype always show the dropdown as empty instead of showing the correct value.
With the context menu, I can create a copy of a rules (above, below or at end - same semantic like create new).
Reproduce:
Expected:
Observed:
Seems like the column dragging in dmn-js falsefully assumes there is always a row.
Reproduce:
The logged JavaScript error is:
app.js:1592 Uncaught TypeError: Cannot read property 'cloneNode' of null
Drag.createDragVisual @ app.js:1592
Drag.updateVisuals @ app.js:1493
(anonymous function) @ app.js:1447
Use stringify for text and html concatening instead of brfs
It is easier to edit:
I can still enter more complex expressions
AT:
It is currently not possible to create combined DMN+... fonts because of the fact that the dmn-js logo is hardcoded in styles/dmn-mixins.less.
Making it a mix-in would give users the ability to redefine it, overriding the default. I.e.
.dmn-js-logo() {
text-decoration: none;
display: block;
&:after {
.dmn-font;
text-align: right;
font-size: 3em;
color: @dmn-primary;
.transition(color .218s ease);
text-decoration: none;
}
.icon-dmn.icon-dmn-js;
}
Not sure it could give us a better integration story.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.