Skip to content

feat(android,firebase): website integration#87

Merged
Chris1320 merged 47 commits into
mainfrom
user-manager
Nov 3, 2025
Merged

feat(android,firebase): website integration#87
Chris1320 merged 47 commits into
mainfrom
user-manager

Conversation

@Chris1320

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…of user data

- Remove Room database set up.
- Move `AppUsageInfo` and `Chat` to `entities` package.
- Remove legacy modules.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
- refactor utils into separate packages.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
… is tapped

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Integrates the app usage data aggregation system with the AI assistant.
The chatbot now receives the user's name, days since app installation,
and a real-time breakdown of their daily screen time for a more
personalized and context-aware conversation.

- Modified `ChatManager` to accept app usage data and context to
generate a dynamic initial prompt.
- Updated `AIAssistant` to fetch daily app usage stats using
`AppUsageRepository` upon initialization.
- Added loading states (`isChatInitializing`) to the UI to handle
asynchronous data fetching before the chat is ready.
- Corrected `getDaysActive` calculation to no longer add an extra day.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…ecific date and update UI components accordingly

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…message in TopBar

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
- Added AppBlockOverlayService to display an overlay when app usage limits are exceeded.
- Introduced AppLimitMonitorService to monitor app usage and enforce time limits.
- Updated Dashboard to check for necessary permissions and guide users to grant them.
- Enhanced ScreenTimeLimit screen to display active limits and allow setting limits for apps.
- Created UI components for permission requests and app limit management.
- Added drawable resources for overlay and icons, along with necessary string resources.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…ing and update database schema

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
@Chris1320 Chris1320 self-assigned this Nov 2, 2025
@Chris1320 Chris1320 added the kind > enhancement New feature or request label Nov 2, 2025
@Chris1320 Chris1320 added scope > android Issues existing in the Android application scope > web Issues existing in the web application labels Nov 2, 2025
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 2, 2025

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
reconnected 3567079 Nov 03 2025, 09:10 PM

…nt management and data synchronization

- Added SettingsViewModel to handle account deletion and data sync functionality.
- Created Settings screen with options to sync data and delete account.
- Integrated sync functionality with AppLimitMonitorService for manual sync.
- Updated Firestore rules to allow deletion of user data.
- Enhanced NavDrawer to include a link to the Settings screen.
- Improved logging and error handling in AppLimitMonitorService and SettingsViewModel.

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
@Chris1320 Chris1320 linked an issue Nov 2, 2025 that may be closed by this pull request
…ebase and nuxt-vuefire

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Chris1320 and others added 17 commits November 3, 2025 11:46
…ng in FirebaseUsageSyncRepository

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…Header

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…n with dashboard and login pages

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…verlay layout

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…data

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…ssions

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
…missions calculation

Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
Signed-off-by: Chris1320 <me@chrisfromnowhere.me>
@Chris1320 Chris1320 merged commit 4dc4f7c into main Nov 3, 2025
7 checks passed
@Chris1320 Chris1320 deleted the user-manager branch November 3, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind > enhancement New feature or request scope > android Issues existing in the Android application scope > web Issues existing in the web application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(android): save a local copy of user information for offline use

2 participants