Commit graph

31 commits

Author SHA1 Message Date
Leon Mika 7d2817812c
Fixed various bugs and papercuts (#37)
- Enabled CGO for release builds so that copy to clipboard does not panic.
- Added a prompt to confirm quitting when pressing Esc or Ctrl+C
- Fixed the table prompt to not quit app on Esc when invoked with the table command.
2022-11-01 21:59:46 +11:00
Leon Mika fc75070a4f Fixed a few bugs
- Fixed a seg fault bug when cancelling a scan or query when no results are available yet
- Reduce the size of each page to return so that progress indicators work
2022-10-20 09:53:57 +11:00
Leon Mika bfd0943c4f Fixed some small paper-cuts
- Fixed a bug that was pushing duplicate view entries to the backstack
- The appended column will now be selected once added
2022-10-16 09:50:27 +11:00
Leon Mika 79692302af
Issue 23: Added progress indicators and cancellation (#34)
- Wrapped all table operations in a new foreground job context, which mediates foreground tasks.
- Added cancellation support and partial results for table read operations.
- Added the "mark" command, which can mark, unmark & toggle marked items
- Added support for alias arguments.
- Removed the "unmark" command, and replaced it as an alias to the "marked" command
- Fixed seg faults raised when there is no table shown in the result set.
2022-10-10 10:15:25 +11:00
Leon Mika 982d3a9ca7
Issue 18: Added a popup to modify table columns (#31)
Added a new popup to modify the columns of the table. With this new popup, the user can:

- Show and hide columns
- Move columns around
- Add new columns which are derived from the value of an expression
- Delete columns

Also got the overlay mechanisms working.
2022-10-04 22:23:48 +11:00
Leon Mika 5f76836166 Fixed a few cosmetic bugs
- Clear status messages when setting or deleting fields
- Fixed "Filter" status label
2022-08-31 20:46:53 +10:00
Leon Mika 4c187ebb4d issue-8: added going forward in backstack and restoring last view 2022-08-23 22:33:20 +10:00
Leon Mika 90ec88d360 issue-10: copy item to clipboard
Added key binding to copy selected, or marked, items to clipboard.
2022-08-20 10:41:32 +10:00
Leon Mika 5b6bf1f0ae ctrlret: replaced return types of controllers from tea.Cmd to tea.Msg
This dramatically cuts downs the number of closures.
2022-08-18 21:39:13 +10:00
Leon Mika bdd97f1b41 backstack: some code cleanup 2022-08-14 09:22:56 +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 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 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 174bab36c3 put-items: started adding some basic commands for putting items 2022-05-26 09:01:39 +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 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 d3f6475070 ssm-browse: fixed the views of dynamo-browse 2022-03-29 15:46:18 +11:00
Leon Mika 9709e6aed1 table-select: cleanup 2022-03-28 21:36:47 +11:00
Leon Mika aa828df3ae Most of the new models have been reimplemented 2022-03-27 23:19:38 +00:00
Leon Mika 2638597f42 Have got the table view working again 2022-03-27 21:21:52 +00: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 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