Skip to content

Add user library enable/disable and DB integration#2

Open
Moneshwar wants to merge 2 commits intoAKSarav:mainfrom
Moneshwar:download-required-libraries-alone
Open

Add user library enable/disable and DB integration#2
Moneshwar wants to merge 2 commits intoAKSarav:mainfrom
Moneshwar:download-required-libraries-alone

Conversation

@Moneshwar
Copy link

Implements backend and frontend support for enabling or disabling OCR libraries per user via a new /libraries/status API. Adds a user_libraries table to the database, with methods to get/set enabled libraries, and updates OCRFactory to only register enabled converters. The frontend now allows toggling library status with UI feedback. Refactors and seeds initial library states in the database.

Image:

image

Implements backend and frontend support for enabling or disabling OCR libraries per user via a new /libraries/status API. Adds a user_libraries table to the database, with methods to get/set enabled libraries, and updates OCRFactory to only register enabled converters. The frontend now allows toggling library status with UI feedback. Refactors and seeds initial library states in the database.
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

Comments