Commit Graph

115 Commits

Author SHA1 Message Date
Starbeamrainbowlabs f1321d6c37
build.sh: add task to automate launching development environment 2022-03-11 01:38:08 +00:00
Starbeamrainbowlabs b885ea5e3f
client: add navigation item for dashboard 2022-03-11 01:29:47 +00:00
Starbeamrainbowlabs 43e8c2583d
client: fix dynamic nav links 2022-03-11 01:20:51 +00:00
Starbeamrainbowlabs 21d193a424
client: bugfix new code
We now have a sidebar!
2022-03-10 23:58:12 +00:00
Starbeamrainbowlabs a24ba21ba8
Add tabledefs & ui item indexes 2022-03-10 23:09:22 +00:00
Starbeamrainbowlabs 30b20f8e18
client: Add initial on load UI logic.
It's still missing static/js/tabledefs/index.mjs though
2022-03-10 03:26:08 +00:00
Starbeamrainbowlabs 0f2c5ae194
TableView: fill in append_table
oops
2022-03-10 03:04:50 +00:00
Starbeamrainbowlabs 2f7374a04b
http /api/status : Add array of known tables 2022-03-10 03:00:20 +00:00
Starbeamrainbowlabs 04479d5ce3
TableView, UITable: fill in the plumbing
Int heory, we now have the basics of the UI down now. We just need to 
hook up the navigation and do some testing :D
2022-03-10 02:53:30 +00:00
Starbeamrainbowlabs 1bb6793542
Add null esm to hoodwink esbuild 2022-03-10 02:50:04 +00:00
Starbeamrainbowlabs 0af8cc2a32
esbuild: force-enable tree shaking, just in case 2022-03-10 02:49:41 +00:00
Starbeamrainbowlabs 1bd7658299
Update dependencies 2022-03-10 02:49:15 +00:00
Starbeamrainbowlabs ba33a86ecf
build.sh/launch: don't immediately exit on error 2022-03-10 02:49:04 +00:00
Starbeamrainbowlabs 5d38a56bed
client: Start filling out more of the UI plumbing, but there's still a ways to go 2022-03-06 02:39:52 +00:00
Starbeamrainbowlabs c9d4dfe134
Updaate & organise dependencies
Any client-side dependencies need to be marked as development 
dependencies, as we plan to ship a pre-built client-side bundle to avoid 
weight on the host systemquery is installed to :-)
2022-03-06 02:39:14 +00:00
Starbeamrainbowlabs 16509e51a1
tidyup 2022-03-05 03:10:06 +00:00
Starbeamrainbowlabs 67281677ac
client: Add last edit marker to TableView so we don't lose our place.
It's late at night & I need to go to bed, but I'm in the middle of this
2022-02-27 03:06:57 +00:00
Starbeamrainbowlabs ae1b46097e
client: start work on UI plumbing, but it's far from finished....
UI code is always impossible to keep nice and neat....  * sighs *
2022-02-27 02:06:33 +00:00
Starbeamrainbowlabs 6a834eea22
client: TableView: move to UI subdir 2022-02-27 02:05:45 +00:00
Starbeamrainbowlabs 5bbe91c3e9
client tabledefs: add name & icon 2022-02-27 02:04:42 +00:00
Starbeamrainbowlabs 405df9acfc
client: create TableView scaffolding for updating the UI 2022-02-26 21:58:51 +00:00
Starbeamrainbowlabs 36a96a84fd
client: create initial table definitions
These will (hopefully) be used to decide on the layout of the UI for 
each table.
2022-02-26 21:58:20 +00:00
Starbeamrainbowlabs 5d0e480f1c
InfoBroker: fix make_table_meta 2022-02-26 21:57:36 +00:00
Starbeamrainbowlabs 67a235ad42
InfoBroker: Add cpu_live 2022-02-26 19:19:36 +00:00
Starbeamrainbowlabs e99ebc9732
Add svg.js for later 2022-02-26 19:18:10 +00:00
Starbeamrainbowlabs 32d69501b0
Add nightink; esbuild: mark html as text
This way we can do an es6 import to get a html file as a string, which 
we can then pass to nightink for templating - all on the client-side!

