pyrochlore / obsidian-tracker

A plugin tracks occurrences and numbers in your notes
MIT License
1.33k stars 230 forks source link

fixedScale parameter is not used when Month is changed #197

Open efokin opened 1 year ago

efokin commented 1 year ago

Steps to reproduce:

  1. Create tracker with parameters: searchType: frontmatter searchTarget: some_target datasetName: Sleep folder: Calendar fixedScale: 0.8 month: color: steelblue headerMonthColor: green selectedRingColor: orange
  2. Go to reading view
  3. Click < (previous mouths)

Current behavior: calendar has default scale Expected behaviur: calendar had 0.8 scale

ldgraaf commented 1 year ago

The fixed scale also changes back to the default settings if you have multiple datasets and you change the dataset that you are looking at.

My parameters: searchType: frontmatter, frontmatter, frontmatter
searchTarget: Learning, Housework, Health folder: Periodic datasetName: Learning, Housework, Health fixedScale: .7 month: color: green threshold: 1, 1, 1 showSelectedValue: true showTodayRing: false headerMonthColor: hotpink initMonth: 2023-04

Current behavior: It starts out at .7 scale, but then when I click on Learning to see Housework or Health it changes to the default scale (1) and stays there until the code is looked at then the pattern repeats. Expected behavior: the calendar stays at .7 the full time

JeNeSuisPasDave commented 1 year ago

Upvote.

PaperOrb commented 9 months ago

Has anyone found a short term workaround to this or a code edit to make?

WhoIsSeanGalt commented 7 months ago

@PaperOrb how did you reference post #197 like that? There's an even newer one here, further up in this plugin's issues section with a video: #269.

I also made a post about it in the Obsidian Tracker+ issues section here: greater-than/Obsidian-Tracker-Plus/issues/61

It would be really nice if the Calender type tracker would keep its size properties consistent after navigating away from the first version it renders!

Sonicegorsan commented 1 month ago

Upvote.

I upvote this too!