Skip to content

Rewrite v2#31

Closed
tshasan wants to merge 98 commits intomainfrom
develop2
Closed

Rewrite v2#31
tshasan wants to merge 98 commits intomainfrom
develop2

Conversation

@tshasan
Copy link
Collaborator

@tshasan tshasan commented Apr 25, 2025

No description provided.

MitPete and others added 30 commits February 25, 2025 20:41
… flow

- Prevented repeated loading of zero-shot and embedding models in transformers.js
- Added performance timers and debug logs for model loading
- Enabled optional `useFake` flag for offline embedding fallback
- Ensured getEmbedding only loads once and is reused across pipeline
- Improved background.js init: loads model first, then batches
- Refactored StorageManager.js to handle batching with skipEmbedding option
- Cleaned up duplicate history handling and CSV updates
- Proper third-party and about:blank domain filtering
- Models now load once and stay cached across batch operations
- Blocked subdomain-based tracking (e.g., tr.snapchat.com)
- Improved logging and CSV protection
- Ensured clean IndexedDB and historyData tracking only real user visits
- Added analytics.js for tracking user interactions and will host exstension logic
tshasan and others added 29 commits April 17, 2025 23:58
* added prompts

* Correct filename casing to resolve import issues on case-sensitive systems

* fixed prompt function, took out refernece to nonexisting asset, moved fetch history to front end

* putting info from background onto slides

* got it to not repeat domains

* all slide info in one file

* rest of handler slides

* fix time range, add in prompts, fix time spent and peak browsing time

* Styling

* more style

* top sites now shows up, still shows up if less than 3 sites

* added setting button, will add setting pg content  later

* more prompts to match background handlers ! changed function that grabs prompt

---------

Co-authored-by: tshasan <[email protected]>
Co-authored-by: divaldez7464 <[email protected]>
Co-authored-by: katesawtell <[email protected]>
* radar graph

* time of day graph

* not applicable
- Added JSDoc comments to various modules and functions for better clarity and maintainability.
- Introduced new scripts in package.json for generating and serving documentation.
- Updated background script to expose handler functions for easier debugging.
- Refactored database initialization and storage functions to improve error handling and logging.
- Enhanced concurrency handling in utility functions based on environment capabilities.
- Updated configuration constants for better clarity and added new constants for ML engine configuration.
- Improved the logic for counting co-occurrences and trends in browsing history.
- Added new functions for fetching unique websites and visit counts per hour.
- Cleaned up and organized handler exports for better module management.
Enhance documentation and improve code structure
@tshasan tshasan closed this Apr 25, 2025
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.

4 participants