Skip to content

Feat: add text to any shape while its selected #99

Description

@meetzaveri

Add text to any shape(circle,rectangle or diamond) while its selected as soon as it listens for keyboard event containing character from A-Z. This supports rapid brainstorming use case when someone is just thinking about shapes as an object (Might be container, application, entity or user) and they want to attach a label to it.

Currently, a user has to perform dblclick event on shape to type/attach text on it. We improve this experience by listening to keyboard event while a shape is being selected, and we start adding text as label to that particular shape. This means user doesn't have friction to do dblclick and then start typing. Make sure we don't have any shortcut listed for such single characters between A-Z . As as this is triggered, the shape should go into text edit mode. Make sure we only trigger this when the keyboard key contains characters from A-Z.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions