Commit graph

139 commits

Author SHA1 Message Date
31695e534d
add todo 2022-05-19 22:01:00 +01:00
6b2aab3391
Add helper class to manage a set of stacked bars
It also automatically generates and manages the legend.
2022-05-07 01:58:26 +01:00
0f37853aba
ChartStackedBar: implement, but make it a simple unlabelled bar.
We can put the legend elsewhere, and manage multiple bars with a CSS 
grid or something.
2022-05-07 01:32:04 +01:00
0e2f68a067
Update dependencies 2022-05-07 01:31:19 +01:00
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