aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralinayejin <alina_kim@brown.edu>2023-12-06 22:03:08 -0500
committeralinayejin <alina_kim@brown.edu>2023-12-06 22:03:08 -0500
commita45ae9050d2388d84005f1280625b7b6ee3cf989 (patch)
treef798e5831c7aac144f88ebd26aea8f7b6e54e557 /src
parent75915bfb1699959c9684a19d93389f8a9cb4518a (diff)
initial demo
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
index 09df4bfab..d38cabc7e 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
@@ -29,11 +29,11 @@ export class CollectionFreeFormInfoUI extends React.Component<CollectionFreeForm
if (docs.length === 1) {
this.firstDoc = docs[0];
this.firstDocPos = { x: NumCast(this.firstDoc.x), y: NumCast(this.firstDoc.y) };
- this.message = 'Doc 1';
+ this.message = 'Hello world! You can drag and drop to move your document around.';
} else if (docs.length === 2) {
- this.message = 'Doc 2';
+ this.message = 'Great job. To create a new link between them, click the link icon on both documents.';
} else {
- this.message = 'Click anywhere and begin typing to create your first text document!';
+ // this.message = 'Click anywhere and begin typing to create your first text document!';
}
},
{ fireImmediately: true }
@@ -42,10 +42,10 @@ export class CollectionFreeFormInfoUI extends React.Component<CollectionFreeForm
() => ({ x: NumCast(this.firstDoc?.x), y: NumCast(this.firstDoc?.y), links: this.firstDoc && LinkManager.Instance.getAllDirectLinks(this.firstDoc) }),
({ x, y, links }) => {
if ((x && x != this.firstDocPos.x) || (y && y != this.firstDocPos.y)) {
- this.message = 'You moved the doc.';
+ this.message = 'Great moves. Try creating a second document.';
}
if (links && links.length > 0) {
- this.message = 'You made your first link! You can also click the link icon to start and complete the link.';
+ this.message = 'You made your first link! You can view your links by selecting the blue dot.';
}
},
{ fireImmediately: true }
@@ -57,7 +57,7 @@ export class CollectionFreeFormInfoUI extends React.Component<CollectionFreeForm
this.message = "You're in pen mode! Click and drag to draw your first masterpiece.";
}
if (viewingLinks) {
- this.message = 'Viewing links';
+ this.message = 'To edit your links, click the pencil icon.';
}
if (Doc.ActiveTool === InkTool.Pen) {
this.message = 'Editing links';
@@ -78,9 +78,9 @@ export class CollectionFreeFormInfoUI extends React.Component<CollectionFreeForm
this._disposers.reaction5 = reaction(
() => ({ pin: Doc.ActivePresentation?.data, trails: DocumentManager.Instance.DocumentViews.find(view => view.Document === Doc.MyTrails) }),
({ pin, trails }) => {
- if (pin) {
- this.message = 'You pinned your doc to a trail.';
- }
+ // if (pin) {
+ // this.message = 'You pinned your doc to a trail.';
+ // }
if (trails) {
this.message = 'This is your trails tab.';
}