Favourite NFTs page #180
Replies: 7 comments 3 replies
-
@modersohn @danielsolistensvik |
Beta Was this translation helpful? Give feedback.
-
I would love this! I have alot of shitty nfts, so to be able to only show starred like on looprare would be awesome! Nice idea @fudgebucket27 |
Beta Was this translation helpful? Give feedback.
-
Make it possible to also star others nft? To be able to keep track of nfts in general. F.ex. see all my fav nfts in an own tab or page |
Beta Was this translation helpful? Give feedback.
-
Can you post a link how you’re using browser storage @fudgebucket27 ? How persistent is this? If you’re loosing it because your browser is trying to keep things private then that would be a major downer. And the alternative of having a proper login system with a database seems like a huge effort to me. Have you got experience with something like this @danielsolistensvik ? |
Beta Was this translation helpful? Give feedback.
-
I don't know how it works on looprare, but I guess it uses blazor local storage or something of that kind and just store the id's? Would be simple enough. Just update local storage if one is added or removed. Used the nuget blazor.local.storage or something in that lane before. Pretty straight forward. Much much much simpler than dealing with accounts etc. Edit: here, found link to nuget.. blazored |
Beta Was this translation helpful? Give feedback.
-
Yeh it's blazor local storage described here
https://docs.microsoft.com/en-us/aspnet/core/blazor/state-management?view=aspnetcore-6.0&pivots=server
Unless they specifically clear it out of storage it will stay persisted.
…On Fri, 24 June 2022, 6:11 am Daniel Soli Stensvik, < ***@***.***> wrote:
I don'r know how it works on looprare, but I guess it uses blazor local
storage or something of that kind and just store the id's? Would be simple
enough. Just update local storage if one is added or removed. Used the
nuget blazor.local.storage or something in that lane before. Pretty
straight forward. Much much much simpler than dealing with accounts etc.
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIDWT2OCYC6JUJRMSI6C2LVQTAHJANCNFSM5ZR4S37Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So that makes an independent list of stored favourite NFTs not too difficult (but I desperately want to refactor our NFT grid before we copy it a 3rd time! see #193). But: to filter your own NFTs by favourite status is a completely different story! You would need to build a filter list for the graph QL and it could become quite huge. Or you would need to retrieve everything first and filter in our code. Same thing would apply to filter for favourites in a collection for example. |
Beta Was this translation helpful? Give feedback.
-
Would putting in some sort of favourite system for NFTs be useful? Say if someone wants to keep track of an NFT, instead of having many browser bookmarks, have it confined to one page on the site? On my other site https://looprare.io , I have implemented a favourite/starring system for NFTs. It just uses browser storage to store the nft ids:
Beta Was this translation helpful? Give feedback.
All reactions