Skip to content

[Super Editor] - Allow for non-bound stable tag references #1988

Open
@matthew-carroll

Description

@matthew-carroll

Up to this point, either a stable tag is committed, or not. In other words, when using stable tags to search for a user, the tag is either bound to a user, or not. There's no middleground.

As discussed in #1962 - some apps would like to have a kind of tag which represents a non-committed or a non-bound reference. For example, a user might tag "@John Smuth", which references a non-existent user. The display of that tag may then customized by an app to demonstrate that its unbounded. The user can then place the caret back into the tag and edit it, perhaps changing it to "@John Smith", which then commits.

Questions:

If non-bound tag is permitted, along with spaces, then how do we know when to stop adding characters to the tag? For example, when typing the following, how do we know when to stop adding characters to the tag:

Hello @John Smuth world

If the user can edit an un-bound tag value, when do we commit it? When the user moves the caret outside? When the user presses ENTER? When the user presses ESCAPE? All of the above?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions