Skip to content

Confusing View YAML option given new Show Configuration option #16464

@richard-cox

Description

@richard-cox

Setup

  • Rancher version: v2.14.0

Describe the bug

  • Installed Apps entries show two menu items
    • Show Configuration (user can view the yaml for the app in slide in)
    • View Yaml (user can view the yaml for the app in a new screen)
  • The two options are confusing

To Reproduce

  • Apps --> Installed Apps --> click on three dot menu for any

Result

  • two options that do the same thing

Expected Result

  • one option to do the thing

Screenshots

Image

Additional context

  • normally we show edit config and edit yaml
  • we remove edit config given the special edit/upgrade button
  • we replace the edit yaml button with a view yaml button given the resource is not editable (not update link, see canUpdate in resource.class)
  • think the solution is now if the Show Configuration option is shown don't fall back on view yaml if the resource cannot be edited
  • fwiw showConfiguration came in with Adding the Show Configuration action to all resource availableActions #14825

Metadata

Metadata

Assignees

Labels

QA/dev-automationIssues that engineers have written automation around so QA doesn't have look at thisarea/appskind/bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions