Skip to content

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