Giter Site home page Giter Site logo

layoutcomponents's People

Contributors

aheinze avatar ebspeter avatar flommy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

layoutcomponents's Issues

Last layout component cannot be deleted

Since the component param sent to server is deemed to be falsy as it is empty, the controller does not write to the components.json. Since the code checks if the file exists at one point, I guess it is better to delete it when there are no layout components.

@aheinze I have already created a pull request

Visualizing content of components

Hi,

I just discovered cockpit and really love it. It has everything required for a project I am working on. One of the last hurdles is a UX issue with this add-on. Is there a way to visualize something of the content of a component? Like a small thumbnail for an image, the first sentence of a text element, ... Currently the UI is sober, which I personally like, but the people I work with will need a more visual reference.

image

I know the components can be named, but showing the actual content will make it a bit better. :)

UPDATE:

If this is not something you plan or want to implement, could you at least give me some pointers on how to approach if I want to implement it myself?

field options seem to not have effect

When defining custom components and using options (e.g. required, default inside a set) they seem to be ignored:

{
  "fields": [
    {
      "name": "autoplay",
      "type": "boolean",
      "label": "Autoplay",
      "options": {"default": true}
    },
    {
      "name": "title",
      "type": "text",
      "label": "Title",
       "options": {"default": "default title"}
    }
  ]
}

Initially was thinking that was an issue on cockpit core but then realized that was working for collection fields (the reason that I opened agentejo/cockpit#965 and then closed - the PR changes make it work)!

Any ideas?

Missing license file - MIT?

Is this addon licensed under MIT, like all other cockpit sources?

I used some code from this addon to override the settings page in the BlockEditor addon to provide more options. While updating the readme to list the credits I noticed the missing license file.

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.