Releases: drewbrokke/jack-cli
Releases · drewbrokke/jack-cli
Removes `clipboardy` dependency
- documents 'copyToClipboardCommand' configuration item 8394efc
- clipboard-util.ts: attempts to use the configured clipboard command if one is found 8eb82de
- config-util.ts: adds copyToClipboardCommand option 8f37b8c
- test string to command array will return an empty array when given a blank string 3d55c1f
- (package.json) removes dev dependency on 'ts-node' 031a5e6
- (package.json) removes dependency on 'clipboardy' e704083
- replaces clipboardy usages with new util function e6b5442
- adds clipboard-util.ts to handle copying to clipboard in MacOS and Linux e083785
- npm audit fix 194049b
- uses key definitions instead of string literals 0679c3f
- adds keys-def.ts: consolidates all reserved keys into a single spot b662700
- rename variable: KEY_NAV_INTERVAL -> NAV_INTERVAL 1d53f3a
- (config-util.ts) simplifies code and prints a nice .jack.json file ba7494a
Bugfix release: fix newlines being all weird in notifications
Maintenance only: Trim down dependencies
Audit fixes
1.2.1 and 1.2.2 were a bust...
Added
- Added a key command to open configuration file (
SHIFT-,
)
Fixed
- Fixed missing table of contents link
- Fixed an issue where jumping to next/previous search result would not update which commit was actually selected.
Commits:
Mostly Improvements
Added
- Added a new behavior for the
escape
key. It will now default to returning to the commit list view instead of quitting the app. You can preserve the oldescape
key behavior by setting theuseLegacyEscapeKeyBehavior
property totrue
in your.jack.json
file.
Improved
- Improved the look of the Help dialog. It is now full screen and scrollable.
- Improved the look of the search bar. It's more visible now.
- Improved error feedback when registering custom commads from the
.jack.json
file.jack
will now print all of the errors it found instead of just the first one. - Improved error feedback by failing when registering a custom command that uses an invalid token.
Fixed
- Fixed an issue where some empty lines would collapse instead of rendering as empty lines like they would with a
git log
.
Commits
- (help-text) makes the help text a scrollable screen 1bd7a37
- (README) documents the configuration property 29ac3d2
- (help-text) updates escape key behavior in help text 0b043c9
- escape key will also close the help dialog 134b711
- jack-cli - (screen) allows escape key to always return to the default view as an alternate behavior e19a011
- (config) adds config option to preserve the legacy escape key behavior 48cb676
- (log-util) prevents multiline commits from randomly collapsing one of the empty lines fd57f23
- (actions) simplifies calling actions f0f403d
- (*.ts) removes "I" prefix from interface names 07dceae
- (tslint.json) removes interface prefix requirement d2e0827
- (reducers.ts) cache and re-use the search Regex 4509e3a
- (list) SF - inline variables 591d8ba
- (search) when searching, stay on the current line if it matches e8d771b
- (colors) decouples the color functions from chalk ecd0fc1
- (logging) simplifies printing b65bceb
- (logger) moves all printing into Logger interfaces efc7f9c
- (dependencies) updates blessed typings 694c972
- (dependencies) updates ava 5a84582
- (dependencies) updates clipboardy and typings b08adf9
- (dependencies) updates typescript 40efe52
- (dependencies) removes os-homedir typings ad5534b
- (dependency) updates tslint 432ebcb
- npm run format 32b131a
- package.json - updates prettier a3a2907
- uses chalk for consistency edf593b
- package.json - adds 'chalk' as a dependency 543685c
- notifier - turns notification functions into object methods to simplify the api beb8b70
- (search-bar.ts) styles the search bar to be more obvious 9645aa0
- (log-util.ts, util-functions.ts) uses a generator function for a counter fad433d
- commads - validate before first render Move the command retrieval and validation before the first render of the screen. No reason to do any rendering if we're gonna exit anyways. f82e27f
- validator - prints config file path Prints the configuration file path and moves the validation logic into a function for readability e1c2ac0
- validators - moves validation e8ee6af
- code quality - uses Error objects for promise rejection 72a3d50
- (package.json) moves the pre-build step to a 'prebuild' script c024b43
- (package.json) includes linting in the test command 9b6855e
- (package.json) no need for explicit paths ec7d02b
- *.json - formats json files cb0def3
- SF - fixes lint errors 01e0d59
Documentation updates only
This release has no functionality changes. It fixes broken links in the README file.
- README.md - fixes links d7d0ea3
Search performance improvements
This release adds the option to use an indexer for search. It also includes two new configuration options that allow you to opt-in to use the index search, and to set a limit to the indexer size in case of memory issues.
- documents usage of search index d3b1db6
- reducers.ts - SF - simplify code 3b7b18c
- allow configuring opt-out of search and limiting search indexing and results in case of memory issues fb249c8
- adds indexer search using flexsearch 900536e
- package.json - adds dependency on flexsearch 83c87c5
- tests - configure AVA so tests can be written in Typescript a6d2ac2
Bug fix release
- screen.ts - manually hides the existing content when calling 'spawn'. This fixes a visual issue on some terminals where the content would not fully leave when spawning a foreground process 378e0e8
v1.0.3 Bug fix release - fixes search
- reducers.ts - fixes search result jumping to work with multi-line log commit output 545c309