Giter VIP home page Giter VIP logo

Comments (1)

philrz avatar philrz commented on June 12, 2024

In the time since this issue was first opened, we've spotted some additional problems with the rendering of named types. The repro below is at Zui commit 67797fd and uses the following input data.zson:

{
    nest1: {
        foo: "bar"
    },
    nest2: {
        foo: "bar"
    } (=AnotherName),
    nest3: {
        foo: "bar"
    }
}

The attached video shows three problems related to the named type in this data:

  1. There's no leading = shown in the type decorator for AnotherName like we see in the ZSON rendering from the CLI tooling. As the ZSON spec describes, the = is necessary when it's defined as a new type but then can be dropped in later references.
  2. In the Columns picker, the nested field foo is not shown for the nested record that's a named type. This symptom was first reported to us by a community zync user.
  3. The named type is described in the Columns picker as an <alias>, but this terminology has been purged from Zed in favor of "named type". In any case, for the purposes of what's shown in the Column picker, I imagine labeling it <record> is probably still appropriate, though it may be worth polling the Zed dev team for input as well.
Repro.mp4

from zui.

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.