thtauhid / open-profile

Unified profile to showcase your work.
https://my-open-profile.vercel.app
MIT License
13 stars 14 forks source link

feat: Implementing last user searches functionality. #50

Closed SAGARSINGH-1 closed 1 year ago

SAGARSINGH-1 commented 1 year ago

Implementing a GitHub username search feature on the page. This feature stores the last searched username in local storage and provides suggestions to the user based on their search history.

Suggestions in the below of input fields :

image

Ready to work in it.

RobertLupas commented 1 year ago

I'd like to work on this. Would it be good if I go about this by using an array with the X most recent searches, stored in localStorage?

thtauhid commented 1 year ago

Assigning to @SAGARSINGH-1 as he created the issue.

SAGARSINGH-1 commented 1 year ago

hey @thtauhid is this good or we just redirect the user to that user Profile page :

https://github.com/thtauhid/open-profile/assets/81561733/072c0e44-c2d7-4a7c-9583-2f67ca23143f

thtauhid commented 1 year ago

The search history needs to look a bit more elegant. When clicked, it should directly go to the user's profile.

SAGARSINGH-1 commented 1 year ago

Ok. Got it

SAGARSINGH-1 commented 1 year ago

Hey @thtauhid check the referenced PR

thtauhid commented 1 year ago

Hi @SAGARSINGH-1 checked.