Wondering if admin webUI -> new route -> Method(s) tooltip should be changed #10817
Unanswered
nitinthewiz
asked this question in
Help
Replies: 1 comment 1 reply
-
Hi @nitinthewiz, I agree that "A list" is ambiguous when used in the Web interface, and it would be clearer if it read "A comma separated list" instead. Introducing a new autodoc field just for this instance of the issue sounds to me like being a relatively big hammer for a small ambiguity, however. Did you find any other instances where the wording is unclear? One could argue that instead of having users enter lists into a a text field, the methods should really be selectable with a multi-select dropdown. Kind regards, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
While creating a route in the Kong Admin web UI today, I realized that the Method(s) tooltip says the following -
"A list of HTTP methods that match this Route."
I traced this back to the admin-api autodoc here.
Now, for the API, this statement is correct. It is a "list of methods" in JSON.
However, the same is not true for the web UI. There, it should be described as "A comma separated list of HTTP methods..."
My first instinct was to send a PR. But thinking on it further, I can see that there's a slight disconnect caused by the same string being used in the API documentation as well as the Kong Manager web UI as a tooltip.
Looking for insight into what the resolution should be. As a newbie, it was pretty easy for me to guess that it would be a comma separated string of HTTP methods. But it can be clearer in the tooltip.
One resolution might be to have not just a description field in the autodoc, but also a "webui_description" field. If the webui_description is present, it should be used as the tooltip. In its absence, the UI should defer to the description field.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions