Skip to content

Add solution for mentioning people in threads and comments #10

@mikemc

Description

@mikemc

Currently, to mention people I basically copy/paste the markdown [First L](twist-mention://userid)---we need a better way!

I don't think the Twist API supports anything that would do what we want---we have to ourselves generate the markdown link [user name](twist-mention://userid). Some ideas:

  • Create a function/script that translates occurrences of @{user name} or some other set pattern in draft comments into the appropriate link
    • could be done in place on the local file, or done automatically prior to submitting the comment. The second option seems simpler but makes it harder to check the work. Perhaps it should error out if there isn't a match.
  • Add completion support to neovim with e.g. blink.cmp
    • nice because don't have to remember how to spell people's names, but is more complicated and also editor specific.
    • some complexity: have to build and maintain a completion index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions