Giter VIP home page Giter VIP logo

Comments (3)

dougbutner avatar dougbutner commented on June 29, 2024

I see now, after looking at these

'int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32', 'uint64', 'float32', 'float64', 'string', 'INT8_VEC', 'INT16_VEC', 'INT32_VEC', 'INT64_VEC', 'UINT8_VEC', 'UINT16_VEC', 'UINT32_VEC', 'UINT64_VEC', 'FLOAT_VEC', 'DOUBLE_VEC', 'STRING_VEC'

that it may not make sense to add a whole new type, but may be better to have a regx checker to see if it's a link and simply display that on the front end, or else allow link to be passed as an alias for string and only do the regx on those

from atomicassets-contract.

jona-wilmsmann avatar jona-wilmsmann commented on June 29, 2024

This issue is something that we plan to address soon, likely by adding a new attribute called "display_data" to the collection_format in the config. This wouldn't require any code change, but instead would simply require the maintainers of the deployed contract to call the admincoledit action to add it.

We would then propose a standardized format for the display data, which would support specifying a media type for each attribute of a collection's schemas. Dapps could then read the display data attribute of a collection in order to display media types like images / videos / 3d models / links etc.

from atomicassets-contract.

dougbutner avatar dougbutner commented on June 29, 2024

Perfect thanks for the clarification. Seems like a progressive solution.

from atomicassets-contract.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.