action #68839
open[ui][ux][beginner] Show job group properties and template for non-admins
0%
Description
Motivation¶
It could be useful to show the Job Group Properties and the YAML Template to users without being logged in as admins.
Currently you have to be an admin to get the link, and the link goes directly into the editor.
For the YAML we could use YAML::PP's highlighting feature, which makes block scalars nicely visible (see https://www.yaml.info/learn/quote.html#tldr for example), so it might be a bit more readable than in the editor which has limited YAML highlighting capabilities.
It's possible to go to the link directly, e.g. https://openqa.opensuse.org/admin/job_templates/24
But it's weird that it is under /admin
.
Further details¶
entrance level issue
Updated by livdywan over 4 years ago
I suspect this is an oversight. When I was working on the YAML editor there was already a notion of a read-only mode but I never touched the view that takes you to the editor. +1 for consistency.
For the YAML we could use YAML::PP's highlighting feature, which makes block scalars nicely visible (see https://www.yaml.info/learn/quote.html#tldr for example), so it might be a bit more readable than in the editor which has limited YAML highlighting capabilities.
This seems like an unrelated point. "Highlight block scalars in the YAML editor" should make a separate ticket.
Updated by okurz almost 3 years ago
- Tags set to ui, ux, beginner, job templates
- Subject changed from Show job group properties and template for non-admins to [ui][ux][beginner] Show job group properties and template for non-admins
- Description updated (diff)