near / near-discovery

The homebase for Near Builders
https://dev.near.org
The Unlicense
49 stars 73 forks source link

Enable tracking of favorited components #692

Closed thisisjoshford closed 1 year ago

thisisjoshford commented 1 year ago

Description

Developers should be able to save (e.g. 'star') components that they find useful for later reference. Additionally, components should track and display how often they have been starred to help indicate their usefulness.


Goal


Resources

heycorwin commented 1 year ago

@thisisjoshford can you think of any reason we shouldn't just change favorites to stars and treat these just like Github?

thisisjoshford commented 1 year ago

@thisisjoshford can you think of any reason we shouldn't just change favorites to stars and treat these just like Github?

Nope, sounds good to me. Like we discussed in our meeting last week, naming isn't as important as the ability for a user to save/bookmark components for later reference and the components to track # of times they have been saved/bookmarked.

heycorwin commented 1 year ago

This is now reflected in the new design spec for the developer profiles:

https://www.figma.com/file/eIN40ZtBHDlLMB1LXCK5Jn/Developer-Profiles?type=design&node-id=1-8469&mode=dev

thisisjoshford commented 1 year ago

@evgenykuzyakov just shipped staring of components on near.social gateway ❤️

charleslavon commented 1 year ago

@calebjacob @gabehamilton consider this task for next week's sprint.

calebjacob commented 1 year ago

I'm happy to collaborate with @gabehamilton on this. I can implement the frontend - I'll just need some help thinking through how the star action and data should be tracked.

Also, @thisisjoshford can we descope this component from the ticket and implement it separately?

Screen Shot 2023-11-03 at 10 05 20 AM

I'm not sure we have all the data we need to achieve it right now. This component alone will be a decent amount of effort compared to the rest of this ticket.

calebjacob commented 1 year ago

Whoops, just realized it was already broken out: https://github.com/near/near-discovery/issues/623

Still drinking my coffee :)