feat(goals): add goal definitions, records, and overview with completion sync#153
feat(goals): add goal definitions, records, and overview with completion sync#153darijo-milicevic wants to merge 1 commit intoEleven-Trading:mainfrom
Conversation
|
Is there a way that you make the text box, an editor rich text editing ? Looks good by the way |
|
I just did some basic test… I created 2 daily goals defination and in the goal setting page… I only see the first one Bug investigation part2 I think I know what is wrong…. 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. |
|
Lastly… I think the goals icon and the work should have 1 space like the rest |
Yeah, I think so too. I'll extend a filter by date so you can update records historically and present. |
I'll reuse existing tradenote logic for this. |
🧩 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