Skip to content

Conversation

@Amoghhosamane
Copy link
Collaborator

Pull Request Details[#19]
What issue does this PR address

This PR implements the History Tab to record and display past meditation sessions.
Each completed session captures start and end times and stores them in the user’s Solid Pod inside a sessions.json file.
Users can view session history in a table format (Date | Start | End) and refresh the data on demand.

Additionally, this PR fixes compilation and potential crash issues in the Windows runner.

Associated Issue

This PR relates to the issue:
“The history tab will record past sessions. Simple table: Date Start End. Data stored in user's POD.”

Type of Change

Bug fix (non-breaking change which fixes an issue)

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

The changes were verified through the following:

Verified _startTime capture and _saveSession async function in timer.dart

Tested readPod and writePod logic for storing and retrieving sessions.json

Manually reviewed the History widget DataTable, including loading and empty states

Verified Windows runner fixes in windows/runner/flutter_window.cpp to prevent null-pointer crashes

Checklist

Changes adhere to the style and coding guidelines

I have performed a self-review of my code

I have commented my code, particularly in hard-to-understand areas

The update contains no confidential information

The update has no duplicated content

No lint check errors are related to these changes (flutter analyze)

I tested the PR on the following platforms:

Android

iOS

Linux

macOS

Windows

Web

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.

1 participant