Coder Social home page Coder Social logo

Comments (6)

tractorcow avatar tractorcow commented on August 16, 2024 1

@clarkepaul question about the designs; I have spoken with @flamerohr and he suggested to look into a new approach.

Instead of a dropdown + textfield approach, could we use a single comobox (typeable dropdown) as a means of selecting an existing / creating a new value.

Change:

image

To:

image

A demo of how the combobox could work can be tested at https://jedwatson.github.io/react-select/ (bottom of page, select single select).

from silverstripe-admin.

flamerohr avatar flamerohr commented on August 16, 2024 1

I believe the reason I had suggested it was too hard was because the campaigns would be mixing types of data - IDs (number) with Name of new campaign (string)
the anchor work is just string for new or existing, so it's much easier to deal with

from silverstripe-admin.

tractorcow avatar tractorcow commented on August 16, 2024

Won't be able to get this done in time for beta3. Moved to next milestone.

WIP at https://github.com/open-sausages/silverstripe-cms/tree/pulls/4.0/anchor-modal

from silverstripe-admin.

clarkepaul avatar clarkepaul commented on August 16, 2024

Yeah that would be good if it was possible. I thought we didn't have that UI possibility though as I already asked for this pattern to be introduced for adding items to campaigns (select or add new) but I was told it was too hard to do, I think @flamerohr said it was too hard to do.

from silverstripe-admin.

clarkepaul avatar clarkepaul commented on August 16, 2024

Thought it might be good to add this related issue as we were going to use the same approach as mentioned above but either we didn't have time to implement or wasn't quite appropriate at the time. @flamerohr has some tips for implementation also #161 (comment)

If we do use this functionality then we could retrospectively update the "add to campaign" to follow the same pattern?

from silverstripe-admin.

tractorcow avatar tractorcow commented on August 16, 2024

Feedback from review is implemented.

from silverstripe-admin.

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.