Added result page and book appointment page . #70
Added result page and book appointment page . #70mdmohsin7 merged 13 commits intoAOSSIE-Org:mainfrom
Conversation
…22' into post-assessment
| import 'package:provider/provider.dart'; | ||
| import 'package:patient/presentation/result/result.dart'; | ||
| // final questions = [ | ||
| // { |
There was a problem hiding this comment.
pls remove comments like this
|
|
||
| if (_formKey.currentState?.validate() ?? false) { | ||
|
|
||
| if (isAssessmentForChild) { |
There was a problem hiding this comment.
pls check these conditions code
| setState(() => isLoading = true); | ||
|
|
||
| try { | ||
| await supabase.from("session").insert({ |
There was a problem hiding this comment.
logic should be in provider, pls check the rest of the codebase for reference
| } | ||
|
|
||
| // Send responses to Groq API for analysis | ||
| Future<void> analyzeResponses() async { |
There was a problem hiding this comment.
the goal of this issue was only to design the ui and code it, not to add the logic, pls check again
There was a problem hiding this comment.
i just thought of integrating llms to get daily tasks and therapy goals . should i need to remove it.
|
The UI still does not reflect the changes mentioned in #32 (comment), pls check again. Essentially the UI should show the user their percentage of being autistic (and this is not something to be happy about to congratulate, rather the text should be neutral) and a list of therapist with whom they can book a consultation. They should be able to see the details of the therapists upon clicking on any therapist card and also they should be able to select the date and time slot (of 30 mins) |
|
@mdmohsin7 since details about therapist consist only that much of details : to increase the deatils about therapist need to add description about the therapist to therapist table , or using some static data to design UI |
|
Pls use static data for now (through provider) |
|
@mdmohsin7 okay |
|
@mdmohsin7 as you said i completed the task using static data , only concentrated on UI , Screencast.from.2025-03-22.01-08-28.webmplease review , the may look dull because of i am running it in chrome , but with android it may look good with perfect layout |
|
@mdmohsin7 Please review this |
|
@Jk-karunadu can you pls remove the |
|
@mdmohsin7 could u please review now |
|
@mdmohsin7 i removed "your recomendation " section |
| } | ||
|
|
||
| // Send responses to Groq API for analysis | ||
| Future<void> analyzeResponses() async { |
| ); | ||
| } | ||
|
|
||
| Widget _buildResultsView() { |
There was a problem hiding this comment.
Pls move these sub widgets to widgets folder inside of the result folder. They shouldn't be placed in a single file like this
There was a problem hiding this comment.
This is still there, pls check
| } | ||
|
|
||
| // Placeholder screens (enhanced) | ||
| class TherapyGoalsScreen extends StatelessWidget { |
| } | ||
| } | ||
|
|
||
| class DailyActivitiesScreen extends StatelessWidget { |
There was a problem hiding this comment.
This as well, I don't think it is needed
|
@Vivekgupta008 if you are reviewing the PRs then pls make sure that the PR does what the issue mentions and follows good code practises. Otherwise it wouldn't be helpful for me as I'll have to review the PR completely again |
|
@mdmohsin7 please review , i just removes all the section and added only the result part and doctor recomendation list part . |
|
@Jk-karunadu pls check the review again, not all changes that I requested have been done |
|
@mdmohsin7 I have checked this now PR consists of the code of result of assessments and doctors least , no extra is added , no llm is integrated, no therapy goals etc things . Only restricted to result of assessments and doctors least. |
mdmohsin7
left a comment
There was a problem hiding this comment.
pls check, one change is still there that hasn't been done yet
| ); | ||
| } | ||
|
|
||
| Widget _buildResultsView() { |
There was a problem hiding this comment.
This is still there, pls check
mdmohsin7
left a comment
There was a problem hiding this comment.
remaining changes can be done in separate PRs, need this PR merged to continue with other flows


Closes #32
📝 Description
This PR adds result page of assessment that conducted and therapy goals screen and daily activity that should be followed , below that doctors list to get appointment .
📷 Screenshots or Visual Changes (if applicable)
are in issue #32
✅ Checklist