Skip to content

Conversation

@darijo-milicevic
Copy link

🧩 Summary

Added complete goal-tracking system with:

  • Goal Definitions (CRUD)

  • Goal Records (daily, weekly, monthly)

  • Dashboard Overview showing completion averages

  • Integrated completion rate sync between records and definitions

  • Fixed filtering logic for periods

  • Improved dashboard UI and data aggregation

🧠 Technical Details

Introduced new utility modules:

  • src/utils/goals.js

  • src/utils/goalRecords.js

  • src/utils/date.js

  • Created new views:

  • AddGoalDefinition.vue

  • GoalDefinitions.vue

  • GoalRecords.vue

  • GoalsOverview.vue

  • Updated global store (globals.js) to track goal state

  • Extended router and navigation components

  • Updated dashboard to show success rates per period

🧪 Testing

  • Verified CRUD operations for goal definitions

  • Confirmed daily/weekly/monthly goal records creation

  • Ensured completion percentage syncs back to definitions

  • Confirmed dashboard correctly reflects updates in success rate

✅ Next Steps

  • Code review
  • Merge after approval
  • Deploy and validate Parse sync in production

@gitricko
Copy link

Is there a way that you make the text box, an editor rich text editing ?
Like the Diary ? How difficult to do this ?

Looks good by the way
@darijo-milicevic

@gitricko
Copy link

gitricko commented Oct 25, 2025

I just did some basic test…

I created 2 daily goals defination and in the goal setting page… I only see the first one
Same for weekly too!

Bug investigation part2


I think I know what is wrong….
If create the period goals before viewing it, then the number show up. If I create 1 goal for that period, view it.. go back and create another… it does not show it.

Also, I think it is better like diary, that you put a date field so that user can select it. I believe u group by per day, week and month.

@gitricko
Copy link

Lastly… I think the goals icon and the work should have 1 space like the rest

@darijo-milicevic
Copy link
Author

I just did some basic test…

I created 2 daily goals defination and in the goal setting page… I only see the first one Same for weekly too!

Bug investigation part2

I think I know what is wrong…. If create the period goals before viewing it, then the number show up. If I create 1 goal for that period, view it.. go back and create another… it does not show it.

Also, I think it is better like diary, that you put a date field so that user can select it. I believe u group by per day, week and month.

Yeah, I think so too. I'll extend a filter by date so you can update records historically and present.

@darijo-milicevic
Copy link
Author

Is there a way that you make the text box, an editor rich text editing ? Like the Diary ? How difficult to do this ?

Looks good by the way @darijo-milicevic

I'll reuse existing tradenote logic for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants