AOSSIE-Org / AOSSIE-Org/NeuroTrack

FEATURE REQUEST: Wire therapist profile screen to real data and implement logout

未关闭
#191 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
29
派生
50
PR 合并指标
30 天内没有已合并 PR

描述

### Is your feature request related to a problem?

- [x] Yes, it is related to a problem

### Describe the feature you'd like

## 🌟 Feature Description
Connect the therapist profile UI to real authenticated therapist data instead of hardcoded values, and implement a working logout action from the profile screen.

## 🔍 Problem Statement
The current therapist profile screen shows hardcoded name, email, phone number, and avatar in profile_screen.dart
Also, the profile options are currently non-functional, including the logout action in profile_option.dart.

## 🎯 Expected Outcome

- The profile screen should display the logged-in therapist’s actual data.
- Hardcoded profile values should be removed.
- The logout option should sign the therapist out correctly.
- After logout, the app should navigate safely to the authentication flow.
- The UI should handle loading, missing data, and error states gracefully.

## 📷 Screenshots and Design Ideas

Image

- Logout option appears clickable but does nothing.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on implementing this feature

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。