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

BlackPearl | Feature | Make creating new items more intuitive #24

Closed
DSPaul opened this issue Jul 17, 2022 · 1 comment
Closed

BlackPearl | Feature | Make creating new items more intuitive #24

DSPaul opened this issue Jul 17, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DSPaul
Copy link

DSPaul commented Jul 17, 2022

Is your feature request related to a problem? Please describe.
Creating a new item by adding the separator character at the end is not a very intuitive user experience when they encounter the multiselect combobox for the first time, as it requires the users to:

  1. know they need to end it with a separator character
  2. know what the separator character is

Most people will just type in what they want, and be confused when it gets deleted as soon as they click away.
When they select an existing item first, they will see the ";" at the end and probably figure it out but it could be a lot better.

Describe the solution you'd like
Looking at how email clients handle adding email recipients, these are some solutions they use:

  1. create a new entry when focus is lost instead of deleting it
  2. create a new entry when users press Tab
  3. create a new entry when users press Enter

Another, more elaborate and probably overkill option would be to add the new entry in the dropdown that states that it will create a new item, this is how github handles selecting/creating branches and tags as shown here.

afbeelding

The main thing is to add options. The more ways there are to do it, the higher the chance the user will find one of them so while one of these options would already help a lot, the more the better.

Describe alternatives you've considered
Now I just explain in a little textbox that they need to terminate items with ";", which isn't very professional.

@DSPaul DSPaul added the enhancement New feature or request label Jul 17, 2022
@nilayjoshi89
Copy link
Owner

Separator hint:

  • Control template can be overridden and modified for this purpose.
  • Set separator property to different character
  • By the way, space is a valid separator and can be used if SourceItems does not have space within any item text.

With respect to keys:

  • 'Tab' is not an option as control doesn't hold back focus (intentionally) for quick navigation between control within a window.
  • 'Enter' is reserved for drop-down item selection only. Technically, it's a 'RichTextBox', and 'Enter' key is blocked to avoid complex-text scenarios.

For approach:

  • For simple object creation, having a separate entry may help. However, consider advance-scenario, where objects are parsed with complex input text (advance example in Demo). Can't create a separate entry for such advance-text input.

Why remove the unconverted text?:

  • Text which cannot be converted to an item adds confusion to the user. It was done deliberately to keep UI and 'SelectedItemsProperty' in sync.
  • A boolean property can be introduced to retain unconverted text. However, I'm not keen on that. I don't see any advantage in keeping extra text.

I understand the struggle of making users understand the steps for creating new items.
At this point, I don't see any of the suggestions/options working out. Let me think more about this.

SioGabx added a commit to SioGabx/BlackPearl that referenced this issue Apr 1, 2023
…ew item like suggested in nilayjoshi89#24

add delay search nilayjoshi89#15
add more exemple for testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants