Skip to content

feat: new profile page with coding stats and quick actions - #3

Closed
heyitsaadin wants to merge 116 commits into
mainfrom
feature/profile-page
Closed

heyitsaadin wants to merge 116 commits into
mainfrom
feature/profile-page

Conversation

@heyitsaadin

Copy link
Copy Markdown
Owner

Replaces the tiny name/email/Logout popup with a full profile page that matches Acode's theme variables.

Profile page (src/pages/profile)

  • Hero: avatar (falls back to initials), name, verified/Pro/Admin badges, email, member-since, GitHub and website chips
  • Stats grid: coding time, day streak, files saved, app launches, open files, installed plugins
  • Last-7-days activity chart
  • Jump back in: recent files and folders (tap to open)
  • Quick actions: Plugins, Settings, App theme, Open folder, Acode account, About
  • Logout (with confirm) and Reset coding stats

Stats tracker (src/lib/profileStats.js)

  • Counts foreground time, saves (via editorManager save-file), launches and streaks
  • Stored only in localStorage on the device

Sidebar (src/components/sidebar/index.js)

  • Avatar tap opens the profile page instead of the popup; login flow is unchanged
  • Logout logic moved into a reusable handler used by the profile page
  • Starts the stats tracker on launch

Old .user-menu styles in sidebar/style.scss are now unused and can be deleted later.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 35c8513b-08c5-4d88-87ac-26bb82ccc470
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the enhancement New feature or request label Nov 21, 2026
Sync main into feature/profile-page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant