## Changes - old daily notes frontmatter - metadata menu - main habits view - habit note view ## Editable with MDM ```dataviewjs const habitLabels = dv.current()["HabitLabels"] console.log("habit labels") const {fieldModifier: f} = this.app.plugins.plugins["metadata-menu"].api; dv.table(["Day", ...habitLabels], dv.pages("#reviews/daily") .filter(p => !p.file.path.includes('templates')) .filter(p => !p.file.path.includes('fileClass')) .sort(p => p.file.cday, "desc") .limit(10) .map(p => [ p.file.link, f(dv, p, "DailyFitness"), f(dv, p, "EatGreens"), f(dv, p, "HowWeFeel"), f(dv, p, "DailyWisdomTraining"), f(dv, p, "Read"), f(dv, p, "WritingMinutes"), f(dv, p, "completed") ])) ``` ## Display only - Honestly might as well just use tracker? ```dataview TABLE WITHOUT ID file.link as Date, completed, choice(Sleep > 7, "🟩", "🟥") as 🛌, choice(Exercise > 30, "🟩", "🟥") as 🏃, choice(Reading > 30, "🟩", "🟥") as 📚, choice(Meditation > 10, "🟩", "🟥") as 🧘, choice(WritingMinutes > 120, "🟩", "🟥") as ✍️ FROM #reviews/daily WHERE file.day <= date(now) AND file.day >= date(now) - dur(7days) SORT file.day ASC ```