Comments (7)
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.
from rest-list-parameter-plugin.
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.
@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.
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.
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):
- 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.
- 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.
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)
- [BUG] java.lang.Integer cannot be cast to class java.lang.String HOT 7
- Error if value in JSON is an integer instead of a string HOT 7
- [FEATURE] Support "Safe HTML" in descriptions HOT 6
- [BUG] Odd invalid value behaviour when used in combination with the Parametrized Scheduler plugin HOT 10
- [BUG] Only global jenkins credentials are passed if REST/Web endpoint requires authentication HOT 4
- Can you provide support for blue ocean HOT 1
- [BUG] RestListParameterValue Not Exported To Remote Access API HOT 1
- [FEATURE] Multiple choice HOT 4
- [FEATURE] - Better presentation / easier selection of response value HOT 4
- RESTList not returns its value to Active Choices Reactive Parameters when it referenced
- [FEATURE] Give the user a option to alphabetically sort values HOT 2
- [BUG] Only Java level Web proxy settings apply HOT 3
- [FEATURE] Replace Integration Tests with Unit Tests HOT 1
- [BUG] Get error, A problem occurred while processing the request! HOT 2
- [FEATURE] add option to follow links on paged JSON API responses
- [FEATURE] Display choice one way and pass as variable in another way HOT 4
- [FEATURE] Support continuation tokens HOT 2
- [BUG] User scoped credentials cannot be used HOT 5
- Whats Next? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-list-parameter-plugin.