Proof of concept: mermaid#15118
Conversation
# Conflicts: # frontend/package-lock.json # frontend/package.json
|
Hi @as-op, Thanks for working on this. I would like to reopen this spike. Can you please rebase it? My intention is to explore options to use Mermaid for showing phases and gates in the project overview. https://community.openproject.org/projects/stadt-koeln/work_packages/61382/activity?query_id=5924 Thanks |
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.24.4 to 7.26.10. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers) --- updated-dependencies: - dependency-name: "@babel/helpers" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…roof-of-concept/mermaid # Conflicts: # frontend/package-lock.json # frontend/package.json # frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.ts # frontend/src/app/shared/components/fields/display/field-types/formattable-display-field.module.ts # frontend/src/vendor/ckeditor/ckeditor.js # frontend/src/vendor/ckeditor/ckeditor.js.map
|
Hi @lindenthal, happy to! I still think it would be of great value for many users to have Mermaid in OpenProject. I don't have access to the work package you linked, so I'm not sure this PR will help: This is a proof of concept for Mermaid in the work package descriptions/long text fields/user comments, so it involves an unsupported CKEditor plugin in our CKEditor build. Us using Mermaid as part of OpenProject - like we use Chart.js or FullCalendar - would be easier to maintain. Best, Andrej |
|
@lindenthal - any thoughts on native implementations for this feature (without the added weight)? All the cool bots are using it these days 😉 |
|
+1 |
https://community.openproject.org/wp/29668
Testing mermaid integration:
ckeditor/mermaidplugin(probably a timing bug in ckeditor/mermaid)
Showstopper:
puppeteer, which installs several hundreds of MB of Chromium or Firefox support files. Server Side Support mermaid-js/mermaid#3650Screenshots:


Note: Because of large changes in the activity tab, mermaid charts are not resolved in user comments anymore in this proof-of-concept.