Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard for bookkeeper #28

Open
evansmj opened this issue Nov 9, 2023 · 5 comments
Open

Dashboard for bookkeeper #28

evansmj opened this issue Nov 9, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@evansmj
Copy link
Contributor

evansmj commented Nov 9, 2023

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
Copy link
Contributor Author

evansmj commented Nov 15, 2023

Added issue to cln for adding rpc calls to support this dashboard.
ElementsProject/lightning#6873

@evansmj
Copy link
Contributor Author

evansmj commented Mar 4, 2024

#40

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

@evansmj
Copy link
Contributor Author

evansmj commented Apr 26, 2024

Screenshot 2024-04-26 at 2 11 46 PM

Balance Sheet prototype reference

@ShahanaFarooqui
Copy link
Collaborator

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

@evansmj
Copy link
Contributor Author

evansmj commented Apr 26, 2024

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.

@ShahanaFarooqui ShahanaFarooqui added the enhancement New feature or request label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants