Skip to content

Redesign student profile screen and add avatar/attendance backend req… - #46

Merged
Abdulmajidkhan007 merged 1 commit into
nurulloh-coder-dev:Nfrom
Abdulmajidkhan007:claude/student-profile-redesign-d14aw1
Sep 9, 2026
Merged

Abdulmajidkhan007 merged 1 commit into
nurulloh-coder-dev:Nfrom
Abdulmajidkhan007:claude/student-profile-redesign-d14aw1

Conversation

@Abdulmajidkhan007

Copy link
Copy Markdown
Collaborator

…uests

  • Avatar: add fallback="silhouette" prop (neutral inline-SVG bust) alongside the existing initials fallback; all five existing call sites unchanged.
  • AttendanceTable: add plannedLessonCount prop so unattended lessons planned for the group render as fully empty columns (no header text, no cell marks). Move useGroupInfo from features/teacher/hooks into shared/hooks (feature api call added to shared/api/attendanceApi.ts) so the attendance feature can use it without a cross-feature import; teacher's hook now re-exports it. AttendancePage passes lessonCount from group level info into the table.
  • StudentDashboardPage: rebuild around a centered ProfileHeader (silhouette avatar, name, phone, level/group + schedule), balance card, and three collapsible sections (group+attendance open by default, personal info and settings link collapsed) ending in a sign-out button. BalanceCard no longer takes hasGroup — balance belongs to the student, not the group.

Claude-Session: https://claude.ai/code/session_01EmY9pxEEATJkQzaoKJn12d

…uests

- Avatar: add fallback="silhouette" prop (neutral inline-SVG bust) alongside
  the existing initials fallback; all five existing call sites unchanged.
- AttendanceTable: add plannedLessonCount prop so unattended lessons planned
  for the group render as fully empty columns (no header text, no cell
  marks). Move useGroupInfo from features/teacher/hooks into
  shared/hooks (feature api call added to shared/api/attendanceApi.ts) so
  the attendance feature can use it without a cross-feature import;
  teacher's hook now re-exports it. AttendancePage passes lessonCount
  from group level info into the table.
- StudentDashboardPage: rebuild around a centered ProfileHeader (silhouette
  avatar, name, phone, level/group + schedule), balance card, and three
  collapsible sections (group+attendance open by default, personal info and
  settings link collapsed) ending in a sign-out button. BalanceCard no
  longer takes hasGroup — balance belongs to the student, not the group.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EmY9pxEEATJkQzaoKJn12d
@Abdulmajidkhan007
Abdulmajidkhan007 merged commit e2f1fc1 into nurulloh-coder-dev:N Sep 9, 2026
1 check passed
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