petereon / beaupy

A Python library of interactive CLI elements you have been looking for
https://petereon.github.io/beaupy/
MIT License
181 stars 13 forks source link

Feature: Add Title Property to select and select_multiple Inputs #76

Closed yfernandes-uturn closed 9 months ago

yfernandes-uturn commented 9 months ago

This PR introduces a new title property for both select and select_multiple input types.

Changes:

Motivation:

The prompt input in beaupy offers an interactive way for users to input data, where the question disappears upon confirmation. This PR brings the select and select_multiple inputs in line with this behavior, making the user experience more consistent and intuitive.
Please review the changes and provide feedback. Looking forward to integrating this enhancement to improve the user interaction in beaupy.

yfernandes-uturn commented 9 months ago

@petereon This is the PR for the selects title feature we mentioned earlier in https://github.com/petereon/beaupy/issues/74

yfernandes-uturn commented 9 months ago

Working on the tests

yfernandes-uturn commented 9 months ago

@petereon tests and lint running successfully now.

Changes:

petereon commented 9 months ago

@yfernandes-uturn thank you very much and apologies for the delay, I've been busy with work. I am going to review now.

yfernandes-uturn commented 9 months ago

Don't worry @petereon! Just want to make it as smooth as possible for you to review and incorporate this into your awesome lib :)

petereon commented 9 months ago

Thanks, merged!