Giter VIP home page Giter VIP logo

Comments (7)

ianwilliams1 avatar ianwilliams1 commented on May 31, 2024 1

You may want to keep an eye on JENKINS-62024 and jenkins/pull/4688. That implementation will probably satisfy the request.

from rest-list-parameter-plugin.

ianwilliams1 avatar ianwilliams1 commented on May 31, 2024 1

from rest-list-parameter-plugin.

h1dden-da3m0n avatar h1dden-da3m0n commented on May 31, 2024

Thank you for the heads up 👍 Unfortunately, given the activity in that PR, it might take some time for the core team to merge it.
I might have a look and see if I can take anything from it and build my own version 🤔

from rest-list-parameter-plugin.

h1dden-da3m0n avatar h1dden-da3m0n commented on May 31, 2024

@ianwilliams1, sorry for the ping, but would be something like a datalist element be enough to fulfill this requirement in your opinion?
I finally have some time on my hands again and am trying to get this in whilst preparing for the new div based UI of the core.

from rest-list-parameter-plugin.

h1dden-da3m0n avatar h1dden-da3m0n commented on May 31, 2024

I knew about the IE and legacy Edge limitations, but good call with the mailing list I will give that one a shot.

from rest-list-parameter-plugin.

h1dden-da3m0n avatar h1dden-da3m0n commented on May 31, 2024

Oh boy. Warning, this might sound like a rant. (there is a TLDR at the end)

I have now "played" around with this for about 2 days, to get absolutely nowhere ☚ī¸.
That what I have got working is unusable from a UX perspective and I am not going to start commenting on my mess of a code (JS code mind you).
I am pulling the emergency shoot right now before I go into a meltdown over how much I dislike doing web front ends without good documentation or a supportive framework (e.g. Angular, Vue, ...).
DISCLAIMER: I not solely ended using datalist due to UX problems that even I could not bear with and tried several approaches to "improve it", a lot of building, deploying and a lot of me cussing over my own JS misery later and that what I got working is in no way better than what I started with.

TLDR:
I give up on using datalist or trying to implement a 'combobox' component on my own (no idea why I tried the latter) to save my sanity/motivation to keep going.

Next steps:
Well, as far as I can tell I have 2 options (and I don't particularly like either, despite preferring one over the other due to UX and design):

  1. continue using a simple select component and add a filter input field that gets used with some JS to filter the select options. This should be a very straight forward solution, however I am no fan for the UI nor the UX of this solution.
  2. use a 3rd party solution that offers a proper filterable select component (e.g. Select2). This approach should be as easy as it can be and I like its UI/UX more. However, I am unsure if this is an acceptable approach or would be playing along well with the Jenkins UI as a whole.

Regardless, I will take a break of this task till the weekend and select one of these approaches (most likely going to try both anyway). If you have any comment or input on this feel free to share it, I would definitively appreciate a second opinion.

from rest-list-parameter-plugin.

h1dden-da3m0n avatar h1dden-da3m0n commented on May 31, 2024

image

After long delay, and a couple of times I got distracted by other things, here a sneak peak on what i have (yes I am using select2)

from rest-list-parameter-plugin.

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.