Commit graph

20 commits

Author SHA1 Message Date
9d217e9dd7
feat: allow to save and load metric data
metrics can be saved and loaded to/from csv.
The files are ok-ish and it's reasonably fast. File format could still
change. Also some small fixes and tweaks, like bigger buttons in
confirmation prompts and source name in logs.
2022-06-28 01:09:15 +02:00
fff0ac7c4b
chore: bump version 2022-06-25 02:59:22 +02:00
7b830a6cef
chore: bump version 2022-06-24 15:05:01 +02:00
625b8020b2
feat: allow to rename panels 2022-06-21 12:24:28 +02:00
37d00b471a
feat!: toggle sources/edit, many lines per source
Some UI tweaks (like suffixes in sliders)
Restructured data and storage: many Metrics per one Source. Each Metric
is a Line on a Panel. Fetches are handled per Source. Metrics cannot be
moved across Sources. Data points are linked to a Metric.
Also made "show sources" and "edit mode" two distinct toggles, and thus
implemented a non-edit view for sources.
Also bumped version to 0.3.0
2022-06-21 02:43:03 +02:00
ce81ff0f06
chore: version bump 2022-06-18 19:40:28 +02:00
b05f8005e7
feat!: made sources reorderable and panels deletable
Added in sources a position field which works just like the one in panels.
Added in sources an "enabled" flag which now governs wether or not data is fetched.
Added a button to delete panels.
Tweaked UI a little
2022-06-15 02:35:13 +02:00
f4cca35816
feat: improved logs, added log panels, added up btn
improved a lot logging, using tracing from tokio.
Now there's a subscriber which tracks log messages and makes them
available inside the state, so that we can show them in the gui.
Made a jank logs side panel.
Made panels reorderable in a kinda weird but meh way
2022-06-12 23:52:06 +02:00
0a0ee7077d
chore: removed leftovers, version bump 2022-06-12 12:35:36 +02:00
feaf8fd37a
build: bundled is a default feature
If you have sqlite lib on your system, build with `--no-default-features`
2022-06-12 11:59:53 +02:00
c13b54876c
feat: added bundled feature maybe 2022-06-12 11:32:50 +02:00
3429bc9d62
feat: allow to move sources, side panel
now sources are all edited in one side panel, which opens in edit mode.
Easily move sources across panels.
Implementation has a lot of room for improvement (too many loops) but it
works for now
2022-06-09 02:52:17 +02:00
cced802c87
build: dropped jq_rs in favor of jql 2022-06-09 01:39:22 +02:00
bebebf79c1
chore: removed web assets for now
I plan to retry to make it web compatible but right now it's just
useless to keep there around
2022-06-08 14:12:21 +02:00
cdb7d23695
feat: show file size in footer (update every s)
also made jq_rs use bundled jqlib because rust-analyzer won't work otherwise
2022-06-08 12:58:07 +02:00
aa65338ef4
feat: added footer, small fixes 2022-06-08 01:47:13 +02:00
a4e26d1533 feat: arbitrary sources, background worker
implemented a reliable sqlite storage, a way to
save and load values, a native-only
background worker to fetch data and update values
2022-06-07 00:05:45 +02:00
78c7982911 fix: spawn tokio runtime in another thread 2022-06-06 04:42:06 +02:00
5443d90c5e feat: added wrapper for native background worker 2022-06-05 20:05:39 +02:00
6653024bad
feat: committing current state
Committing current state, which is a simple full
screen plot with some basic features. It compiles
for both native and web. There's a basic generic
datasource impl. It currently plots random data for demo.
2022-06-03 02:03:37 +02:00