Leon Mika
b51c13dfb1
Issue 32: Fixed some TODOs in query expressions
...
- Fixed the gaps in conjunctions, disjunctions, and equality operator for expression value evaluation.
- Fixed the issue in which '^=' was treated as two separate tokens, it's now a single token.
2022-10-11 22:16:20 +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
f373a3313a
A few bug-fixes and maintenance tasks ( #30 )
...
- Fixed a bug which was not properly detecting whether MacOS was in light mode.
- Fixed a bug which was breaking filtering with the table-selection mode.
- Upgraded bubble-tea.
2022-10-04 13:01:53 +11:00
Leon Mika
efdc7f9e25
issue-28: added default limit as a setting ( #29 )
2022-09-30 22:28:59 +10:00
Leon Mika
93ec519127
Issue 24: Added read-only mode ( #27 )
...
- Added settings to workspace, and added the read-only mode
- Added the `-ro` field which will launch Dynamo-Browse in read-only mode
- Added the `set ro` to enable read-only mode, and `set rw` to enable read-write mode
2022-09-29 22:10:18 +10:00
Leon Mika
a1717572c5
issue-22: Fixed expressions so that queries will be executed as queries ( #25 )
...
Augmented expressions so that queries that can be executed as queries on DynamoDB can be done so.
Also added an IR tree which is a simplified representation of the AST and will be used to plan the query.
2022-09-19 21:14:03 +10:00
Leon Mika
454fcf2eae
issue-20: Added binding action for prompting for tables
...
At the moment, this is not bound to anything
2022-09-03 09:41:47 +10: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
0c377e231a
Fixed the default keybinding for prompting for filters
2022-08-30 15:11:30 +10:00
Leon Mika
aa7ec9f863
issue-9: fixed unit tests
2022-08-29 20:45:34 +10:00
Leon Mika
24304d21c3
issue-9: added the RC file
...
Added the RC file which can be used to load commands on startup. Also added the "echo"
command which can be used for debugging.
2022-08-28 10:54:25 +10:00
Leon Mika
d9c9e5d845
issue-9: added clearing of existing bindings for keys
2022-08-25 22:31:33 +10:00
Leon Mika
7c5bfd27a3
issue-9: finishing keybinding service and implemented controller
...
Have now got rebinding keys working with the "rebind" command.
Still need to make sure key names are correct and implement rebinding
as part of an RC file and add bindings for the table.
2022-08-25 22:14:36 +10:00
Leon Mika
2f89610c51
issue-9: moved keybindings out into a separate type
...
Also started working on a service which can be used to rebind keys using reflection.
2022-08-24 22:06:29 +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
d4734846fc
issue-11: added the last two views
2022-08-21 09:38:02 +10:00
Leon Mika
6d23e3ee2c
issue-11: started working on toggling the size of table and item views
2022-08-20 11:28:08 +10:00
Leon Mika
9ab5da32e2
issue-10: fixed unit tests
2022-08-20 10:47:56 +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
a1c03dcb63
backstack: fixed unit tests
2022-08-14 09:46:19 +10:00
Leon Mika
bdd97f1b41
backstack: some code cleanup
2022-08-14 09:22:56 +10:00
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