Skip to content

autocompletion for customers, projects, services, and tags #61

@quafzi

Description

@quafzi

In order to provide a faster and better usable interface, we need autocompletion for relations.
I'll provide my ideas in Gherkin Language:

Feature: autocompletion for customers, projects, services, and tags
  In order to provide a faster and better usable interface,
  We need autocompletion for relations.

  Scenario: basic autocompletion for customers, projects, services, and tags
    Given I use the magic input box to start an activity,
    When I enter one of the trigger characters (@ for customers, / for projects, : for services, # for tags),
    Then I want to get a drop down with all matching items.

In addition, it would be great to get only projects of a given customer, if I already entered one.
If a project is chosen before the customer, the drop down could provide the customer, too.

Example:

  Background:
    Given there is a customer "A" with projects "A1" and "A2"
    And there is a customer "B" with project "B1"

  Scenario: list projects of given customer
    Given the text field contains a customer alias "A"
    When I enter a "/"
    Then the appearing list contains projects "A1" and "A2"
    And the appearing list does not contain project "B1"

  Scenario: add customer to project
    Given the text field does not contain any customer
    When I enter a "/"
    Then the appearing list contains projects "A1 @A", "A2 @A", and "B1 @B"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions