Skip to content

Conversation

@IllGive
Copy link
Contributor

@IllGive IllGive commented Nov 6, 2023

Overview of PR

Written 📝

Standards

All need to be completed before marking a pr as ready to review

  • I have reviewed my code and confirmed it doesn't cause any major security issues or create unhandled edge cases (i.e. unhandled errors)
  • I have tested my code in production and verified that it works as intended
  • I have organized my code based on our brief style guide and made sure that it's rationally componentized
  • I have confirmed the pages I edited work on light and dark mode

Brief Summary

Tabulated Changes

Details

Generated by AI

Walkthrough

🤖 Generated by Copilot at 0ca8806

  • Add components for textbooks and listings pages (link, link, link, link, link)
  • Add pages for textbooks and listings with filters and search functionality (link, link)
  • Add functions to interact with textbooks and listings tables in the database (link)
  • Add table definitions for textbooks and listings to the Database interface in lib/db/database.types.ts and supabase/functions/_shared/database.types.ts (link, link, link, link)
  • Add link property to file object when uploading a new file in components/files/genericFileUpload.tsx (link)
  • Add announcements/ prefix to file paths when editing an announcement in components/complete/announcements/announcementPosting.tsx (link)
  • Fix bug in editAnnouncement function in lib/db/announcements.ts that deleted wrong files (link)
  • Add mx-auto class to image element in ImagePreview component in components/files/imagePreview.tsx to center the image (link)

Poem

🤖 Generated by Copilot at 0ca8806

Textbooks and listings
New components and functions
Autumn of learning

AI Summary

🤖 Generated by Copilot at 0ca8806

This pull request adds the functionality and UI for the textbooks feature of Coursify. It updates the Database interface to include the listings and textbooks tables, adds components and pages to display and manage textbook listings, and fixes a bug in the editAnnouncement function. It also adds the link property to the file object and centers the image preview.

@IllGive IllGive self-assigned this Nov 6, 2023
@vercel
Copy link

vercel bot commented Nov 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
coursify ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2024 0:39am

Copy link
Contributor

@Bloxs Bloxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not read any of this

@Bloxs
Copy link
Contributor

Bloxs commented Mar 27, 2024

I forgot, what even is this pr

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.

3 participants