Giter Site home page Giter Site logo

Comments (1)

Cheddam avatar Cheddam commented on June 23, 2024

There are a couple of existing fields that might improve the situation a bit, but aren't super well suited and would require hackery to get them storing data in the right way:

  • A GridField with the GridFieldConfig_RelationEditor component attached
  • A TagField (this could end up just as unwieldy as the current CheckboxSetField)

Alternatively, we could produce a new field that better suits this purpose. Here's what I've come up with:

image

The default 'All' filter would show every option, sorted by Enabled first. The ellipsis (or something similar) would expand to display the full list, which could default to ~10 items. Useful for quickly toggling particular items in a small list off, but should still be plenty usable with large datasets by way of the search input.

Happy to PoC it (likely in Vue initially, as I have more experience with that than React). Let me know if you have any thoughts on the mock, and if you think it's worth investing some time to build 👍

from silverstripe-featureflags.

Related Issues (4)

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.