wps / egon.io Goto Github PK
View Code? Open in Web Editor NEWA tool to visualize Domain Stories in your browser
Home Page: http://domainstorytelling.org
A tool to visualize Domain Stories in your browser
Home Page: http://domainstorytelling.org
Is your feature request related to a problem? Please describe.
Let the user change the color of a work object or actor, e.g. to express org. units, to distinguish digital and analog work objects etc.
Describe the solution you'd like
Describe alternatives you've considered
Is your feature request related to a problem? Please describe.
Some users expect the activity label and/or number to be editable. After all, a double click on the label of an actor or work object lets you edit its label. Activities behave differently.
Also, double-clicking on the line of the arrow is not that easy.
Describe the solution you'd like
If I doube-click on the label of an activity, I can edit the label.
If I doube-click on the number of an activity, I can edit the number.
Describe alternatives you've considered
Inline-editing after double click would we closest to the behavior that users expect. But if I remember correctly, we have already looked into that and it was not so easy to get it to work with a label and a number.
For me, a viable alternative would be that a double-click on either the label or the number opens the same popup that we currently show when clicking on the arrow.
To make it easier to correct modeling mistaktes, the direction of an arrow should be changeable.
Is your feature request related to a problem? Please describe.
When work objects or actors have long names, these are not hyphenated. As a result, the line is broken after a fixes length. Readability of the labels decreases. Languages with longer words like German are especially affected.
Describe the solution you'd like
Hyphenation already works* for the title and description. It should work for labels as well.
*) depending on your language and browser. Works only in Firefox and Chrome for Android/Mac, see https://caniuse.com/#search=hyphen
Describe alternatives you've considered
Word-wrap is already enabled and not a solution.
To ensure all development machines use the same package tree, start using npm package-lock.json.
Describe the bug
Special characters like & are automatically revomed from labels after hitting enter.
Is there really a need to sanitize user input?
Expected behavior
There should be a reasonable guideline, which inputs are forbidden.
Desktop (please complete the following information):
examples (as .dst files) should be downloadable from GitHub
As of v0.2.0, the modeler requires an internet connection at least at first startup to download js libraries and icons. Once the ressources are cached in the browser, the modeler can be used offline.
It would be better to deploy all required ressources with the modeler so that it is truly offline enabled.
The modeler uses the outline version of Google's Material icons,. However, in the context pad and in the palette, solid icons are used instead.
The icons should be unified. Outline is the style of choice because it is more printer friendly.
test for compatibility issues and fix them
When the label of a model element (actor or work object) has more than one line, arrows connected to the model element begin/end in the second line of text.
It should be possible to have at least two lines of text without overlapping arrows.
enable to search for text in all the story and highlight/jump to matches
Describe the bug
When the SVG is opened in an image viewer or GIMP, there are no arrowheads.
It seems that it only works when the SVG is opened in a browser (Chrome or Firefox). This also affects SVGs that are rendered in Latex documents, both on Windows and Linux.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The arrowheads shoudl be rendered.
Desktop:
Is there any workaround?
Describe the bug
When the description text is longer than the width of the domain story, the text gets cut off.
To Reproduce
SVG export cuts description_2019-03-07.txt --> rename to .dst
Steps to reproduce the behavior:
Expected behavior
The description could be wrapped or the width of the SVG could be increased.
Screenshots
SVG export cuts description_2019-03-07.svg.txt
--> rename to SVG
Desktop (please complete the following information):
To avoid linting errors, create a settings file for VS Code:
Describe the bug
When downloading the DS as PNG in Firefox, nothing happens. It works in Chrome (as implemented in #26). Chrome works fine. There is no error logged to the developer console.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An offer to download the PNG, as with SVG.
Desktop:
Is your feature request related to a problem? Please describe.
One of the ideas of domain storytelling's pictographic language is to use domain-specific icon. But so far, only a fixed icon set is available in the modeler.
Describe the solution you'd like
Ideally, the modeler provides a configurable icon set. The modeler ships with a few dozen icons. Which are available in the palette and context pad should be configurable by the user, without the need to deploy a new version of the modeler.
If even the new, configurable icon set does not meet the user's reqirements, it should be easy for programmers to add additional icons. That would require to download the source code, program some javascript and CSS and deploy the modeler.
To ensure compatibility between modeler instances with different icon sets, the current icon set should be used as a fallback. E.g. unknown actor icons could be mapped to "person" actors.
Describe alternatives you've considered
Additional context
We should keep the base icon set as is, allowing end users to grow it if needed. That will likely result in scenarios where the palette becomes too big or unmanageable, but I think that might be a desirable problem to have and one to solve once we have it.
We want to brainstorm and compare different ways to customize icons.
Describe the bug
After adding a new work object via the context pad, the label of the new work object was not visible anymore (see activity 9):
Also, the position could not be changed. I deleted the work object and created a new one (again from the context pad), but the behaviour was the same.
After that problem occured, I added an actor an an annotation that were broken too (see 9 and 2 in the screenshot). However, replay still worked.
I downloaded the Domain Story as SVG, but it did not contain the broken activity 9 and the broken annotation at 2.
Exporting and importing the .dst file fixed the Domain Story, all broken activities and labels worked as expected.
To Reproduce
I could not reproduce the behaviour manually, but there is an error in the console log:
app.js:28457 Error: element with id shape_6598 already exists
at Canvas._ensureValid (app.js:27286)
at Canvas._addElement (app.js:27332)
at Canvas.addShape (app.js:27361)
at CreateShapeHandler.execute (app.js:36232)
at app.js:26713
at CommandStack._atomicDo (app.js:26676)
at CommandStack._internalExecute (app.js:26707)
at CommandStack.execute (app.js:26463)
at DSModeling.Modeling.createShape (app.js:35713)
at AppendShapeHandler.preExecute (app.js:36009)
My guess is that the activity that connects to the newly created work object did not get a unique ID.
Desktop (please complete the following information):
Hi,
Trying to import a 0.4.0 version dst-file into the new 0.5.0 online modeler does not show any of the created icons and processes. The modeler screen remains blank. However, the name list of all entities is imported and can be modified.
This affects all major browsers (IE, Firefox, Chrome). That said, Chrome at least gives a hint regarding an incompatible version when importing the yesterdays created file.
Hope time was not wasted and import can be made compatible. Thanks
Regards
Is your feature request related to a problem? Please describe.
Currently the animation order [the little number (1) or (2) next to an arrow] is fixed based on when I added it. The problem is that new arrows are discovered during the modeling phase, that might have an order number that is lower than the already existing arrows.
Describe the solution you'd like
I would like to be able to reorder arrows in the animation.
Describe alternatives you've considered
I would like to be able to edit the arrow order label.
Additional context
None
Could find the feature, but seems that parallel steps are missing.
Is your feature request related to a problem? Please describe.
When creating a story, one cannot see where the canvas origin is, sometimes resulting in stories that are far away from the origin, making it almost impossible to find them when importing them again.
Describe the solution you'd like
The story should be moved towards the origin when importing it.
Describe alternatives you've considered
One could also consider moving the story during export, but this would mean fixing a story that is far away from the origin would require importing and re-exporting it.
It would be nice if the modeler had a way to captured assumptions in the tool
Is your feature request related to a problem? Please describe.
When working on multiple stories, one can easily forget, if a story has been modified since the last time it was exported.
Describe the solution you'd like
Add a dirtyFlag if the DomainStory has changed since the last export.
Is your feature request related to a problem? Please describe.
One of the ideas of domain storytelling's pictographic language is to use domain-specific icon. But so far, only a fixed icon set is available in the modeler. With this feature, it would be possible to add individual icons (or even more complex graphics).
Describe the solution you'd like
Change an icon by uploading a SVG from a local drive.
The custom SVG is exported in the .dst file to ensure compatibility.
Describe alternatives you've considered
Might not be that important anymore after implementing #32
Additional context
Describe the bug
When I change the size of an annotation, the change is not preserved after export/import.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Size should be preserved
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
Provide customizable color themes for actors and work objects, e.g. to distinguish between them.
Describe the solution you'd like
Ideally, the color theme should be configurable by the user, without the need to deploy a new version of the modeler.
Describe alternatives you've considered
To speed up modeling, the modeler should show suggestions for words when editing labels of work objects. The set of words that are suggested consists of all unique words that are used in work object lables.
Actors are usually unique per story, so auto completion is only really useful for work objects.
In Chrome Version 70.0.3538.102 text is not displayed and looks like an empty annotation box.
To fine-tune the layout, it would be helpful if one could move the labels of arrows manually.
It looks like it's only possible to open the conversation icon with text after saving and reopening.
PS: thanks for your presentations at TAG 2018
Describe the bug
Activities cannot be deleted by clicking on the trash symbol in the context pad. However, deleting them with the delete key works.
To Reproduce
Expected behavior
Activities can be deleted by either clicking on the trash icon in the context pad or by hitting the delete key on the keyboard.
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
Sometimes one needs to rearrange, delete or insert activities in a domain story. This will probably mess up the numbering.
Describe the solution you'd like
To check if the activities are in the right sequence, I replay the domain story. But that requires the activities to be numbered consecutively. If they are not, a error message is shown. I would like a error message that tells me which numbers are missing.
Describe alternatives you've considered
The error message could also show which is the last number that is still ok.
Let's say a work object "contract" occurs several times in the same story. Then you discover that the domain experts actually use the term "agreement". The modeler should provide a feature to rename all instances of "contract" to "agreement" so that I don't have to correct every occurence manually.
Describe the bug
When you reconnect an arrow, the order in which the activities are displayed during replay is messed up.
To Reproduce
See attached .txt-file (rename to .dst)
bug in replay_2018-12-03.txt
Originally, there was an activity from Actor A to Object 1 to Actor B.
Then, I reconnected the arrow from Actor A to Object 2.
Then, I connected Actor A again with Object 1.
When I start the replay, the arrows and work objects from the original connection are shown (see attached screenshot)
Expected behavior
When replay is started, the arrows and work objects should be displayed in the correct order.
Desktop (please complete the following information):
chrome
When an activity is reconnected to another target type (i.e. from an work object to an actor or the other way round), the activity needs to be update to show/not show a numbers. The appropriate dialog for editing the activity should be shown on click.
Auto-numbering should consider if a number was removed (e.g. by changing the source from actor to work object).
Undo (ctrl+z) and redo (ctrl+y) do not work properly:
The tests for importing .dst-files must be updated to test .dst-files with icon-configuration
Especially on small screens (13" Laptop) and with low resolutions (e.g. old presenters), the header takes up a lot of space. That reduces the space that is left for modeling.
We should find a way to increase vertical modeling space but at the same time allow several lines of description in the header.
If you type an apostrophe, it gets removed as soon as you hit enter. For example: If you type the french word l'apostrophe it will be changed to lapostrophe.
Apostrophes should be allowed so that the modeler is usable for international users.
Is your feature request related to a problem? Please describe.
When using the "replay" feature with large domain stories, I often have to scroll or zoom out to see the whole story unfold.
Describe the solution you'd like
When I start the replay, the application should turn in a "presentation mode". When I replay a story, I am not interested in the title and description. Also, I don't need the logo buttons, the import/export buttons, the dictionary and the keyboard shortcuts. Therefore, they do not need to be visible and the space can be used to maximize the space for the actual story.
The back, forward and stop button and the activity number (e.g. 3/11) only need to be visible during replay. Therefore, they can be removed when modeling and the space that is gained could be used to maximize modeling space (go back to 1 line layout instead of the 2 line layout that was introduced with v0.4.0)
In addition to the svg export, a direct export to png or jpg would be useful because these file formats are often easier to share and distribute.
The standard icon set was compiled to express typical "office work" and should cover a lot of domains. Are there some icons missing that are universally applicable?
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.