Commit Graph
348 Commits
Author SHA1 Message Date
Sidharth Vinod 4001981f02 Fix favicon 2022-02-07 23:02:27 +05:30
Sidharth Vinod 64934dcfae Update Monaco 2022-02-04 16:49:33 +05:30
Sidharth Vinod 4c7cc04ec3 fix: hook 2022-01-21 13:48:48 +05:30
Sidharth VinodandGitHub d603927242 Merge pull request #604 from mermaid-js/sidv/compress
Compressed URL
2022-01-21 13:42:11 +05:30
Yash SinghandGitHub 73168de160 Merge branch 'develop' into revert-585-revert-478-develop 2022-01-20 20:36:44 -08:00
Sidharth Vinod 9fb7c4a176 fix: Types 2022-01-21 00:41:24 +05:30
Sidharth Vinod aee4460458 Fix types 2022-01-20 18:46:00 +05:30
Sidharth Vinod b52f2c4220 Serdes 2022-01-20 18:08:53 +05:30
Sidharth Vinod 4628a670c8 Compressed URL 2022-01-20 14:19:36 +05:30
Sidharth Vinod 399b2a338f Fix ssr 2022-01-19 17:24:10 +05:30
Marek Skrobacki c59351c84f kroki: don't make copy of the state 2022-01-19 08:25:24 +00:00
Marek Skrobacki 6ab1b296b8 kroki: switch from native to js-base64 btoa 2022-01-18 08:54:51 +00:00
Marek Skrobacki 4472b1921c kroki: generate URL / compressed diagram on-demand
Converting the diagram to base64 and compression are the operations that might
be CPU heavy, it is better to perform these only when actually needed.
After this commit, the URL will be generated only after the button is pressed
instead of after every change to the text.
2022-01-18 08:54:51 +00:00
Sidharth Vinod 787c6df2ed Merge branch 'develop' into pr/skrobul/584
* develop:
  Revert "Use `monaco-mermaid`"
