Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Access Feature (Public Links) – Server Side Refactoring #216

Open
mahid797 opened this issue Feb 23, 2025 · 0 comments
Open

Document Access Feature (Public Links) – Server Side Refactoring #216

mahid797 opened this issue Feb 23, 2025 · 0 comments
Assignees
Labels
Backend Backend Related Issue Core Work to do on the core system of the App 🔥Critical Must be addressed immediately; blocking core functionality or major bug Refactor Code Improvement
Milestone

Comments

@mahid797
Copy link
Collaborator

mahid797 commented Feb 23, 2025

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 LinkDocumentLink model to improve naming conventions and add dynamic visitor field support via JSON.
  • Rename and update the LinkVisitorsDocumentLinkVisitor 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.

References

📄 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.

@mahid797 mahid797 added Backend Backend Related Issue Core Work to do on the core system of the App Refactor Code Improvement labels Feb 23, 2025
@mahid797 mahid797 added this to the v0.1 milestone Feb 23, 2025
@mahid797 mahid797 added the ⚡Important High-impact issue that needs to be resolved before the next release label Feb 23, 2025
@mahid797 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Backend Related Issue Core Work to do on the core system of the App 🔥Critical Must be addressed immediately; blocking core functionality or major bug Refactor Code Improvement
Projects
None yet
Development

No branches or pull requests

2 participants