Releases: dmcclory/priority-ranker
Releases · dmcclory/priority-ranker
v0.0.3
Changelog
- 9d7abc9 bugfix for list init failing to be creaeted for new users b/c the ranker_dir did not exist before trying to create the DB.
- 3179f9c bugfix: do not show an extra entry in the lists table when there is no active list
- 49cd5e9 bump to 0.0.3
- 8236bc1 remove old todo message that is no longer needed
v0.0.2
v0.0.1
Changelog
- c8d9c34 ability to set prompt in env var
- c622759 able to compute new pScores for all entries
- 6098481 add --force flag for deleting options
- f3236b4 add CreatedAt field to the lists
- b294e80 add a function for generating list ids
- 26203a8 add a function to add options
- 6035341 add aliases for results
- 2c81e4d add command to remove an option
- 318fc03 add go-test/deep
- 4096d29 add logic to delete entries from a list
- e23747b add missing docs & fix white space for long help subcommands
- 2f3f4d5 add more tests
- 79f6ce7 add stub subcommands to creating and managing lists
- f68dc30 add the ability to set a global prompt
- 9f80e2e added tests for filtering out empty options & duplicates
- c8c4f71 basic Gorm setup & command to list options in current list
- b670235 build WinRecord from a list of Votes
- 102ee05 building up the ability to print a listing of all the lists, including the active list
- a71abfd check for NaN in the calcNumerator & calcDenominator functions
- c7ba270 code for calulating the denominator
- 0cf881c confirmation before deleting
- ad9cdfa create an empty file which will hold the db as part of list init
- bedff68 delete option removes the votes as well as the option itself
- a1a42a3 derive path to config file from homedir
- 4cf14bb do not update the active list if user exits switch early
- be39fe7 ensure the directory exists before trying to write the config file
- db1d42f exit early in listInit if the list name is blank
- 4e8bb45 fix a bug where the app crashes the first time you use it because the config file doesn't exist
- 466580a fix bug where deleting a list without a DB file corrupted the config.json
- 66a6a48 fix filenames for option add and option delete subcommands
- bcd40a5 fix test indeterminacy -> keys aren't guaranteed to be sorted
- f86a3eb function to delete votes & tests for it
- 6924625 functions and tests for creating a Vote & reading votes
- a2758b0 gofmt
- 73e14a5 initial commit - some basic commands
- 458a8bf list init - join the args into a list name
- 9431140 list init can let you specify a list of options
- e3854e3 list swtich command shows a select input & updates active list with the result
- bc5ec81 make the active list bold and adjust the date formatting
- 1baef16 more consistent error handling in the database/Gorm code
- 7080056 move struct definitions
- 2ac502c newer huh package
- 11e5042 print out options as a table
- 6029752 pull the warning about missing db from the file - warning if not exists
- f230a72 read & write the active list status to the same json as the lists
- 5a480ff read the active list from a file
- 102a608 read the options & votes, calculate the ranks & render as a table
- b9dd6b0 remove the init command
- 70f27d7 rename ChoiceList to OptionList
- 373d3ac rename a table building function
- da02c4f rename to ranker
- f018b0f rework score tests to be table-based tests
- e24b623 setting up goreleaser
- 510c73e start an 'empty state' message
- e46b6e4 start calculating the pScores
- eb41dd4 start testing that the file system logic works in a temp directory
- 9b61378 start the init command - can add to the list
- e33a487 starting to calculate the rankings
- 648e491 switch to using a map in the config file instead of a list
- 831975b tests for create database, make real dbs in the listInit command
- 7cdc6f7 this might help with the flaky tests
- 9b67a5d update the help text for the commands
- 3ea9cc2 update to latest version of go
- 3335cca use HOME/.config/ranker as the default dir instead of HOME/.ranker
- bbb00a2 use a Huh form so that we can handle ctrl-c during a vote
- 5bfb5e2 use active list in the option command
- a7fa44f use an alias - ranker option or ranker options
- 4b37a8a use lipgloss to style the empty list state
- 02604e2 use snake_case for file names
- 32eab12 use uint instead of int64 for the database ids
- 6364b61 vote command reads options, shuffles, chooses 2, and records user input
- 4991d35 wire up delete command
Released by GoReleaser.