2022-01-18 11:24:36 +05:30
Sidharth VinodandGitHub b0cb4e6a0e Revert "Revert "Use monaco-mermaid"" 2022-01-18 11:21:57 +05:30
Sidharth VinodandGitHub 96af5f427c Revert "Use monaco-mermaid" 2022-01-18 11:16:09 +05:30
Marek Skrobacki 36bcd32ee3 Kroki support
This commit adds support for generating links to be rendered with
[Kroki](https://kroki.io) compatible renderer. Apart from supporting many other
diagram formats, it directly benefits Mermaid editor because it generates much
shorter URLs (due to the compression).

Custom Kroki URL can be configured through environment variable if you want to
use self-hosted instance of Kroki.
2022-01-17 20:51:30 +00:00
Sidharth VinodandGitHub 046437a663 Merge branch 'develop' into develop 2022-01-17 11:06:53 +05:30
Sidharth Vinod 9f94a920ee Remove GitGraph as it's unsupported. 2021-12-29 20:21:29 +05:30
Matthieu MORELandGitHub bef34c81d6 Merge branch 'develop' into develop 2021-12-16 07:37:26 +01:00
Matthieu MORELandGitHub 5fbfbf3253 yarn lint:fix (#542) 2021-12-16 00:03:54 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>mmorel-35
c64618ed19 chore(deps): bump monaco-editor from 0.30.1 to 0.31.1 (#535)
* chore(deps): bump monaco-editor from 0.30.1 to 0.31.1

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.30.1 to 0.31.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Monaco-editor

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmorel-35 <mmorel-35@users.noreply.github.com>
2021-12-15 22:41:22 +01:00
Yash-Singh1 ee01c440a9 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into develop 2021-12-09 19:01:42 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>mmorel-35
b5adf8e282 chore(deps): bump monaco-editor from 0.30.0 to 0.30.1 (#495)
* chore(deps): bump monaco-editor from 0.30.0 to 0.30.1

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.30.0 to 0.30.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.30.0...v0.30.1)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Monaco-editor

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmorel-35 <mmorel-35@users.noreply.github.com>
2021-11-12 18:07:38 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthieu MORELYash Singh
a053659aa1 chore(deps): bump monaco-editor from 0.29.1 to 0.30.0 (#486)
* chore(deps): bump monaco-editor from 0.29.1 to 0.30.0

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.29.1 to 0.30.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.29.1...v0.30.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-11-07 22:20:01 +01:00
Yash-Singh1 0d745fbb29 Refactor because editor only file in dir 2021-10-31 15:00:30 -07:00
Yash SinghandGitHub 3354663ada Delete util.ts 2021-10-31 14:58:57 -07:00
Yash-Singh1 4f0c38b36e Use monaco-mermaid 2021-10-31 14:56:07 -07:00
Sidharth Vinod 46bcd5543a Update Monaco 2021-10-16 01:15:49 +05:30
Sidharth Vinod 9aba3693f1 fix: revert stateStr change 2021-10-09 11:24:41 +05:30
Sidharth Vinod 5494911830 Merge branch 'master' into develop
* master:
  feat: Add renderer url config
  feat: Add renderer url config
2021-10-09 11:23:17 +05:30
Sidharth Vinod b3cc9f70ff feat: Add troubleshooting if link is broken 2021-10-09 10:33:50 +05:30
Sidharth Vinod aadf4ec8dc feat: Add renderer url config 2021-10-02 13:39:07 +05:30
Sidharth VinodandGitHub ffdaaa3c5d Merge pull request #384 from Yash-Singh1/patch-1
Add actor support
2021-10-01 19:47:45 +05:30
Sidharth VinodandGitHub 506f0f4133 Merge pull request #403 from Yash-Singh1/patch-2
Fix documentation for requirement diagram element
2021-10-01 00:17:48 +05:30
Yash SinghandGitHub 9ff8bb54eb Fix documentation for requirement diagram element 2021-09-25 16:36:16 -07:00
Sidharth Vinod a2084bbf42 feat: add docker compose 2021-09-25 12:35:37 +05:30
Yash SinghandGitHub bcad69e2d0 Add actor support on sequence diagram 2021-09-23 19:09:27 -07:00
Sidharth Vinod dfe32b93c0 fix: #381 URL mismatch 2021-09-22 12:05:25 +05:30
Sidharth Vinod 45c5958b56 Fix: Light theme not being set by default 2021-09-18 10:10:53 +05:30
Sidharth Vinod 15a90149be Merge branch 'master' into daisyUI
* master:
  Fix " > base64State is not defined"
  chore(deps-dev): bump svelte-preprocess from 4.8.0 to 4.9.4
  chore(deps-dev): bump eslint-plugin-cypress from 2.11.3 to 2.12.1
  chore(deps-dev): bump cypress from 8.3.1 to 8.4.0
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps): bump js-base64 from 3.7.0 to 3.7.1
  chore(deps-dev): bump svelte from 3.42.5 to 3.42.6
  chore(deps): bump node from 16.9.0 to 16.9.1
  chore(deps-dev): bump prettier from 2.4.0 to 2.4.1
  chore(deps-dev): bump @sveltejs/adapter-static
  chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
2021-09-18 10:04:10 +05:30
Sidharth Vinod 113c50e255 Fix " > base64State is not defined" 2021-09-17 23:51:26 +05:30
30651c41de Apply suggestions from code review
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-09-17 19:46:28 +05:30
Sidharth Vinod 2868870065 chore: rename theme 2021-09-17 19:41:50 +05:30
Sidharth Vinod 4ed439b3ad fix: Mermaid Theme 2021-09-17 19:39:27 +05:30
Sidharth Vinod d2673d5326 Merge branch 'master' into daisyUI
* master: (25 commits)
  chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
  chore(deps-dev): bump svelte from 3.42.4 to 3.42.5
  chore(deps): bump js-base64 from 3.6.2 to 3.7.0
  chore(deps): bump node from 16.8.0 to 16.9.0
  Skip beta deploy
  [ImgBot] Optimize images
  Dont allow lookbehind in regexp
  Fix no lookbehinds in comments
  chore(deps-dev): bump tailwindcss from 2.2.11 to 2.2.15
  chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.0 to 3.2.1
  chore(deps-dev): bump prettier from 2.3.2 to 2.4.0
  Test deploy on PRs
  Fix manifest issue
  Update node
  Add back Highlighting. #340
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0
  chore(deps): bump js-base64 from 3.6.1 to 3.6.2
  chore(deps-dev): bump tailwindcss from 2.2.9 to 2.2.11
  chore(deps): bump node from 14.17.0 to 16.8.0
  ...
2021-09-17 19:19:54 +05:30
Sidharth Vinod 2b757cc433 fix: menu width 2021-09-17 19:16:05 +05:30
Sidharth Vinod b890622543 fix: Use span instead of a in menu 2021-09-17 19:08:23 +05:30
91fe1911fb Update src/lib/components/navbar.svelte
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-09-17 18:43:40 +05:30
Yash-Singh1 5e5c869ada Fix no lookbehinds in comments 2021-09-11 12:22:14 -07:00