You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A links overview page was introduced here #20 but i removed it from the MVP.
I think it might be cleaner to use react-router instead of HeadlessUI tabs, but the layout can be copy-pasted.
Maybe we should limit to displaying 15 links, the list can grow fast.
Is there a way to get all the links shortened by an account from contract storage?
The text was updated successfully, but these errors were encountered:
We should add the author to the even that gets emitted in shorten(). Then we can query for all events and filter by the author. (I'm not sure if this is convenient in PolkadotJS. In EVM this is quite easy). If it is not easy, then I think we should focus on this as a new feature set for ink!
Have you done much with querying all events from a contract from the beginning of time? I know you can do it for a particular block. @statictype
I do not see any user account data stored in the contract so we cannot currently get the user's stored links. We can support this feature if we do an upgrade. I would lean towards relying on events over storage. Plus it will force us to really fine tune that feature in both the front end and contract level
A links overview page was introduced here #20 but i removed it from the MVP.
I think it might be cleaner to use
react-router
instead of HeadlessUI tabs, but the layout can be copy-pasted.Maybe we should limit to displaying 15 links, the list can grow fast.
Is there a way to get all the links shortened by an account from contract storage?
The text was updated successfully, but these errors were encountered: