rohitdasu / projectmate

Supercharge your open-source contributions with projectmate.net; Discover open-source projects, connect with experienced maintainers, and collaborate with a community of passionate contributors. Join over 200+ registered users who are already making a difference
https://projectmate.net
MIT License
148 stars 107 forks source link

[FEATURE] Add "Back to Top" Floating Action Button (FAB) #440

Closed rohitdasu closed 5 months ago

rohitdasu commented 6 months ago

Description

Current Behavior: There is no mechanism in place to quickly navigate users back to the top of the page, especially on longer pages with extensive content.

Desired Behavior: Implement a "Back to Top" feature by adding a Floating Action Button (FAB) that, when clicked, smoothly scrolls the user back to the top of the page. This will enhance user experience, providing a convenient way to navigate to the top without manually scrolling.

YubaNeupane commented 6 months ago

can i get assigned this issue?

rohitdasu commented 6 months ago

can i get assigned this issue?

Sure, assigning it to you.

YubaNeupane commented 6 months ago

@rohitdasu could you check my PR?

RazaAbbas62 commented 5 months ago

Hi, Can i do it or is it done?

rohitdasu commented 5 months ago

Hi, Can i do it or is it done?

sure, you can :) let us know if you need anything

RazaAbbas62 commented 5 months ago
@rohitdasu Hi, npx prisma db push is showing error that error: Error validating datasource db: You must provide a nonempty URL. The environment variable MONGODB_URI resolved to an empty string.
--> schema.prisma:10
9 provider = "mongodb" 10 url = env("MONGODB_URI")

Validation Error Count: 1

Screenshot 2024-01-26 192650

But I have found a way to add that button

rohitdasu commented 5 months ago

@FazeenIjaz are you able to add the button?

RazaAbbas62 commented 5 months ago

@FazeenIjaz are you able to add the button?

@rohitdasu yes, I can add it. In fact, I had also written code for that, but what's about the error shown above?

rohitdasu commented 5 months ago

@FazeenIjaz that error is related to the database connection string, you've not provided it so it's throwing that error.

RazaAbbas62 commented 5 months ago

@rohitdasu The same thing I am asking what should be that string? Btw I don't need anything related to that database, so is it necessary to run that command, npx prisma db push, Or I can just add that button without any database use?

rohitdasu commented 5 months ago

@rohitdasu The same thing I am asking what should be that string? Btw I don't need anything related to that database, so is it necessary to run that command, npx prisma db push, Or I can just add that button without any database use?

there's no need in db here. please create a PR

RazaAbbas62 commented 5 months ago

@rohitdasu I created a PR, please check it out.