jenkinsci / jenkinsci/hidden-parameter-plugin

Hidden parameter changes UI experience

Open
#187 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11
Forks
22
Avg merge
4h 7m
Merged PRs (30d)
1

Description

### Jenkins and plugins versions report

Jenkins: 2.462.3
OS: Linux - 5.14.0-427.49.1.el9_4.x86_64
Java: 21.0.5 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
ace-editor:1.1
additional-metrics:67.vcb_823d3999a_2
analysis-model-api:12.4.0
ansicolor:1.0.4
ant:497.v94e7d9fffa_b_9
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
apache-httpcomponents-client-5-api:5.3.1-110.v77252fb_d4da_5
asm-api:9.7-33.v4d23ef79fcc8
atlassian-jira-software-cloud:2.0.15
authentication-tokens:1.53.v1c90fd9191a_b_
bitbucket-build-status-notifier:1.4.2
blueocean:1.27.9
blueocean-autofavorite:1.2.5
blueocean-bitbucket-pipeline:1.27.9
blueocean-commons:1.27.9
blueocean-config:1.27.9
blueocean-core-js:1.27.9
blueocean-dashboard:1.27.9
blueocean-display-url:2.4.2
blueocean-events:1.27.9
blueocean-git-pipeline:1.27.9
blueocean-github-pipeline:1.27.9
blueocean-i18n:1.27.9
blueocean-jwt:1.27.9
blueocean-personalization:1.27.9
blueocean-pipeline-api-impl:1.27.9
blueocean-pipeline-editor:1.27.9
blueocean-pipeline-scm-api:1.27.9
blueocean-rest:1.27.9
blueocean-rest-impl:1.27.9
blueocean-web:1.27.9
bootstrap5-api:5.3.3-1
bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_
branch-api:2.1178.v969d9eb_c728e
build-history-metrics-plugin:112.v476124de7dfc
build-name-setter:2.4.3
build-token-root:151.va_e52fe3215fc
caffeine-api:3.1.8-133.v17b_1ff2e0599
cctray-xml:89.v28b_e47f67c3b_
checks-api:2.2.0
cloudbees-bitbucket-branch-source:866.vdea_7dcd3008e
cloudbees-folder:6.858.v898218f3609d
command-launcher:107.v773860566e2e
commons-lang3-api:3.17.0-84.vb_b_938040b_078
commons-text-api:1.12.0-129.v99a_50df237f7
conditional-buildstep:1.4.3
config-file-provider:959.vcff671a_4518b_
configuration-as-code:1775.v810dc950b_514
configuration-as-code-groovy:1.1
credentials:1371.vfee6b_095f0a_3
credentials-binding:642.v737c34dea_6c2
cucumber-reports:5.8.3
data-tables-api:2.1.4-1
display-url-api:2.204.vf6fddd8a_8b_e9
docker-commons:439.va_3cb_0a_6a_fb_29
durable-task:543.v262f6a_803410
echarts-api:5.5.1-1
eddsa-api:0.3.0-4.v84c6f0f4969e
email-ext:2.104
favorite:2.208.v91d65b_7792a_c
font-awesome-api:6.6.0-1
forensics-api:2.5.0
git:5.2.1
git-client:4.6.0
git-server:99.101.v720e86326c09
github:1.37.3.1
github-api:1.318-461.v7a_c09c9fa_d63
github-branch-source:1772.va_69eda_d018d4
google-oauth-plugin:1.330.vf5e86021cb_ec
groovy:457.v99900cb_85593
gson-api:2.11.0-41.v019fcf6125dc
handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
hidden-parameter:366.v7024b_32e399e
htmlpublisher:1.33
instance-identity:185.v303dc7c645f9
ionicons-api:74.v93d5eb_813d5f
jackson2-api:2.17.0-379.v02de8ec9f64c
jacoco:3.3.6
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javadoc:243.vb_b_503b_b_45537
javax-activation-api:1.2.0-7
javax-mail-api:1.6.2-10
jaxb:2.3.9-1
jdk-tool:73.vddf737284550
jenkins-design-language:1.27.9
jersey2-api:2.41-133.va_03323b_a_1396
jira:3.12
jjwt-api:0.11.5-77.v646c772fddb_0
job-dsl:1.87
joda-time-api:2.12.6-21.vca_fd74418fb_7
jquery3-api:3.7.1-2
jsch:0.2.16-86.v42e010d9484b_
json-api:20240303-41.v94e11e6de726
json-path-api:2.9.0-58.v62e3e85b_a_655
junit:1296.vb_f538b_c88630
kubernetes:4174.v4230d0ccd951
kubernetes-client-api:6.9.2-239.ve49a_3f285167
kubernetes-credentials:0.11
lockable-resources:1232.v512d6c434eb_d
mailer:472.vf7c289a_4b_420
mapdb-api:1.0.9-28.vf251ce40855d
matrix-auth:3.2.2
matrix-project:832.va_66e270d2946
maven-plugin:3.23
mercurial:1260.vdfb_723cdcc81
metrics:4.2.18-442.v02e107157925
mina-sshd-api-common:2.11.0-86.v836f585d47fa_
mina-sshd-api-core:2.11.0-86.v836f585d47fa_
modernstatus:1.3
momentjs:1.1.1
multiple-scms:0.8
oauth-credentials:0.646.v02b_66dc03d2e
okhttp-api:4.11.0-157.v6852a_a_fa_ec11
openshift-client:1.1.0.424.v829cb_ccf8798
openshift-login:1.1.0.248.v1908df5c4f5e
openshift-sync:1.1.0.802.v45585f8cdc07
pam-auth:1.10
parameterized-trigger:787.v665fcf2a_830b_
pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-groovy-lib:700.v0e341fa_57d53
pipeline-input-step:508.v584c0e9a_2177
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2168.vf921b_4e72c73
pipeline-model-definition:2.2168.vf921b_4e72c73
pipeline-model-extensions:2.2168.vf921b_4e72c73
pipeline-rest-api:2.34
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2168.vf921b_4e72c73
pipeline-stage-view:2.34
pipeline-utility-steps:2.16.0
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:4.1.0
prism-api:1.29.0-17
prometheus:2.5.1
pubsub-light:1.18
run-condition:1.7
scm-api:696.v778d637b_a_762
script-security:1354.va_70a_fe478c7f
slack:741.v00f9591c586d
snakeyaml-api:2.2-111.vc6598e30cc65
snyk-security-scanner:4.1.0
sse-gateway:1.26
ssh-credentials:308.ve4497b_ccd8f4
sshd:3.330.vc866a_8389b_58
structs:338.v848422169819
subversion:2.17.3
timestamper:1.27
token-macro:400.v35420b_922dcb_
trilead-api:2.147.vb_73cc728a_32e
variant:60.v7290fc0eb_b_cd
warnings-ng:11.4.1
workflow-api:1336.vee415d95c521
workflow-basic-steps:1042.ve7b_140c4a_e0c
workflow-cps:3953.v19f11da_8d2fa_
workflow-cps-global-lib:609.vd95673f149b_b
workflow-durable-task-step:1313.vcb_970b_d2a_fb_3
workflow-job:1385.vb_58b_86ea_fff1
workflow-multibranch:773.vc4fe1378f1d5
workflow-scm-step:427.v4ca_6512e7df1
workflow-step-api:678.v3ee58b_469476
workflow-support:920.v59f71ce16f04

---------------------------------------------------

More a question than a bug right now.. is the intention for hidden params to affect the UI? See screenshots below.

Before (no params at all):
![Image](https://github.com/user-attachments/assets/a4f50507-cbc9-4dbe-a3c5-f900acdd87f5)

After (added single hidden param):
![Image](https://github.com/user-attachments/assets/2e86c1ba-36d4-4021-a181-11a93496bc79)

Then:
![Image](https://github.com/user-attachments/assets/e96c2f1f-91ef-42ca-ab73-75ce78c63b60)

As you can see, adding a hidden param affects the UI experience for the Input step, requiring an extra click through. Not the end of the world but... is this expected? A limitation of sorts? Is there a workaround available?

Thanks,
Michael

### Expected Results

Expected the Input UI to display as if there were no params at all.

### Actual Results

Input UI is changed, requiring users to click through before finding the familiar 'Approve/Decline' options.

### Are you interested in contributing a fix?

Yes. Relatively new to Jenkins plugins though, would appreciate any pointers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.