Note to self: Instead of using .innerHTML directly, we might want to try 
doing document.createElement(), then .innerHTML, and then .appendChild 
where we actually want it to go
2022-02-26 00:23:33 +00:00
Starbeamrainbowlabs 34f031a9e4
client: setup some scaffolding for displaying tables, but it's nowhere near finished 2022-02-26 00:21:33 +00:00
Starbeamrainbowlabs 7e5b0725e9
PeerServer, Peer: Fully support exchanging friendly names
....we should have done this a while back :P

This doesn't change logging messages though
2022-02-26 00:20:58 +00:00
Starbeamrainbowlabs fd16ca4078
Add basic lantern build script to help with setting up for development
...opening 3 terminal tabs is hassle :P
2022-02-26 00:19:22 +00:00
Starbeamrainbowlabs 42aa571ae5
client route main: test new client table fetching method 2022-02-25 03:23:21 +00:00
Starbeamrainbowlabs b1f6a44a6a
SystemQueryClient: Add generator for fetching tables via SSE 2022-02-25 03:22:58 +00:00
Starbeamrainbowlabs a62c8e6b4e
route /api/table/table_name: Add explicit end event to end of stream
....othehrwise the browser will continue attempting to reconnect :-/
2022-02-25 03:22:19 +00:00
Starbeamrainbowlabs 181e3c692d
comment debug logging 2022-02-25 03:21:10 +00:00
Starbeamrainbowlabs 32c9cb0174
package.json: remove nexline since it isn't actually being used, add apexcharts for later 2022-02-25 03:20:46 +00:00
Starbeamrainbowlabs 10f36cf3f5
client-side: go!
There's still a *ton* of work left, but we're (slowly) getting there
2022-02-24 03:08:21 +00:00
Starbeamrainbowlabs ecdd52561a
routes: add /api/status 2022-02-24 01:28:03 +00:00
Starbeamrainbowlabs 19ea1ff428
SystemQueryy: Add version & commit properties 2022-02-24 01:27:41 +00:00
Starbeamrainbowlabs c9ac3ea108
SystemQuery, Agent, PeerServer: Add listening property 2022-02-24 01:27:14 +00:00
Starbeamrainbowlabs c3fae244e0
Update dependencies 2022-02-24 01:26:30 +00:00
Starbeamrainbowlabs d5a9668e17
Serve static files 2022-02-24 00:39:33 +00:00
Starbeamrainbowlabs b0fd916eb4
Initial CSS! 2022-02-24 00:39:27 +00:00
Starbeamrainbowlabs 5ee34ce082
Subresource integrity ftw! 2022-02-23 20:45:49 +00:00
Starbeamrainbowlabs b1936c31af
package.json: hold up a sec - fork-awesome should be a dev dependency 2022-02-23 02:25:58 +00:00
Starbeamrainbowlabs af7e5c878d
package.json: add build script command 2022-02-23 00:10:17 +00:00
Starbeamrainbowlabs da819a59af
client: add todo comment 2022-02-22 03:06:26 +00:00
Starbeamrainbowlabs 119e44165a
Add initial client-side system
Looks like esbuild is shaping up to be just the thing we need, and wow 
is it fast!

Still ned to figure out how to get it to not mangle the index.html 
filename, but still!
2022-02-22 03:01:39 +00:00
Starbeamrainbowlabs da33a146e2
Manage duplicate connections more effectively.
Thebroadcast function now transparently avoids sending the same message 
to the same peer over multiple connections at once.
2022-02-21 21:55:20 +00:00
Starbeamrainbowlabs e4a381b915
remove debug logging 2022-02-21 03:14:57 +00:00
Starbeamrainbowlabs de0b5893ac
add comments 2022-02-21 03:14:41 +00:00
Starbeamrainbowlabs 3819f8c61a
It works! Wooo!
...almost. We still need to ask ourselves for a table too haha
2022-02-21 03:10:49 +00:00