Commit Graph

82 Commits

Author SHA1 Message Date
Jeff Carr 2e4bbf7b91 actually sends the protobuf into the channel
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 12:32:29 -07:00
Jeff Carr 8807c8fc9b clean up the websocket Dial code to correctly restart
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 06:18:06 -07:00
Jeff Carr c926d8b441 more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 00:01:23 -07:00
Jeff Carr 082e717d3d ready to do an event response
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 23:26:24 -07:00
Jeff Carr 06e60fbcb6 add a gorilla websocket send
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 23:21:57 -07:00
Jeff Carr 8b71cd76e5 variable rename
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 20:57:06 -07:00
Jeff Carr 2330e0a2b6 make a button to send a protobuf to a local socket
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 13:20:51 -07:00
Jeff Carr b49aed2de0 updated to use the sample generated events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 12:45:17 -07:00
Jeff Carr 0067c55003 remove old <STDIN> code. Attempt to send a protobuf over the socket
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 10:55:37 -07:00
Jeff Carr a737a23d6f This seems to actually add a protobuf to the channel (not Marshal'd though)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 07:53:32 -07:00
Jeff Carr fbe1900763 TAG v0.1 -- builds on Linux and MacOS. Seems Stable
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 16:42:15 -07:00
Jeff Carr 922e07cc0c remove the demo stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:50:59 -07:00
Jeff Carr fad05b3ffa dumps the vm list
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:45:10 -07:00
Jeff Carr 5f8efcb81d add a "test table" button
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:35:20 -07:00
Jeff Carr 6f149c2706 GUI more stable than before
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:27:28 -07:00
Jeff Carr baecdd3d58 try to stabilize the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:21:32 -07:00
Jeff Carr 745ef852ef start on a cloud info tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 23:25:27 -07:00
Jeff Carr 9ed38fd2b8 minor fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 22:35:29 -07:00
Jeff Carr 183ff58f8e use the common nonblocking socket read
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 21:48:35 -07:00
Jeff Carr 562b20cbb4 kinda works better
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 20:46:44 -07:00
Jeff Carr b932251092 cleaner handling of socket open
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 18:04:40 -07:00
Jeff Carr 24ae9a3033 add a -nogui option for debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 07:00:38 -07:00
Jeff Carr 4863991462 does multiline socket reads
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 06:52:51 -07:00
Jeff Carr 91b9a337e9 first attempt at passing in the column types and names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 17:44:14 -07:00
Jeff Carr 67418e41da successfully entered a row
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 15:29:06 -07:00
Jeff Carr 76bf66e1f9 try a table with 700 rows. very fast.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:21:05 -07:00
Jeff Carr 2107a4876e Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:03:10 -07:00
Jeff Carr 048c4f4b32 Move gui code into git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:09:44 -07:00
Jeff Carr 771f9eb29f Isolate all GUI code in an attempt to make a library out of it.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:02:27 -07:00
Jeff Carr c5e590985e merge code to create a table into gui.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 12:00:49 -07:00
Jeff Carr 37fefba92f Rename 'modelHandler' to 'tableData' as all it stores is the data
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 08:55:51 -07:00
Jeff Carr 515ed74f58 Very close to a clean interface
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 08:43:33 -07:00
Jeff Carr ca8b7d87a7 final value init() function deprecated
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 08:32:23 -07:00
Jeff Carr a23144e9a8 add some more tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 08:11:25 -07:00
Jeff Carr 63fd4607dc start removing the fixed entries from before
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 04:22:43 -07:00
Jeff Carr 9b58fc0eb0 first successful column append
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 04:05:14 -07:00
Jeff Carr f8e6200c4c minor cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:41:41 -07:00
Jeff Carr fb89975cdf almost completely able to automate adding columns
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:26:35 -07:00
Jeff Carr 97d7ad349e futher choose better names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:09:39 -07:00
Jeff Carr b28c2c09fa those things are 'rows' in the table
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:06:46 -07:00
Jeff Carr e41764285c start renaming variables to figure out what to do next
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:02:32 -07:00
Jeff Carr f5be9dbd1e god bless golang
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 02:53:42 -07:00
Jeff Carr 59e459799e hmm. now to think how to generate this
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:59:33 -07:00
Jeff Carr b84d38e33b ah. maybe it's possible to completely abstract this all away
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:49:09 -07:00
Jeff Carr fb95e77b50 remove some cruft. still doesn't crash & color works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:47:28 -07:00
Jeff Carr 32f03ccffa color text works for some reason
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:41:55 -07:00
Jeff Carr f1a37e410c no longer crashes. seems stable. Can edit text fields
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:02:47 -07:00
Jeff Carr 5dcbe40e76 remove more cruft
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 20:20:16 -07:00
Jeff Carr 6c5af117f2 start playing with buttons
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 20:11:41 -07:00
Jeff Carr b4e1c326d5 remove the demo table from our control panel
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 19:48:02 -07:00