lynchjames / obsidian-writing-goals

Set yourself dynamic writing goals for notes and folders to help you hit your long form writing targets with Obsidian.
MIT License
72 stars 3 forks source link

Blank goal screen, colour issues #40

Open Rhettica opened 1 year ago

Rhettica commented 1 year ago

Hi,

I installed the latest version trying to fix this but it didn't work.

The sidebar is now blank and the custom colours don't save when exiting the settings menu anymore, they all default to black. It also looks like the reset colour arrow is missing? I could have sworn that was there before and there were default colours. Hovering over the icon in the files menu also makes it bigger now and the colour retains the last value selected in the settings even though going back to the page shows them all black now.

Could you please help with this? Thank you.

Screenshot 2023-09-30 at 8 58 45 pm Screenshot 2023-09-30 at 9 04 05 pm Screenshot 2023-09-30 at 9 07 28 pm
Rhettica commented 1 year ago

Ok, I think there was an issue with the way I was updating the plugin and I accidentally overwrote something. I re-added my goal and switched off custom colours and the default colours made the goal show up on the sidebar.

The custom colour settings still don't retain their value in the settings menu but do appear on the graphic and the mini icon still gets bigger but I'm not sure if that is intentional.

lynchjames commented 1 year ago

I made pretty significant changes to color settings for #34 due to issues I had dynamically loading theme based color values in settings. I can replicate the issue with the black default color picker values and will look into it.

I've removed the hover state for the goal file labels in release 0.9.5.

lynchjames commented 1 year ago

I think this could be due to how theme variables are set. What theme are you using @Rhettica?

Rhettica commented 1 year ago

I think this could be due to how theme variables are set. What theme are you using @Rhettica?

I'm using the AnuPpuccin theme.

I just installed 0.9.5 and everything appears to be working again apart from the custom colour settings.