simplified workflow for adding new airname #66
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the playlist editor, adding a new airname is a three-click operation, with two visits to the playlist info screen:
However, it is possible to simplify the user experience, such that there are no extra clicks and no additional screens:
In this new workflow, an existing airname may be selected from the drop list as usual or a new airname can be entered directly into the field. In the latter case, normal validation logic applies, such that the user is not allowed to leave the screen if there is a problem with the airname (for example, if it is already in use by another DJ).
This functionality is commonly referred to as a "combo edit" or "combo box". It is a user interface element that combines the functionality of a single-line text input field with a drop list.
Newly added airnames are available from the drop list in future visits to the playlist editor.
Fixes #61