Skip to content

Conversation

@mssalvatore
Copy link
Contributor

📝 Description

Configuration options are not aligned when presented to the user. In the below screenshot, you'll notice a shift in alignment when the option number increases from 9 to 10. A similar shift occurs when the numbers increase from 99 to 100. This PR aligns the options.
1

✔️ How to Test

Reproduce the issue by running linode-cli configure. Test the fix by running make testunit.

📷 Preview

< 100 options

2

With whitespace characters (for clarity)

3

1,000 options

6

5
4

@mssalvatore mssalvatore requested a review from a team as a code owner December 20, 2024 14:57
@mssalvatore mssalvatore requested review from ezilber-akamai and ykim-akamai and removed request for a team December 20, 2024 14:57
@mssalvatore mssalvatore force-pushed the align-options branch 3 times, most recently from bf27050 to e2f6220 Compare December 20, 2024 15:10
Copy link
Contributor

@ezilber-akamai ezilber-akamai left a comment

Choose a reason for hiding this comment

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

Tested this out locally and it looks great. Thank you for the contribution!

Copy link
Contributor

@ykim-akamai ykim-akamai left a comment

Choose a reason for hiding this comment

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

LGTM, tested configuration steps locally and it looks great!

@zliang-akamai zliang-akamai merged commit 30c8ee3 into linode:dev Jan 31, 2025
14 checks passed
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.

4 participants