Skip to content

Use enum for selection type input parameters#110

Merged
shreyas-goenka merged 1 commit into
mainfrom
use-enum
Nov 6, 2023
Merged

Use enum for selection type input parameters#110
shreyas-goenka merged 1 commit into
mainfrom
use-enum

Conversation

@shreyas-goenka
Copy link
Copy Markdown
Collaborator

@shreyas-goenka shreyas-goenka commented Oct 25, 2023

Changes

This PR switches to enum fields for relevant input parameters. This allows for a better selection UX.

Note, this PR depends on a CLI version which would have this PR included: databricks/cli#916. We will need to first set a correct min_cli_version before merging this.

Tests

Tested Manually. The video below shows what the initialization experience looks like now:

Screen.Recording.2023-10-25.at.1.22.36.PM.mov

Copy link
Copy Markdown
Contributor

@arpitjasa-db arpitjasa-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the CLI is updated! Thanks @shreyas-goenka !

@shreyas-goenka shreyas-goenka merged commit 288f8cb into main Nov 6, 2023
@shreyas-goenka shreyas-goenka deleted the use-enum branch November 6, 2023 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants