From e5536e19be862125cef574faff4d745191d7849c Mon Sep 17 00:00:00 2001 From: alinayejin Date: Tue, 19 Dec 2023 22:34:48 -0500 Subject: upgraded info ui state --- .../collectionFreeForm/CollectionFreeFormInfoUI.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx index dc0930a23..6a9c96854 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx @@ -73,7 +73,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent numDocs() > 1, () => multipleDocs], @@ -143,13 +143,13 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent activeTool() === InkTool.Pen, () => penMode], }, setBackground("black")); // prettier-ignore - const presentDocs = InfoState('Another document! You could make a presentation. Click the pin icon on the top left corner.', { + const presentDocs = InfoState('Another document! You could make a presentation. Click the pin icon in the top left corner.', { docPinned: [() => pin().length > trail, () => { trail = pin().length; return pinnedDoc1; }], docRemoved: [() => numDocs() < 3, () => viewedLink], - }, setBackground("pink"), "assets/dash-pin-with-view.gif"); + }, setBackground("black"), "/assets/dash-pin-with-view.gif"); const penMode = InfoState('You\'re in pen mode. Click and drag to draw your first masterpiece.', { // activePen: [() => activeTool() === InkTool.Eraser, () => eraserMode], @@ -171,7 +171,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent numDocs() < 3, () => viewedLink], }); - const pinnedDoc2 = InfoState(`You pinned ${pin().length} docs.`, { + const pinnedDoc2 = InfoState(`You pinned another doc.`, { docPinned: [() => pin().length > trail, () => { trail = pin().length; return pinnedDoc3; @@ -182,7 +182,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent numDocs() < 3, () => viewedLink], }); - const pinnedDoc3 = InfoState(`You pinned ${pin().length} docs.`, { + const pinnedDoc3 = InfoState(`You pinned yet another doc.`, { docPinned: [() => pin().length > trail, () => { trail = pin().length; return pinnedDoc2; @@ -218,7 +218,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent numDocs() == 4, () => completed], }); - const completed = InfoState('Eager to learn more? Click the ? icon on the top right corner to read our full documentation.', { + const completed = InfoState('Eager to learn more? Click the ? icon in the top right corner to read our full documentation.', { docRemoved: [() => numDocs() == 1, () => oneDoc], }, setBackground("white")); // prettier-ignore -- cgit v1.2.3-70-g09d2