Commit graph

126 commits

Author SHA1 Message Date
Leon Mika cc58db2d49 backstack: have added the workspace flag 2022-08-14 09:20:24 +10:00
Leon Mika 6c5787b271 backstack: reimplemented the backstack
This is a much cleaner implementation.
2022-08-14 09:16:28 +10:00
Leon Mika ec9ac34d26 backstack: an initial complete version of the backstack
This needs a lot of work, and a fair bit of refactoring.
2022-08-13 11:42:21 +10:00
Leon Mika 721d3abe5e backstack: added saving of backstack to workspace 2022-08-11 22:23:39 +10:00
Leon Mika a8dd264983 Changed package from awstools to audax 2022-07-28 21:36:16 +10:00
Leon Mika 2a35667cdb Added extra table 2022-07-28 21:32:32 +10:00
Leon Mika 64c43d6b73 Made 'quit' a full command and disabled the temporary edit item display 2022-07-25 21:40:07 +10:00
Leon Mika 77f84449f3 A few small changes made while writing the documentation 2022-07-24 09:54:24 +10:00
Leon Mika 57e1280329 Fixed broken unit tests 2022-07-20 20:34:51 +10:00
Leon Mika 2df0fc7e27 Added a confirmation before querying or rescanning when dirty items
This is to avoid clobbering any dirty items.
2022-07-18 20:58:07 +10:00
Leon Mika 7b194d0a19 Fixed prompt input to filter out 0x0D and 0x08 keystrokes
These can occur when pasting input with line-feeds.
2022-07-18 20:36:31 +10:00
Leon Mika 46a430f58f Fixed unit tests 2022-07-18 08:16:26 +10:00
Leon Mika cc7ead496f awstools: Fixed some bugs with the item view UI model
- The item view model is now being updated when the item itself is being updated
- Fixed a NPE when the item view model receives a nil item
2022-07-18 08:04:03 +10:00
Leon Mika 0f0bf70d01 Changed set-attr to support changing attributes of marked items 2022-07-17 22:01:25 +10:00
Leon Mika 2dbd664dd2 Modified put to put all dirty or marked items 2022-07-16 11:35:53 +10:00
Leon Mika 9fee17a6a6 Merged all 'set-X' commands into a single 'set-attr' command 2022-07-16 10:05:48 +10:00
Leon Mika ffca588a2c Merge remote-tracking branch 'origin/feature/dynamo-query'
# Conflicts:
#	cmd/dynamo-browse/main.go
#	cmd/ssm-browse/main.go
#	docker-compose.yml
#	internal/dynamo-browse/ui/model.go
#	test/cmd/load-test-table/main.go
2022-07-14 21:23:31 +10:00
Leon Mika c00b99a2eb dynamo-query: added delete attribute command 2022-07-14 21:15:31 +10:00
Leon Mika e35855f05c Added set-n command to set number attributes
Also added the ability to set subattribes of maps
2022-07-06 13:03:19 +10:00
Leon Mika ed577dc53e Merge branch 'feature/dialog-prompt' into feature/dynamo-query 2022-06-27 16:12:17 +10:00
Leon Mika eadf8d1720 Fixed styling of the other tools 2022-06-27 16:05:59 +10:00
Leon Mika 809f9adfea Added mode line
Also rescanning will maintain the current query
2022-06-22 11:57:12 +10:00
Leon Mika 54fab1b1c3 dynamo-query: started working on queries 2022-06-21 13:37:07 +10:00
Leon Mika 41af399215 A few various changes
- Fixed the '-local' flag to accept host and port
- Added a '-debug' flag to accept a file to write debug log messages
- Added some logic which will force the dark background flag on if MacOS is in dark mode
2022-06-16 22:00:25 +10:00
Leon Mika 83c15bc369 put-items: fixed tests 2022-06-11 11:59:00 +10:00
Leon Mika 8d984119cc put-item: a few fixes
- Added Goreleaser configuration
- Changed some key bindings for the table list
- Started working on full display of items
2022-06-11 11:38:09 +10:00
Leon Mika e5a7b82a63 Prompt user for primary and secondary key for new items 2022-06-09 20:33:19 +10:00
Leon Mika d660608626 Some more work trying to get the contrast of the field types right 2022-06-04 08:39:05 +10:00
Leon Mika 4aac153edb Small confirmation to check if numbers can contain decimals 2022-06-03 15:39:12 +10:00
Leon Mika 0fb641cdfd Added some colours 2022-06-02 22:39:47 +10:00
Leon Mika 9204947d5e Added renderers for the other types 2022-06-02 21:43:14 +10:00
Leon Mika 33783ee688 put-items: added noisy-touch
This will delete the item before putting it back
2022-05-26 11:00:40 +10:00
Leon Mika 16cb6bdc6b put-items: added a command to put a dirty item 2022-05-26 10:17:21 +10:00
Leon Mika 174bab36c3 put-items: started adding some basic commands for putting items 2022-05-26 09:01:39 +10:00
Leon Mika b0399e41ee dialog-prompt: started working on dialog prompt control 2022-05-26 08:11:30 +10:00
Leon Mika 3319a9d4aa Fixed a small bug with the export command 2022-05-19 10:58:56 +10:00
Leon Mika 33e10299cf Moved logging to a temp file 2022-05-19 10:51:07 +10:00
Leon Mika f6e38bbdeb Added an export command to dynamo-browse 2022-05-19 10:48:47 +10:00
Leon Mika 6df67ce93b Started working on proper controllers 2022-05-19 09:55:15 +10:00
Leon Mika 306640abdb Added the clone command in SSM 2022-04-05 13:39:14 +10:00
Leon Mika ee6011bc3e Some small quality of life improvements 2022-04-01 09:53:43 +11:00
Leon Mika 71acd75685 dynamo-item-edit: started working on a screen to edit items
Didn't get far in it
2022-03-31 22:01:19 +11:00
Leon Mika 452a9ba707 ssm-browse: fixed tests 2022-03-31 20:57:41 +11:00
Leon Mika 1b8518b6e4 ssm-browse: header styling 2022-03-30 22:52:26 +11:00
Leon Mika 798150a403 ssm-browse: added mark, filtering and delete items 2022-03-30 21:55:16 +11:00
Leon Mika c49f3913a8 ssm-browse: added mark and delete in dynamo-browse 2022-03-30 21:04:30 +11:00
Leon Mika b3d0fbfe29 ssm-browse: added structed log view 2022-03-30 15:07:49 +11:00
Leon Mika 9752bb41bc ssm-browse: added the SSM parameter details view 2022-03-30 14:09:57 +11:00
Leon Mika d3f6475070 ssm-browse: fixed the views of dynamo-browse 2022-03-29 15:46:18 +11:00
Leon Mika f6f06eb22d ssm-browse: added cd command
Also came up with an approach for dealing with commands that will probably work with contexts
2022-03-29 10:29:25 +11:00
Leon Mika 0b745a6dfa ssm-browse: new utility to browse SSM parameters
This is more of an exercise to work out how best to use controllers
2022-03-29 08:41:27 +11:00
Leon Mika b5375f0197 table-select: fixed tests 2022-03-29 07:48:09 +11:00
Leon Mika 9709e6aed1 table-select: cleanup 2022-03-28 21:36:47 +11:00
Leon Mika 6f323fa4cf table-select: fixed sizing bug 2022-03-28 21:07:11 +11:00
Leon Mika 826a28664a Small bug fix to table select filtering 2022-03-28 04:54:37 +00:00
Leon Mika aa828df3ae Most of the new models have been reimplemented 2022-03-27 23:19:38 +00:00
Leon Mika 7a5584cf9a Building the main model 2022-03-27 22:23:28 +00:00
Leon Mika 6ab8a3ef44 Rejigged the frames a little 2022-03-27 21:58:41 +00:00
Leon Mika c3d19d5891 Have got the item view working 2022-03-27 21:43:53 +00:00
Leon Mika 2638597f42 Have got the table view working again 2022-03-27 21:21:52 +00:00
Leon Mika 8b743351dd table-select: have got a basic loading indicator built 2022-03-27 22:43:36 +11:00
Leon Mika 5d213c4ee8 Have got a modal table-selection list working
Also tracked down what was causing major pauses when creating new tables.
It was due to querying whether terminal is light or not.  So making a call to
get that info on launch.
2022-03-27 15:53:58 +11:00
Leon Mika 81cd1d0971 Added status and prompt 2022-03-27 11:40:32 +11:00
Leon Mika b0909ffe4e Rebuilding the UI models
Rebuilding the UI model with brand new utility models for layout and dealing with model stuff.
2022-03-27 11:01:24 +11:00
Leon Mika 6ac22aad1f Checkpoint commit
Have got a basic table select model working.  Now will try to setup modal models to support prompts and confirmations
2022-03-27 08:48:34 +11:00
Leon Mika 5a69e6c954 sqs-browse: remove assumption regarding table keys
Table keys are now retrieved from describe
2022-03-25 08:17:52 +11:00
Leon Mika 3428bd2a8a sqs-browse: fixed assumption regarding table keys 2022-03-25 08:13:43 +11:00
Leon Mika 30dbc4eefe sqs-browse: added notion of workspaces in sqs-browse
Also added a tool to generate test tables
2022-03-24 15:44:57 +11:00
Leon Mika cecdbafabb sqs-browse: started working on put commands 2022-03-24 12:54:32 +11:00
Leon Mika 43680000a8 sqs-browse: started working on tests for controllers 2022-03-24 08:49:09 +11:00
Leon Mika fb749aaee2 sqs-browse: fixed pad printf and fixed test parallel 2022-03-23 22:16:34 +11:00
Leon Mika cff059e160 sqs-browse: started working on tests 2022-03-23 22:02:46 +11:00
Leon Mika 7526c095ee sqs-browse: a lot of work to try to keep UI complexity down
Added the notion of controllers and a dispatcher which will queue up operations
2022-03-23 15:40:31 +11:00
Leon Mika 1969504611 sqs-browse: Added dynamo-browse
Added another tool for browsing DynamoDB tables
2022-03-23 11:56:33 +11:00
Leon Mika 2c03f5160a sqs-browse: started moving things around 2022-03-23 09:23:31 +11:00
Leon Mika 5d1f4c78f4 sqs-browse: new tool
Started working on a new tool to poll and browse an SQS queue.  This is built using a TUI framework
2022-03-23 08:58:42 +11:00