Git Product home page Git Product logo

Comments (4)

nabana avatar nabana commented on June 1, 2024

This is a feature not a bug and originates from a design decision. The WebgGME client could not determine the children-types for the object in focus without walking down to the leaves of the inheritance hierarchy. This could potentially mean downloading the entire project to the client. Therefore, a well defined categorization/barrier needs to be drawn by explicitly defining the meta member objects.

from webgme.

nadand avatar nadand commented on June 1, 2024

This is not a feature. It might be a design decision, but i'd rather call it design flaw. In the current state the information in the UI and DB are contradicting. The meta objects are all defined, they are all descendants of the FCO through inheritance.
What i'd say that a proper meta framework has to be built that supports querying the meta information in the DB to tell what can be placed into the current model and also checking the compliance of the current model.

from webgme.

kecso avatar kecso commented on June 1, 2024

Even if you would be able to quickly query your model without downloading it then still you could get possibly thousands of objects which would be tough to put on screen to select as a base for your new node ( as you can re-instantiate any instance of a type) and this also means that it would not help the user.
On the other hand you have the ability to create instance from any object allowed on the given sheet (just drag and drop it from the tree-browser).

So I would say that this (and the part-browser as well) function is only a visual helper and this design decision seemed the most cost-effective / user-friendly at the time (I think it still is).

p.s.: the meta info is there it just simply not directly specifies all the possible, already existing types that can be created on a level but telling what are the base-types that are allowed there.

from webgme.

lattmann avatar lattmann commented on June 1, 2024

Deleting a meta sheet could be ambiguous, what should be done.

  1. if all elements are included on at least another meta sheet, then just delete the meta sheet
  2. if at least one element (e.g. X and Y) is not included any other meta sheet then offer a few options to the user
    • Delete the meta sheet and delete all meta rules for (X and Y)
    • Cancel the delete operation and do not delete the meta sheet.

Not implemented within the scope of this issue. This change will result in rewriting the current confirm dialog.

  • Delete the meta sheet and keep all meta rules for (X and Y)
  • Delete the meta sheet and keep the meta rules for some object (X) and delete for other ones (Y)

from webgme.

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.