You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mahid797 opened this issue
Feb 23, 2025
· 0 comments
Assignees
Labels
BackendBackend Related IssueCoreWork to do on the core system of the App🔥CriticalMust be addressed immediately; blocking core functionality or major bugRefactorCode Improvement
Refactor the server-side architecture for the Document Access feature to enable dynamic visitor fields using JSON storage, improve schema consistency, and set the foundation for future analytics and link preference updates. These changes will ensure a scalable, professional, and future-proof backend for handling document sharing via public links.
Overview
Refactor the Link → DocumentLink model to improve naming conventions and add dynamic visitor field support via JSON.
Rename and update the LinkVisitors → DocumentLinkVisitor model to use JSON-based visitor data while allowing future expansion without additional migrations.
Improve uniqueness constraints, field naming consistency, and ownership clarity.
Prepare the groundwork for future features, including link preference updates (e.g., expiration time, public/private toggling, alias changes) and analytics tracking for views/downloads.
📢 Note:
While this issue covers schema changes and backend logic for the Document Access feature, client-side adjustments will be addressed in a separate issue.
Future enhancements (such as the Analytics API and Link Creation Update) will also be tracked in subsequent issues.
📄 Note:
It is strongly recommended to read through all related issues (both Server Side and Client Side) before beginning development to ensure a full understanding of the scope, dependencies, and overall feature flow. This will help avoid redundant work and ensure consistency across all components.
The text was updated successfully, but these errors were encountered:
mahid797
added
🔥Critical
Must be addressed immediately; blocking core functionality or major bug
and removed
⚡Important
High-impact issue that needs to be resolved before the next release
labels
Feb 23, 2025
BackendBackend Related IssueCoreWork to do on the core system of the App🔥CriticalMust be addressed immediately; blocking core functionality or major bugRefactorCode Improvement
Refactor the server-side architecture for the Document Access feature to enable dynamic visitor fields using JSON storage, improve schema consistency, and set the foundation for future analytics and link preference updates. These changes will ensure a scalable, professional, and future-proof backend for handling document sharing via public links.
Overview
Link
→DocumentLink
model to improve naming conventions and add dynamic visitor field support via JSON.LinkVisitors
→DocumentLinkVisitor
model to use JSON-based visitor data while allowing future expansion without additional migrations.References
The text was updated successfully, but these errors were encountered: