liamzebedee / metric

:1234: Innovative new web app for quantified self, sans tables
http://metric.meteor.com
59 stars 4 forks source link

Detect changes to the name/category of a Metric #21

Open liamzebedee opened 9 years ago

liamzebedee commented 9 years ago

When a metric is renamed or reorganised into a different category, compute functions on other metrics won't know. It would be better to replace any occurrence of Metric.find('Some/Path/Then/Name') with Metric.findWithId('a2edqdwq') - this would involve some simple client-side processing and save a lot of hassle.

The same should be done for record categories.