Skip to content

Ali/dev#78

Open
jmoraispk wants to merge 40 commits intomainfrom
ali/dev
Open

Ali/dev#78
jmoraispk wants to merge 40 commits intomainfrom
ali/dev

Conversation

@jmoraispk
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
loglife Ready Ready Preview, 💬 12 unresolved Feb 27, 2026 7:06pm

@greptile-apps
Copy link

greptile-apps bot commented Feb 23, 2026

Greptile Summary

This PR adds significant dashboard UI enhancements with multiple new visualization components and fixes OAuth button loading states.

Key changes:

  • Added comprehensive dashboard visualizations: AI Processing Pipeline, Habit Heatmap, Goals Section, Activity Logs, Today Overview with interactive donut charts
  • Fixed OAuth loading states on login/signup pages to prevent multiple redirect attempts
  • Added staggered fade-in animations and shimmer effects for dashboard sections
  • All new components use mock data for demonstration purposes

Issues found:

  • Division by zero bug in HabitHeatmap average calculation when no active days exist

Confidence Score: 4/5

  • Safe to merge with one minor bug fix needed
  • The PR primarily adds new UI components with mock data and fixes OAuth loading states. One logical bug found in HabitHeatmap that will cause NaN display, but it's non-critical and easily fixed. The OAuth fixes are solid improvements.
  • website/app/components/dashboard/HabitHeatmap.tsx requires the division by zero fix before merge

Important Files Changed

Filename Overview
website/app/components/dashboard/HabitHeatmap.tsx Added habit heatmap visualization with mock data; potential NaN issue in average calculation when no active days exist
website/app/login/page.tsx Added OAuth loading state and disabled button guard to prevent multiple OAuth redirects
website/app/signup/page.tsx Added OAuth loading state and disabled button guard to prevent multiple OAuth redirects
website/app/dashboard/page.tsx Integrated new dashboard sections (AI Pipeline, Today Overview, Habit Heatmap, Goals, Activity Logs)
website/app/components/dashboard/AIPipeline.tsx New component showcasing AI processing pipeline with responsive layout
website/app/components/dashboard/DonutChart.tsx Interactive donut chart with hover effects and legend
website/app/components/dashboard/GoalsSection.tsx Goals section with sorting, statistics, and mock data
website/app/components/dashboard/ActivityLogsSection.tsx Activity logs section with pipeline indicator and two-column layout

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Dashboard Page] --> B[AI Pipeline Section]
    A --> C[Today Overview Section]
    A --> D[Habit Heatmap Section]
    A --> E[Goals Section]
    A --> F[Activity Logs Section]
    
    B --> B1[RawInputCard]
    B --> B2[AIProcessingCard]
    B --> B3[StructuredOutputCard]
    
    C --> C1[DonutChart]
    C --> C2[ActivityList]
    
    E --> E1[GoalCard Components]
    E --> E2[Sort & Filter Logic]
    
    F --> F1[ClassificationPanel]
    F --> F2[ActivityLogList]
    
    style A fill:#1e293b,stroke:#475569,color:#fff
    style B fill:#2d3748,stroke:#4a5568,color:#fff
    style C fill:#2d3748,stroke:#4a5568,color:#fff
    style D fill:#2d3748,stroke:#4a5568,color:#fff
    style E fill:#2d3748,stroke:#4a5568,color:#fff
    style F fill:#2d3748,stroke:#4a5568,color:#fff
Loading

Last reviewed commit: 6b33620

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

18 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@hafiz-ahtasham-ali hafiz-ahtasham-ali self-assigned this Feb 24, 2026
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