Open Issues Need Help
View All on GitHubAI Summary: The task is to fix a visual bug in a MERN stack application where the contribution text on the 'My Notes' page is nearly invisible due to poor contrast with the background. The solution involves adjusting the styling (likely using Tailwind CSS) to improve the text's visibility.
AI Summary: The task is to debug and fix a backend API endpoint responsible for uploading PYQs (Previous Year Questions). The issue is a schema validation error where the `branch` field is receiving a string instead of an ObjectId, and the `uploader` field is missing. The solution involves modifying the API endpoint to correctly handle the `branch` field (likely by converting the string to an ObjectId using the appropriate MongoDB function) and ensuring the `uploader` field (likely the user ID) is included in the request payload.
AI Summary: Implement toast notifications using a library like `react-toastify` to provide feedback to the user after they upvote a note. This involves modifying the frontend (React) code to display success or error messages based on the API response from the upvote action.
AI Summary: The backend API for the ManitStudyPortal application is throwing a `Cast to ObjectId failed` error when attempting to upvote a PYQ. The issue stems from the `branch` field receiving a string value ("CSE") instead of an ObjectId, which is the expected data type. The task involves debugging the backend code (likely within the upvote route handler) to correctly handle and cast the `branch` field to the appropriate ObjectId type before saving or querying the database.
AI Summary: Fix a bug in a MERN stack application where upvoting functionality is broken for PYQs and lacks toast feedback for successful/failed upvote/unupvote actions across all sections. This involves debugging the upvote handler, ensuring correct API calls and UI updates, and implementing consistent toast notifications using a library like `react-toastify`.
AI Summary: The task is to fix a pagination bug in a MERN stack web application. Currently, when a user refreshes the page while browsing notes or PYQs, the pagination resets to the first page. The solution involves using URL query parameters to store and retrieve the current page number, ensuring persistence across refreshes.
AI Summary: This task requires updating the backend schema of a MERN stack application to include fields for note title (Mini/Mid/End Sem/Complete) and description. The frontend needs to be modified to include these fields in the note upload form and display them appropriately on the note cards. This involves updating the database schema, modifying the upload form component, and adjusting the UI of the note cards to incorporate the new information.
AI Summary: Enhance the user experience of a MERN stack college study portal by improving the filter UI. The task involves adding visual cues (e.g., dimming, tooltips) and toast notifications to indicate when dependent filters (Branch and Subject) are disabled until a prerequisite filter (Year and Branch respectively) is selected. This should be implemented for both the notes and PYQs pages.
AI Summary: Debug and fix a pagination bug in a MERN stack application. The 'Next' button on the PYQs page becomes unexpectedly disabled after switching exam types. The solution involves investigating the pagination logic, likely within the React frontend, to ensure it correctly handles changes in the data set when the exam type filter is altered. Testing will be required to verify the fix.
AI Summary: Implement a global dark/light mode toggle for a MERN stack application using Tailwind CSS, React Context API, and localStorage. The toggle should persist across sessions, and all components should dynamically adjust to the selected theme. This involves modifying the `tailwind.config.js`, creating a ThemeContext, and updating relevant components and pages to utilize Tailwind's dark mode classes.