Git Product home page Git Product logo

Comments (5)

imsobear avatar imsobear commented on June 25, 2024

这个我感觉不是特别关键的功能,确定需要吗。

from appworks.

woaizimmy avatar woaizimmy commented on June 25, 2024

这个我感觉不是特别关键的功能,确定需要吗。

感觉有的话体验会更好一些。
因为用户在寻找区块的时候,一般会打开多个区块预览,但是每个区块的 title 都是一样的名称,当用户发现其实之前打开的某个区块更适合的时候——
诶?之前是哪个来着?名称是什么?
忘了,然后只能一个一个地去重新打开,每打开一个就要先记住它的名称,最终才能找到适合的那个。

from appworks.

imsobear avatar imsobear commented on June 25, 2024

@woaizimmy 理解,你说的这个主要是针对你们开发的自定义区块还是说官方区块?

from appworks.

woaizimmy avatar woaizimmy commented on June 25, 2024

@woaizimmy 理解,你说的这个主要是针对你们开发的自定义区块还是说官方区块?

自定义的,同一类的区块比较多,官方的同类的区块不多或许一目了然。

from appworks.

ClarkXia avatar ClarkXia commented on June 25, 2024

方案

区块的名称默认通过读取 package.json 中的 blockConfig.name 进行展示

{
  ...
  "blockConfig": {
    "name": "BasicDetail",
    "title": "BasicDetail",
    "category": "Information"
  },
  ...
}

如果有定制 title 需求,可以针对 blockConfig.name 进行修改

from appworks.

Related Issues (20)

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.