A place to cache linked articles (think custom and personal wayback machine)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.md 9.7KB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. title: Design Notes
  2. url: https://www.colophon.cards/notes/01-design-notes/
  3. hash_url: 258d0f17fbbfcfb94be82fb7dd585f66
  4. <h2>The high concept (in apps)</h2>
  5. <p>Colophon Cards should be the marriage of <a href="https://notational.net/">Notational Velocity’s search-first navigational model</a> with Twitter’s card stack model.</p>
  6. <p>Most people don’t notice this but Twitter’s conceptual model is that of a recursive stack of cards. Each tweet is about as much as you’d fit on one side of an index card. Each tweet is also a thread which is a stack of related cards. The timeline is a top-level thread/stack. This is the reason why the algorithmic timeline is such a disruption of how even non-techies use Twitter: it’s a fundamental break in the service’s basic design.</p>
  7. <p>From Notational Velocity’s website:</p>
  8. <blockquote>
  9. <p>The same area is used both for creating notes and searching. I.e., in the process of entering the title for a new note, related notes appear below, letting users file information there if they choose. Likewise, if a search reveals nothing, one need simply press return to create a note with the appropriate title.</p>
  10. <p>If a note’s title starts with the search term(s), that title will be “auto-completed”. This selects the note and consequently displays it. Correspondingly, selecting a note places its title in the search area (De-selecting the note restores the search terms).</p>
  11. <p>To create a new note, just type its title and press return. Edit the note as needed in the bottom pane.</p>
  12. <p>To view or edit an existing note, type one or more words contained in its body or title. Reveal a note’s content by using the up/down arrow keys to select it.</p>
  13. </blockquote>
  14. <p>My theory is that I can adapt this navigational model to work with the cards and stacks model popularized by Twitter.</p>
  15. <h2>Terminology</h2>
  16. <p><em>Threads</em>: I’ve decided to prefer threads over stacks as, even though, they would mean the same thing when you are building with cards as a core metaphor, they’ve come to have specialised meanings in UX and UI in general. Namely, a thread has come to be the standard term for “a linear sequence of things, some of which may also be similar linear sequences of their own”.</p>
  17. <p><em>Cards</em>: this has also become a generic term for a UI widget that contains some form of content.</p>
  18. <p><em>Activity/Activity Stream</em>: often called event stream. This is a stream of the events/activities that form all of the data belonging to a particular user. This is usually an implementation detail (every social media platform implements something like this, as do most apps/services that need to sync data from one place to another). But I would like to test surfacing it as a UI element to see if it helps recall and aids understanding.</p>
  19. <h2>The main single-user loops</h2>
  20. <h3>The thread</h3>
  21. <p><img src="/images/threads-sketch2.jpg" alt="Sketch of how threads might work"></p>
  22. <p>The core UI view of the app is a thread of cards (or cards and actions on cards, if I follow through with the activity streams idea).</p>
  23. <p>The UI would be structured in a way that’s similar to Twitter or Mastodon:</p>
  24. <ol>
  25. <li>At the top you have an input box.</li>
  26. <li>Below it you have a stream of cards and activities in reverse-chronological order (newest first).</li>
  27. <li>Type text in the search box</li>
  28. <li>The thread is then filtered to only shows cards whose name begins with the search text until there is one (to update) or none.</li>
  29. <li>At any point in the search, the user can hit the button or press return to create a card with that name. Or they can edit the top card and autocomplete the term to that card’s name.</li>
  30. </ol>
  31. <p>One of the core properties of a search-first UI like this (<em>true</em> search first, not baked-on-because-we-don’t-do-design search first like Google Drive) is that it makes you much more aware of the names of things and constantly surfaces older, relevant, cards as you are thinking about names for your new thing.</p>
  32. <p>The innovation here over Notational Velocity is that each card is also a thread and therefore a completely encapsulated search space. So, you can have a thread for ebooks. A thread for images. A thread for a project. For bookmarks.</p>
  33. <p>Thoughts:</p>
  34. <ul>
  35. <li>I am tempted to have the thread be an activity stream. Instead of just the cards, you would also have the activities on those cards listed in the thread. Like “You updated ‘design notes’” or “You archived ‘design notes’”. I would like to see if having explicit records on your activities in a thread is a helpful mnemonic or not. AFAIK there hasn’t been much research on whether this is helpful in a single-user context so I’m tempted to test it out.</li>
  36. <li>Full-text search would be on the roadmap but I need to demonstrate the practicality of the basic design model first.</li>
  37. <li>The user shouldn’t be able to create multiple cards with the same name in the same thread. Trying to create a card with a name identical to another would bring up an edit view for that card.</li>
  38. </ul>
  39. <h3>The Card</h3>
  40. <p><img src="/images/card-sketch.jpg" alt="Sketch of how cards might work"></p>
  41. <p>The created card has a name, replies (only displayed when you open the card as a thread), attachments, and a body. Possibly later a drag handle.</p>
  42. <p>Thoughts:</p>
  43. <ul>
  44. <li>“name” might be the wrong term for what is, in effect, the main text of the card and should be thought of as more akin to a tweet than document title. Maybe ‘card text’ (plain text, quick search) versus ‘card body’ (rich text, only findable using a full-text-search feature down the line).</li>
  45. <li>Should the body be rich text, plain text or markdown (irrespective of what it’s stored as)? Markdown is the de facto note standard but is honestly a mess of partially compatible implementations. It also forces a modality to your editing: notes have two completely different modes that look and work in very different ways. Plain text is universal but incredibly limited. A rich text interface has the most potential but is more complicated and harder to pull off.</li>
  46. <li>More on modality: getting rid of modes does more to make a UI feel fast than most of the performance work engineers love to throw at problems like these. The “find item -&gt; click edit on item -&gt; edit -&gt; save item” cycle is always going to feel slow, no matter how many optimisations through throw at it. If you figure out a way to make it “find item -&gt; edit item” (no ‘edit mode’) then the UI will feel fast no matter how unoptimised the implementation is.</li>
  47. </ul>
  48. <h3>Tags</h3>
  49. <p>Add tag support by assigning all tags mentioned in the body or name to the card. You can show all cards with that tag by entering it (with the preceding #) in the search box.</p>
  50. <h3>Replies</h3>
  51. <p>Every card is also a thread. The replies link on the card is a link to the card’s thread. The card thread UI is identical to the top thread UI. Replies are created in the same way with the same loop as in the top thread.</p>
  52. <p>Thoughts</p>
  53. <ul>
  54. <li>I would like to avoid having a specific reply UI and instead keep the conceptual model the same all the way down.</li>
  55. </ul>
  56. <h3>Workspaces/Accounts?</h3>
  57. <p>Should the user be able to have multiple top-level threads, each a separate workspace? Or do the child cards of a solo top thread serve the same function?</p>
  58. <h3>Pinning</h3>
  59. <p>The UI should support pinned notes that are persistently floated to the top. One idea is that on displays that are wide enough the pinboard should be a sidebar space and that pinned cards don’t have to just be pinned up to but that they could be arranged freely in the sidebar space.</p>
  60. <h3>Bookmarks</h3>
  61. <p>Much like Twitter or Facebook, the URLs mentioned in the name or the body are automatically added as attachments.</p>
  62. <h3>Attachments</h3>
  63. <p>File attachments are added via an attach button.</p>
  64. <p>Thought:</p>
  65. <ul>
  66. <li>I could implement a website archiving system that archives a bookmark URL if you add the URL via the attachment UI instead of directly as text?</li>
  67. </ul>
  68. <h3>Quoted Cards</h3>
  69. <p>A special kind of attachment is the quoted card (a concept stolen from Twitter). This is a mechanism for bringing a card from one thread in as a reply to another. Cards shared from other users would also be read-only quoted cards in your threads.</p>
  70. <h3>Cross-linking</h3>
  71. <p>If I go with markdown or plaintext <code>[[Note Name]]</code> would be used to automatically link to the note.</p>
  72. <p>If I go with rich text I would probably try to implement it using a <code>+Name</code> mentioning system similar to Slack’s @ mentioning system that autocompletes including the spaces.</p>
  73. <p>Or, I could go with the original WikiWiki design and convert all camel-cased words to links to other notes?</p>
  74. <p>Links to nonexistent notes let you create that note by clicking on them.</p>
  75. <h3>Backlinks</h3>
  76. <p>Automatic backlinks are not a good idea. They create clutter, complexity and confusion. See <a href="https://zettelkasten.de/posts/backlinks-are-bad-links/">Backlinking Is Not Very Useful – Often Even Harmful</a>. Intentional backlinks, however, are amazing. The ability to explicitly add a backlink from another note to the current note you’re editing, preferably with custom link text for that context, is an extremely useful organisational tool.</p>
  77. <p>How to design it, though, is a question, and it depends on the text format and link format.</p>
  78. <h3>Sharing</h3>
  79. <p>Designing the sharing and collaboration mode should be a separate document. But the threads and cards UI should be <em>single user</em>. Nothing should happen in your threads or to your cards that isn’t done by you. Sharing should be about data, attachments and sharing your threads (or subsets of your threads) with others as documents.</p>