Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added support for barCompleteChar being an array of string plus others associated #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UnKnoWn-Consortium
Copy link

@UnKnoWn-Consortium UnKnoWn-Consortium commented Jul 6, 2023

Description

I have been tinkering to add a "segmented" progress bar (as suggested in #129) into this library. I realize it needs a more condensed way to represent "progress" for such a bar to be legible in the process. I have thus taken the time and inspiration from the Docker CLI and implemented support for multiple complete characters and a preset for braille pattern dot unicode characters.

Commit Message

feat(formatter): updated bar formatter to support multiple "progressive" bar complete characters
feat(preset): added preset for Docker-CLI-style unicode braille pattern dot characters
refactor(options): updated parse to use computed property for instance-specific options (barCompleteString, barIncompleteString, and autopaddingChar)
refactor(options): dropped assignDerivedOptions for computed properties
refactor: updated usage of functions in options in other functions
refactor: renamed imports for intuitiveness
refactor: added .js back to import paths
test(formatter): updated how defaults are propagated to individual tests
test(braille-patterns): added test for braille pattern preset

…ve" bar complete characters

feat(preset): added preset for Docker-CLI-style unicode braille pattern dot characters
refactor(options): updated `parse` to use computed property for instance-specific options (`barCompleteString`, `barIncompleteString`, and `autopaddingChar`)
refactor(options): dropped `assignDerivedOptions` for computed properties
refactor: updated usage of functions in `options` in other functions
refactor: renamed imports for intuitiveness
refactor: added `.js` back to import paths
test(formatter): updated how defaults are propagated to individual tests
test(braille-patterns): added test for braille pattern preset
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.

1 participant