Commit graph

135 commits

Author SHA1 Message Date
66392b7af9
Start working on our own stacked bar chart system
....but we've only just got the scaffolding in place.

Apexcharts is cool, but I'm doubtful that it's gonna cooperate with us, 
and it keeps throwing random error messages that aren't explained very 
well - and indeed the docs aren't particularly helpful here either.
2022-04-04 03:12:47 +01:00
97cb8b4432
UIGauge: Add error message when things go pear shaped
We really need to fix the width of these panels though, the width (and 
hence height) is all wrong
2022-04-03 02:53:41 +01:00
1d537e9334
UIGauge: Add header, but the charts are still rather broken 2022-04-03 02:41:58 +01:00
07260238c0
Fix crashes in UIGauge, but it's far from useful 2022-04-03 02:36:26 +01:00
501acad134
UIGauge: Fill in the details
As usual, it's all untested haha
2022-04-02 03:00:56 +01:00
54cae732ce
client: start work on UIGauge, but it's far from finished 2022-03-27 16:24:38 +01:00
fd6e088a7e
Tidy up some background stuff 2022-03-27 00:52:55 +00:00
0269880ee4
Style tables 2022-03-16 22:55:32 +00:00
56939dcc24
Properly deduplicate connections.
By assigning a random connection ID during the initial hello that's both 
unique to every new connection regardless of target and consistent 
across both the connection initiator and acceptor, we can do string 
comparison to determine which string is greater than the other. In doing 
so, we can ensur  the same connection is always terminated, thereby 
avoiding closing both connections by accident.
2022-03-15 00:28:27 +00:00
e6aca24724
fixup 2022-03-14 02:51:12 +00:00
437c0da2f7
peer_name: user feedback for copy 2022-03-14 02:49:02 +00:00
1a214bf8c5
UITable: Add h3 2022-03-14 02:43:23 +00:00
e21d6ffc37
client: Bugfix UITable
It works!

...sorta.

We really need to fix the duplicate connection thingy.
2022-03-14 02:40:34 +00:00
f29a6e0eeb
add todo 2022-03-13 15:15:28 +00:00
56ac4b2fc1
TableView: be more strict when checking the ui item index 2022-03-11 01:58:43 +00:00
71f8497bee
add comment 2022-03-11 01:50:44 +00:00
33e247f1c1
TableView: comment properly 2022-03-11 01:48:58 +00:00
00722e6b76
client GlobalUI: use display name for navigation items 2022-03-11 01:39:45 +00:00
658c6ca7f6
remove redundant code 2022-03-11 01:39:09 +00:00
7f383dcc74
InfoBroker: reorder tablles
The order tables appear in the info broker is the order they'll appear 
in the UI.
2022-03-11 01:38:38 +00:00
f1321d6c37
build.sh: add task to automate launching development environment 2022-03-11 01:38:08 +00:00
b885ea5e3f
client: add navigation item for dashboard 2022-03-11 01:29:47 +00:00
43e8c2583d
client: fix dynamic nav links 2022-03-11 01:20:51 +00:00
21d193a424
client: bugfix new code
We now have a sidebar!
2022-03-10 23:58:12 +00:00
a24ba21ba8
Add tabledefs & ui item indexes 2022-03-10 23:09:22 +00:00
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
0f2c5ae194
TableView: fill in append_table
oops
2022-03-10 03:04:50 +00:00
2f7374a04b
http /api/status : Add array of known tables 2022-03-10 03:00:20 +00:00
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
1bb6793542
Add null esm to hoodwink esbuild 2022-03-10 02:50:04 +00:00
0af8cc2a32
esbuild: force-enable tree shaking, just in case 2022-03-10 02:49:41 +00:00
1bd7658299
Update dependencies 2022-03-10 02:49:15 +00:00
ba33a86ecf
build.sh/launch: don't immediately exit on error 2022-03-10 02:49:04 +00:00
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
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
16509e51a1
tidyup 2022-03-05 03:10:06 +00:00
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
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
6a834eea22
client: TableView: move to UI subdir 2022-02-27 02:05:45 +00:00
5bbe91c3e9
client tabledefs: add name & icon 2022-02-27 02:04:42 +00:00
405df9acfc
client: create TableView scaffolding for updating the UI 2022-02-26 21:58:51 +00:00
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
5d0e480f1c
InfoBroker: fix make_table_meta 2022-02-26 21:57:36 +00:00
67a235ad42
InfoBroker: Add cpu_live 2022-02-26 19:19:36 +00:00
e99ebc9732
Add svg.js for later 2022-02-26 19:18:10 +00:00
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
34f031a9e4
client: setup some scaffolding for displaying tables, but it's nowhere near finished 2022-02-26 00:21:33 +00:00
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
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
42aa571ae5
client route main: test new client table fetching method 2022-02-25 03:23:21 +00:00