-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
98 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { h, Fragment } from "preact"; | ||
|
||
// TODO: Check about using MDX for this. | ||
const Help = () => ( | ||
<Fragment> | ||
<p className="alert alert-warning"> | ||
🚧 This is very much a work in progress. Expect rough edges and paper | ||
cuts. 🚧 | ||
</p> | ||
<h3 className="h5">What is this?</h3> | ||
<p> | ||
This is a collaborative live editor for{" "} | ||
<a href="https://mermaid.js.org">Mermaid</a> diagrams. If you don't care | ||
about multiplayer, the existing{" "} | ||
<a href="https://mermaid.live">live editor</a> is probably a better option | ||
for a single user. | ||
</p> | ||
<h3>How do I collaborate?</h3> | ||
<ul> | ||
<li> | ||
If you share the current URL with someone you'll be able to edit the | ||
diagram concurrently with live rendering. | ||
</li> | ||
<li>All diagrams supported by Mermaid v10+ should be supported as is.</li> | ||
<li> | ||
There is no persistence, when the last user leaves a room the document | ||
will be lost. This is primarily aimed at live collaboration sessions | ||
after which the diagram can be copy-pasted in a document. | ||
</li> | ||
</ul> | ||
<h3 className="h5">Security / privacy</h3> | ||
<p> | ||
This tool currently relies on a WebSocket sharing server which sees the | ||
document updates. It's not recording anything but you generally shouldn't | ||
use it for anything sensitive. | ||
<br /> | ||
Work is in progress to support peer to peer through WEB RTC and encrypted | ||
collaboration. | ||
</p> | ||
<hr /> | ||
<p> | ||
Find more details on{" "} | ||
<a href="https://github.com/lirsacc/siren-chorus">GitHub</a> | ||
</p> | ||
</Fragment> | ||
); | ||
|
||
export default Help; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters