portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.76k stars 579 forks source link

Make earnings list month entries collapseable and change default of it for newly added widget #4030

Closed kimmerin closed 1 month ago

kimmerin commented 1 month ago

Hi,

this change is a first step in the redesign of the earnings list widget as discussed in #4010. It makes month-entries "clickable" and leads to the collapse and expanse of the entries. This allows the widget to take up less space. I've also added a new configuration entry to control the default behavior (collapse all, expand current month, expand all). The deault behavior of newly added widget is "expand current month" that I regard as a useful default. If a widget has been added already, the previous "default" "expand all" is used.

buchen commented 1 month ago

I have adapted the pull request according to the comments and merged it. Thanks.