Skip to content

Commit

Permalink
Refactor UIHintDescriptor naming in EditInputDialog
Browse files Browse the repository at this point in the history
This commit updates the nomenclature in the EditInputDialog component, removing hyphens from descriptor names for consistency and improved readability. Changes have been made to 'single-line', 'multi-line', 'radio-list', and 'multi-text' descriptors, ensuring a uniform naming convention across all instances.
  • Loading branch information
sfmskywalker committed Jan 9, 2024
1 parent d0c3bfc commit 2efaa5a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ private Task<IEnumerable<UIHintDescriptor>> GetUIHitsAsync()
// TODO: Get these from the backend.
var descriptors = new[]
{
new UIHintDescriptor("single-line", "Single line", "A single line of text input"),
new UIHintDescriptor("multi-line", "Multi line", "Multiple lines of text input"),
new UIHintDescriptor("singleline", "Single line", "A single line of text input"),
new UIHintDescriptor("multiline", "Multi line", "Multiple lines of text input"),
new UIHintDescriptor("checkbox", "Checkbox", "A checkbox"),
new UIHintDescriptor("checklist", "Checklist", "A list of checkboxes"),
new UIHintDescriptor("radio-list", "Radio list", "A list of radio buttons"),
new UIHintDescriptor("radiolist", "Radio list", "A list of radio buttons"),
new UIHintDescriptor("dropdown", "Dropdown", "A dropdown list"),
new UIHintDescriptor("multi-text", "Multi text", "An input for multiple words, like a tagging input"),
new UIHintDescriptor("multitext", "Multi text", "An input for multiple words, like a tagging input"),
new UIHintDescriptor("code-editor", "Code editor", "A code editor"),
new UIHintDescriptor("variable-picker", "Variable picker", "A variable picker"),
new UIHintDescriptor("workflow-definition-picker", "Workflow definition picker", "A workflow definition picker"),
Expand Down

0 comments on commit 2efaa5a

Please sign in to comment.