cln-application icon indicating copy to clipboard operation
cln-application copied to clipboard

Dashboard for bookkeeper

Open evansmj opened this issue 2 years ago • 5 comments

Bookkeeper has a lot of interesting account data and it is hard to analyze in text form. It would be useful to have visualizations of bookkeeper data to keep track of state over time, and to find profitable routing/liquidity strategies.

evansmj avatar Nov 09 '23 16:11 evansmj

Added issue to cln for adding rpc calls to support this dashboard. https://github.com/ElementsProject/lightning/issues/6873

evansmj avatar Nov 15 '23 21:11 evansmj

https://github.com/ElementsProject/cln-application/pull/40

This initial pr supports adding this dashboard, which will be set up as a new page.

evansmj avatar Mar 04 '24 02:03 evansmj

Screenshot 2024-04-26 at 2 11 46 PM

Balance Sheet prototype reference

evansmj avatar Apr 26 '24 18:04 evansmj

@evansmj Can you please add some more screenshots showing how it will look within the cln-application screen?

ShahanaFarooqui avatar Apr 26 '24 19:04 ShahanaFarooqui

Sure, the idea is that somewhere in the cln-application home there will be a button to navigate to the Bookkeeper dashboard. Screenshot 2024-04-26 at 3 44 50 PM

The Bookkeeper Dashboard will support 3 chart types. A Balance Sheet, a Sats Flow chart, and a Volume Chart.

Rough sketches here:

Screenshot 2024-04-26 at 3 46 45 PM Screenshot 2024-04-26 at 3 47 05 PM Screenshot 2024-04-26 at 3 47 26 PM

I am not sure what the best UX could be but for now I have the Bookkeeper Dashboard main page displaying buttons that will let you navigate to one of the 3 charts. It currently looks like this.

Screenshot 2024-04-26 at 3 43 59 PM

The Balance Sheet currently looks like this.

Screenshot 2024-04-26 at 3 51 58 PM

I have more features to add: I need a toolbar that holds things such as the Time Granularity setting.
I need to add a way to disable certain columns. I need to indicate to the user which colors belong to what account. I need to figure out how to shrink this for smaller screens.
I need to have a way the user can change the display unit for balances. The settings menu lets you switch between SATS and BTC, should the Balance Sheet chart inherit that setting? I need a way to be able to scroll left or right along the chart, to scroll to past balances.
When the user hovers the mouse over a row in the table, I need the entire row to highlight.
I need a good color scheme for the accounts in the bar chart.

  • more.

evansmj avatar Apr 26 '24 19:04 evansmj