Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
quafzi opened this issue Jan 7, 2013 · 6 comments
Open

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

quafzi opened this issue Jan 7, 2013 · 6 comments

Comments

@quafzi
Copy link
Member

quafzi commented Jan 7, 2013

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"
@ghost ghost assigned quafzi Jan 20, 2013
@quafzi
Copy link
Member Author

quafzi commented Jan 20, 2013

Some first steps are made in branch "autocompletion".

Remaining steps:

  • some refactoring
  • maybe stop activity autocompletion
  • show only projects of given customers (and vice versa)

@quafzi
Copy link
Member Author

quafzi commented Feb 4, 2013

Done:

  • no more autocompletion for activities
  • better code readability
  • suggest customers on project autocompletion

@quafzi
Copy link
Member Author

quafzi commented Feb 4, 2013

@nogo Please have a look into my branch. I already merged your branch 19-improve-activity-view into mine.

@ghost ghost assigned nogo and quafzi Feb 4, 2013
@nogo
Copy link
Member

nogo commented Feb 7, 2013

Good start but only the projects are working at my test. Customer and Service doesn't show up.

@nogo
Copy link
Member

nogo commented Feb 8, 2013

Btw, you dont have to show project and customer together because customer will be set automatically on project selection.

@quafzi
Copy link
Member Author

quafzi commented Feb 8, 2013

Oh, great to know, never noticed that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants