epam / corgis

Simple solution for corgi NFT
https://epam.github.io/corgis
0 stars 4 forks source link

Extra: Make User's Corgi Pack publicly available, and link to it from Corgi card #144

Closed zahhar closed 3 years ago

zahhar commented 3 years ago

Currently Corgis that belong to the user are displayed on the page "My Corgis": https://epam.github.io/corgis/#account This page is available only for the owner, but as all data stored in the Contract is piublic, and calls to View functions are free, we can show who owns what publicly, so everyone can share a link to all his Corgis at once.

  1. Change page URL to https://epam.github.io/corgis/#list/%username%
  2. Show on the page Corgis that belong to %username%
  3. If page is being viewed by its Owner (loggedInUser == %username%), then display for each Corgi card an Action menu; otherwise display cards as on the home page;
  4. Change page title: %username%'s Corgis, aligned left
  5. Remove subtitle "Create, collect, send or trade"
  6. Make usernames on the Corgi card clickable, so they navigate to #list/%username%