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
Implement a feature that allows users to archive uploaded content in BeavsAI. This will help users manage their course materials by distinguishing between active and archived content, making it easier to focus on current courses and access past materials when needed.
Objective
Develop an archiving system that enables users to move uploaded PDFs and course materials to an "Archived" section, ensuring better organization and content management.
Details
Core Features
Archive Functionality: Add a feature to move uploaded files to an archived state.
Archived View: Create a dedicated section where users can view and manage archived content.
Restore Option: Allow users to restore archived content back to the active list.
Technical Requirements
Database Schema Update: Add an isArchived field to the course_materials table to track the archived status.
API Update: Implement an API route to handle archiving and restoring files.
Type Safety: Ensure type-safe implementation using TypeScript and Zod validations.
UI/UX Update: Update the UI to include archive and restore actions, and create an "Archived Content" view.
UI/UX Changes
File List Update: Add an "Archive" button next to each file in the active content list.
Archived Content Page: Design a page that displays archived files with options to restore or permanently delete them.
Confirmation Modal: Include a confirmation dialog for archiving and restoring actions.
Data and Privacy Considerations
User Data Handling: Ensure archived content is still protected under the same data security and privacy measures as active content.
Acceptance Criteria
Users can archive uploaded files and view them in a separate "Archived Content" section.
Users can restore archived files back to the active content list.
The isArchived field is added to the course_materials table and integrated with relevant API routes.
The UI/UX is updated to include archive and restore functionality.
The text was updated successfully, but these errors were encountered:
Overview
Implement a feature that allows users to archive uploaded content in BeavsAI. This will help users manage their course materials by distinguishing between active and archived content, making it easier to focus on current courses and access past materials when needed.
Objective
Develop an archiving system that enables users to move uploaded PDFs and course materials to an "Archived" section, ensuring better organization and content management.
Details
Core Features
Technical Requirements
isArchived
field to thecourse_materials
table to track the archived status.UI/UX Changes
Data and Privacy Considerations
Acceptance Criteria
isArchived
field is added to thecourse_materials
table and integrated with relevant API routes.The text was updated successfully, but these errors were encountered: