Repository navigation
Feature author profile - #1004
Open
aarushii25 wants to merge 3 commits into
Open
Feature author profile #1004aarushii25 wants to merge 3 commits into
aarushii25 wants to merge 3 commits into
Conversation
added 2 commits
May 24, 2026 22:34
✅ Deploy Preview for bibliodrift-dm ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project Update: Dual-Identity Vault Architecture & Public Library Integration
Overview:
Successfully engineered and integrated the 'Vault Profile System' and 'Public Discovery Engine'. The platform now seamlessly handles dual-identities (Original Creators vs. Vault Archivers) with 100% dynamic data rendering and robust UI stability.
Role-Based Routing: Implemented a unified profile engine that intelligently renders different views based on the user's role (Creator vs. Uploader) using URL query parameters.
Zero-Hardcoding Architecture: Completely purged static fallback names. The system now strictly derives identities from active localStorage sessions or URL parameters, defaulting safely to "Unknown User" when unauthorized.
Real-Time Data Synchronization: Profile statistics (Works count, Genre distribution, Biographies) are no longer static. They are dynamically aggregated in real-time by querying the IndexedDB (Dexie) based on the targeted identity.
Automated Identity Tracking: Removed manual uploader input fields. The system now automatically and securely attaches the active session's username to the database payload during upload.
Privacy Configuration: Integrated a privacy toggle, allowing users to sandbox assets locally (Private) or push them to the community feed (Public).
Public Community Shelf: Engineered a dynamic 3D shelf on the main library page that actively filters and renders only database entries marked with privacy: 'public'.
Cross-Navigation Modals: Upgraded the 3D book detail modal to feature dual-clickable tags. Users can now click on either the "Creator" or the "Vault Archiver" to be redirected to their respective dynamic profile pages.
Grid Blowout Resolution: Fixed a critical CSS grid overlap bug. Implemented strict flex, min-width: 0, and overflow: hidden boundaries on book cards to ensure extremely long, unspaced filenames truncate gracefully without breaking the layout.
Clean Fallback States: Added robust error handling and sanitized UI fallbacks for empty metadata, missing cover images, and missing descriptions.
Status:
All modules tested, committed, and pushed. The local IndexedDB storage and frontend routing are perfectly synced.
@devanshi14malhotra pls review #776