Coder Social home page Coder Social logo

color-of-code / dokuwiki-plugin-bpmnio Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 2.13 MB

Renders BPMN and DMN diagrams using the bpmn.io js library within dokuwiki

Home Page: https://www.dokuwiki.org/plugin:bpmnio

License: Other

PHP 83.69% JavaScript 11.35% Less 4.96%
bpmn diagram dmn dokuwiki plugin xml

dokuwiki-plugin-bpmnio's People

Contributors

jdehaan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dokuwiki-plugin-bpmnio's Issues

Cleanup vendor code

Vendor code coming from https://github.com/bpmn-io shall be

  • put in its own vendordirectory
  • taken care about adding appropriate license

This ensures things are clearly separated and easier to grasp what parts of code are

  • internal or external code
  • under this or that license

Integrate the editor

Add feature to edit the diagram in-place within the dokuwiki page

Check the pull request in details and adjust the code to fit-in.

Support DMN modeler

  • The DMN modeler shows a toolbox over the viewer in the main view, this should be prevented
  • The Data after editing the DMN diagram is not fed back to the page correctly (lost edit)

unable to edit section

When the bpmnio image is at the bottom of the section, i am unable to edit the section.

The edit button is visible, but can not be clicked:

image

culprit:
div class="bjs-container"

Character encoding

From left to right:
xml file, bpmn.io editor, rendered output in dokuwiki

image

in the dokuwiki render, there is a problem with character encoding.

IDEA: Optional flag `read-only` to the options to mute the editor.

Thanks for the comment! I plan to add the editor alike the table editor for example. The plugin would not bypass normal page rules, that means people without write rights won't be able to change things. But you are right, if the editor is too easily accessible someone might inadvertently modify things. Maybe adding an optional flag like read-only to the options will mute the editor. I think that is a good idea.

Originally posted by @jdehaan in #5 (comment)

Installation via Extension Manager breaks Dokuwiki

Installing the extension via the Extension Manager on Dokuwiki "Hogfather" results in the following error message:

Parse error: syntax error, unexpected end of file in [...]/dokuwiki/lib/plugins/bpmnio/action/editor.php on line 107

Afterwards, not a single page of my wiki can be accessed and only the error message appears on every page. I had to manually delete the bpmnio folder in the plugins directory to be able to access my wiki again.

Link to DokuWiki pages

I would like to link my process steps to DokuWiki pages. Do you have any idea how this could be implemented?

Slow to load with Safari

Any page with a diagram rendering takes ~12 seconds to load in Safari (OS X). Using Safari's timeline recording, it looks all of that time is spent in JQuery.ready, triggered by DOM Content Loaded Event Dispatched.
I've tested on IE, FF, and Chrome and they all load pages with diagrams as fast as any other page.
I can send additional information if you are interested in checking it out, though at this point I'm just going to use another browser

Strange visualisation for DokuWiki Version Igor

Hello
after updating to version rc2022-06-26 "Igor" RC2 I noticed that the visualisation is strange (see testprocess).
I downloaded the version with MicroApache for testing (old and new version (RC) of DokuWiki).
Please fix this problem with the new DokuWiki release
testbild

Update to newest bpmnio js version

The project has made many releases since last time and improved a lot of aspects

Make sure the new release does not break dokuwiki integration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.