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

feature: Pin course in the courses page #1710

Open
shubhamku044 opened this issue Jan 13, 2025 · 1 comment · May be fixed by #1729
Open

feature: Pin course in the courses page #1710

shubhamku044 opened this issue Jan 13, 2025 · 1 comment · May be fixed by #1729
Labels
enhancement New feature or request

Comments

@shubhamku044
Copy link

shubhamku044 commented Jan 13, 2025

Is your feature request related to a problem? Please describe.
I have multiple courses from previous cohort and this cohort, so when I want to view my course I need to scroll down to the bottom
Describe the solution you'd like
Just like instagram we pin posts and that post is visible at the top, can we also do the same here

@shubhamku044 shubhamku044 added the enhancement New feature or request label Jan 13, 2025
@himanshukandari14
Copy link

To solve this issue, I'll add a isPinned field in the database, update the API to sort pinned courses first, and create an endpoint to toggle the pin status. On the frontend, I'll add a "Pin" button to update the status and ensure pinned courses are displayed at the top of the courses page.

@IkramBagban IkramBagban linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants