ondemand icon indicating copy to clipboard operation
ondemand copied to clipboard

review profile choices in help menu

Open johrstrom opened this issue 3 years ago • 5 comments

I'm not quite sure we want the choices for profiles in the help menu. Let's use this ticket to maybe polish how users interact with this choice, should they have it.

Things to consider

  • back out options - when you choose a profile, how can you reset back to no profile?
  • #1909
  • A themes or profiles navbar entry

┆Issue is synchronized with this Asana task by Unito

johrstrom avatar Aug 04 '22 00:08 johrstrom

back out options

Currently, you can reset back to no profile by adding a link with an empty id:

profile_links:
  - id: ""
    name: "default"
    icon: "cog"
  - id: team1
    name: "Team1"
    icon: "user"
  - id: team2
    name: "Team2"
    icon: "user"

abujeda avatar Sep 01 '22 09:09 abujeda

A themes or profiles navbar entry

This makes more sense than using the Help menu. I was just wary of using space in the main navigation when decided to use an existing nav item.

abujeda avatar Sep 01 '22 09:09 abujeda

Help menu responds to array

I think this can be done once we complete https://github.com/OSC/ondemand/issues/2154. Adding a new property for the right hand side navigation, we could do exactly the same as with the main navigation.

abujeda avatar Sep 01 '22 11:09 abujeda

back out options

Thinking about the back out options, do you think it would be best, when a profiles are defined, that a profile should always be selected?

So that, what we are now calling the root configuration, cannot be selected and it is only used to add common configuration between profiles?

abujeda avatar Sep 01 '22 14:09 abujeda

back out options

Thinking about the back out options, do you think it would be best, when a profiles are defined, that a profile should always be selected?

So that, what we are now calling the root configuration, cannot be selected and it is only used to add common configuration between profiles?

I guess the underlying question here is - do we want to expose the root configuration as an option? When we get that first page load (right now) it'll be the root configuration. And then you can choose a profile.

But maybe we actually want a way to provide a default profile. That is, say you have 2 defined A and B and you want A to show by default. Users can toggle between A and B, but they never see (or get to choose) the root configuration.

I think that if a user ever sees the root configuration, they should be able to switch back to it. But if they don't ever see it - they can't toggle to it.

Put succinctly - I think any layout a user sees they should be able to recreate.

johrstrom avatar Sep 01 '22 15:09 johrstrom