Skip to content

Live Suggestions #27

@JoeHana

Description

@JoeHana

Every valid textarea should receive functionality to get used as live search tool. Inserted Text will get searched in real time and the snippets will get displayed accordingly within the panel.

So the User can start writing as usual in the textarea, and if the written text is similar to one of the existing pasties, then those will get recommended for easy one-click injection.

Not sure if we should also need to make a custom UI for that? Some kind of Panel below the textarea where those suggestions get displayed? Or only display those matches in the panel while all those that do not match get hidden? I actually prefer the latter one, not only because it saves work, but also because to maintain simplicity. On the other hand a dedicated panel below the textarea is better known for live suggestions and maybe easier to use. Also it can be used while the main panel is inactive, or if the main panel is active this panel can still display ALL snippets not only those which matches with the inserted text. This could be useful in cases where the live suggestion actually do not fit or the user wants simply to write a similar answer but just with a different link or image which he/she might want to paste from the main panel then.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions