Commit graph

91 commits

Author SHA1 Message Date
d9a2fc0c8b
feat: added ways to delete metrics and sources
Deleting a metric or a source will prompt you for confirmation. No way
I'm letting you delete data from archive without asking for confirmation
2022-06-24 15:04:34 +02:00
cdeb57b6b4
feat: allow to rename panels 2022-06-21 12:24:28 +02:00
c636946137
fix: warnings, style, non-timeserie lock (maybe) 2022-06-21 03:36:09 +02:00
f249ca372a
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
bd3acb188b
fix: optimized 2022-06-18 19:44:23 +02:00
a64412fe4e
chore: version bump 2022-06-18 19:40:28 +02:00
7c6f765455
feat!: added view offset and reduce, ui tweaks
view reduce averages chunks of X values, view offset shifts the "now"
back. Improved panel options UI
2022-06-18 19:37:56 +02:00
e8df50f010
fix: also remove sources from panel when deleted 2022-06-18 19:36:41 +02:00
c5a9cf12c6
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
3408a74731
fix: add separator to widen logs scroll area 2022-06-14 23:48:44 +02:00
66dbe3ecd4
chore: added name suggestion link in readme 2022-06-14 03:10:14 +02:00
14e57447f4
feat: moved new source in side panel, small tweaks 2022-06-14 03:02:00 +02:00
66253fe900
feat: made side panel resizable
also renamed some stuff and moved some settings around
2022-06-14 02:11:40 +02:00
8df10ec5ed
style: rustfmt whole project 2022-06-14 00:54:46 +02:00
c53abb2eed
chore: modularized gui code 2022-06-14 00:51:30 +02:00
747d4cff51
feat: remove left padding when limiting points 2022-06-13 03:00:12 +02:00
931ceaeb03
feat: made plots collapsable, moved log in footer
footer is also collapsing
2022-06-13 02:37:20 +02:00
4851e21668
style: use tabs 2022-06-13 02:35:51 +02:00
ee9e91534e
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
67a0a4ec5c
chore: removed leftovers, version bump 2022-06-12 12:35:36 +02:00
639b9fe894
fix: vertical lines align with local days
used to align to UTC days, which looked quite off
2022-06-12 12:00:25 +02:00
d9f03244ba
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
e6df83729e
feat: added bundled feature maybe 2022-06-12 11:32:50 +02:00
99439e44d5
feat: improved plot marks
made timeserie plot marks align to days and hours.
Also added some collapsable empty space at the
bottom of sources panel to allow to shift the last ones up
some space and still be able to edit their color.
2022-06-11 05:51:40 +02:00
569c5615d3
feat: limit flag is stored per panel 2022-06-11 03:04:17 +02:00
649b0be848
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
83a49f07c5
build: dropped jq_rs in favor of jql 2022-06-09 01:38:52 +02:00
f6570ca10c
chore: remove leftover build_web script 2022-06-08 14:19:19 +02:00
ad11aefce3
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
aa36fd275f
chore: reordered buttons 2022-06-08 14:10:40 +02:00
4cc469f682
feat: made lines color customizable 2022-06-08 14:05:18 +02:00
203cff23f9
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
c72e8801f9
feat: added footer, small fixes 2022-06-08 01:47:13 +02:00
9334ebda1d
feat: many small UX improvements 2022-06-07 01:28:17 +02:00
3741f82943
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
ccf4a64c15
fix: spawn tokio runtime in another thread 2022-06-06 04:42:06 +02:00
5ded746434
feat: reworked storage to use sqlite 2022-06-06 04:41:34 +02:00
4465c672ab
feat: added wrapper for native background worker 2022-06-05 20:05:39 +02:00
0fed3fff95
feat: added store/load capabilities, cleared code 2022-06-05 01:06:17 +02:00
8e29b59c35
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
2ce61c03a3
Initial commit 2022-06-03 02:01:19 +02:00