Project

General

Profile

Actions

action #68839

open

[ui][ux][beginner] Show job group properties and template for non-admins

Added by tinita almost 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-07-10
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by tinita almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by tinita almost 4 years ago

  • Description updated (diff)
Actions #3

Updated by livdywan almost 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.

Actions #4

Updated by okurz about 2 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)
Actions

Also available in: Atom PDF