Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge Requests
  • !15107

Merged
Created Oct 31, 2017 by blackst0ne@blackst0neDeveloper7 of 19 tasks completed7/19 tasks

Add support of Mermaid

  • Overview 72
  • Commits 1
  • Pipelines 21
  • Changes 19

What does this MR do?

This MR adds support of Mermaid - a tool for generation of diagrams and flowcharts from text.

Known issues

The original mermaid library breaks current GitLab's layout including SVG elements.
The upstream has a bugfix for it which is not merged yet (low maintainers activity).
So until the fix is merged, I have created a forked version of mermaid with all needed fixes (an npm package is published too).

Once the upstream is updated, we should remove the fork and use the original library.

Why was this MR needed?

It adds an ability to draw charts right inside GItLab.

Screenshots (if relevant)

image

todo

  • Add screenshots
  • Test mermaid in wiki pages
  • Test mermaid in files
  • Test mermaid in snippets
  • Force this upstream PR to be merged or fix the bug in GitLab.
  • Add backend specs
  • Add frontend specs
  • Update documentation (markdown help page).

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Documentation created/updated
  • API support added
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by UX
    • Has been reviewed by Frontend
    • Has been reviewed by Backend
    • Has been reviewed by Database
  • Conform by the merge request performance guides
  • Conform by the style guides
  • Squashed related commits together

What are the relevant issue numbers?

Closes #3711 (closed)

Edited Nov 22, 2017 by blackst0ne
Assignee
Assign to
Reviewer
Request review from
10.3
Milestone
10.3 (Past due)
Assign milestone
Time tracking
Reference: gitlab-org/gitlab-foss!15107
Source branch: feature_add_mermaid