Giter Site home page Giter Site logo

Comments (6)

lukaskleinschmidt avatar lukaskleinschmidt commented on June 7, 2024 2

Have a look here

https://github.com/lukaskleinschmidt/sortable-plus

from kirby-sortable.

lukaskleinschmidt avatar lukaskleinschmidt commented on June 7, 2024

Sorry for the long delay but I was on vacation last week.

I actually think this could be a good addition. But I'm not quite sure if this should be a global option or something that can be set in the blueprint. I will have a closer look at this but I think the blueprint option would be best.

It would be great if I could get me some feedback regarding the customazation. For me everything is clear but I get that it is not the easiest thing to do. Some random points where you get stuck would help alot.

from kirby-sortable.

adamcbrewer avatar adamcbrewer commented on June 7, 2024

Well maybe not in config then, you're right. It would either be too controlling or otherwise complex when wanting to control everything on a per-page level.

So perhaps then a field for actions or buttons? Obviously all of them – add, copy, paste, edit, etc. – are enabled by default, but specifying a list of them will only enable those? I'm thinking something much like the buttons field for textarea's.

fields:
  projects:
    label: List of Project Pages
    type: sortable
    actions:
      - add
      - edit
      - delete

from kirby-sortable.

lukaskleinschmidt avatar lukaskleinschmidt commented on June 7, 2024

Actually the modules filed (it is just an extended sortable field) you can already do all of this.
https://github.com/lukaskleinschmidt/kirby-sortable/tree/master/fields/modules#blueprint

I left the source field (sortable) pretty basic so it can be easily edited for any specific need.

I will put something together so you can use the features of the modules field.

from kirby-sortable.

adamcbrewer avatar adamcbrewer commented on June 7, 2024

Amazing, thanks!

from kirby-sortable.

adamcbrewer avatar adamcbrewer commented on June 7, 2024

Thanks @lukaskleinschmidt , that's perfect!

from kirby-sortable.

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.