Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update interfaces for apps metadata #317

Closed
dmytrotkk opened this issue Aug 2, 2024 · 2 comments · Fixed by #331
Closed

Update interfaces for apps metadata #317

dmytrotkk opened this issue Aug 2, 2024 · 2 comments · Fixed by #331
Assignees
Labels
enhancement New feature or request

Comments

@dmytrotkk
Copy link
Contributor

dmytrotkk commented Aug 2, 2024

App metadata interface should be updated to support new format.

Changes should be made in portal and metaport repos.

Old format:

"fivetars": {
        "alias": "5TARS",
        "background": "gray",
        "gradientBackground": "linear-gradient(92deg, #00121e 0%, #052b44",
        "url": "https://5tars.io/",
        "description": "Predict games and build your dream team in our free Web3 football game. Compete against fans worldwide for an immersive and engaging experience!",
        "contracts": [
          "0x23C1F1a60F18e304fC81eDB2cb98C04a59aef466",
          "0xda7D9012A36d85F61Ca6e0d85998FBEf0BA640B6",
          "0xcBffbd2421B03786c256B117953a8486bc9880C9",
          "0x9A46e3ea68d243f788C7499C88C6714cE67518D3",
          "0x3b066a8C2487F5723A221cf29F81a17a4ed4cd5a",
          "0x35fde43576E68F6EE5Dfa81DD8e0fc604B258d62",
          "0x0F9eaeC79E7ec5e426B556eFAE3D9A7585EdC902",
          "0xA18eDA12C87eF30cCB8f294D90f58Ce72144ac11",
          "0x4BF615f221Ef736548f38226Eb7173Fb69cF9906",
          "0x13feEcE0ACd24E175154f13849166f18287Cf07f",
          "0xb850De68296D091974Dc32F9D6aDD2F992fA4310"
        ],
        "tags": [
          "NFT",
          "Games",
          "Sports",
          "Marketplaces"
        ]
      }

New format:

"fivetars": {
        "alias": "5TARS",
        "background": "gray",
        "gradientBackground": "linear-gradient(92deg, #00121e 0%, #052b44",
        "description": "Predict games and build your dream team in our free Web3 football game. Compete against fans worldwide for an immersive and engaging experience!",
        "contracts": [
          "0x23C1F1a60F18e304fC81eDB2cb98C04a59aef466",
          "0xda7D9012A36d85F61Ca6e0d85998FBEf0BA640B6",
          "0xcBffbd2421B03786c256B117953a8486bc9880C9",
          "0x9A46e3ea68d243f788C7499C88C6714cE67518D3",
          "0x3b066a8C2487F5723A221cf29F81a17a4ed4cd5a",
          "0x35fde43576E68F6EE5Dfa81DD8e0fc604B258d62",
          "0x0F9eaeC79E7ec5e426B556eFAE3D9A7585EdC902",
          "0xA18eDA12C87eF30cCB8f294D90f58Ce72144ac11",
          "0x4BF615f221Ef736548f38226Eb7173Fb69cF9906",
          "0x13feEcE0ACd24E175154f13849166f18287Cf07f",
          "0xb850De68296D091974Dc32F9D6aDD2F992fA4310"
        ],
        "categories": {
          "gaming": [
            "sports"
          ],
          "nfts": null
        },
        "social": {
          "x": "https://x.com/chess3app",
          "telegram": null,
          "discord": "https://discord.com/invite/chess3",
          "url": "https://5tars.io/",
        }
      }
@dmytrotkk dmytrotkk self-assigned this Aug 2, 2024
@dmytrotkk dmytrotkk added the enhancement New feature or request label Aug 2, 2024
@PolinaKiporenko PolinaKiporenko moved this to Ready For Pickup in SKALE Engineering 🚀 Aug 5, 2024
@PolinaKiporenko PolinaKiporenko added this to the SKALE Portal 2.4 milestone Aug 5, 2024
@dmytrotkk dmytrotkk linked a pull request Aug 16, 2024 that will close this issue
@dmytrotkk
Copy link
Contributor Author

@yatsunastya
Testing:

  1. Add new testing apps or convert old ones to the new format
  2. Test that apps are displayed correctly - social icons and urls, etc
  3. Test NEW tags - add "added": {TIMESTAMP} to the app
  4. Test Pre-TGE tags - add "tags": ["pre-tge"] to the app

@github-project-automation github-project-automation bot moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 Aug 20, 2024
@yatsunastya
Copy link
Contributor

Checked ✅
Version: 3.0.0-develop.1
All the social icons, chain icon and urls are displayed on the UI.
NEW and Pre-TGE tags are added to app metadata and displayed on the UI.

"puppy": {
        "alias": "Puppies world",
        "gradientBackground": "linear-gradient(270deg, #f00ee7, #f00ee7)",
        "description": "Puppies World is a Web3 game where players explore a vibrant digital realm, adopting, training, and trading adorable virtual puppies, all within a blockchain-based community.",
        "categories": {
          "gaming": [
            "action-adventure",
            "pc"
          ],
          "digital-collectibles": null
        },
        "tags": [
          "pretge"
        ],
        "social": {
          "website": "https://puppy.com/",
          "discord": "https://discord.com/",
          "telegram": "https://web.telegram.org/k/"
        },
        "added": 1724070518
      }

Image

@PolinaKiporenko PolinaKiporenko moved this from Ready For Release Candidate to Merged To Release Candidate in SKALE Engineering 🚀 Aug 20, 2024
@PolinaKiporenko PolinaKiporenko moved this from Merged To Release Candidate to Done in SKALE Engineering 🚀 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants