Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml viewer & editor #10

Closed
1000TurquoisePogs opened this issue Jul 18, 2023 · 2 comments
Closed

yaml viewer & editor #10

1000TurquoisePogs opened this issue Jul 18, 2023 · 2 comments
Assignees

Comments

@1000TurquoisePogs
Copy link
Member

I like the idea of having entries in the schema mapped to html forms, but there are times you need to just see the whole yaml.

Consider,

  • someone already knows what to do (they took a backup?) and just want to paste in some yaml
  • there's some bug (?) and just editing the yaml is a workaround
  • for some reason, there's some entry not covered in the schema yet but it does exist, and so the only way to edit it is via the yaml

In any case, allowing the user to see the whole zowe.yaml and edit it is good.

If we're going to have a yaml editor, I think it should be monaco because

Imagine that every page in zen that prompts you for a property that exists in the yaml is getting/setting some internally managed yaml.
At any step in zen, it should be able to switch to the yaml viewer.
That way, regardless of what page you're on, you could fix or override whatever you need to in the yaml, and then the page you're on should respect the change.

This was referenced Jul 18, 2023
@skurnevich
Copy link
Collaborator

We planned to have monaco editor at the last step to allow user to see and edit completed zowe.yaml, but i like the idea to have a switch to the yaml viewer on every step as well

@DivergentEuropeans DivergentEuropeans changed the title yaml viewer yaml viewer & editor Sep 1, 2023
@1000TurquoisePogs
Copy link
Member Author

Done by @sakshibobade21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants