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

CRD fields are not selectable #140

Open
mcavoyk opened this issue Feb 19, 2021 · 6 comments
Open

CRD fields are not selectable #140

mcavoyk opened this issue Feb 19, 2021 · 6 comments
Assignees

Comments

@mcavoyk
Copy link

mcavoyk commented Feb 19, 2021

This is a very minor issue - all things considered - but something I attempt to do a lot when building compositions or referencing CRD's is to select the exact field path. The UI instead opens/closes the field definition instead of being selectable. Double clicking to select the section is a bit more reliable, but if the field is required the double click will select <field> required instead of just the field.

Example:
https://doc.crds.dev/github.com/crossplane/crossplane/apiextensions.crossplane.io/Composition/[email protected]

Try to select/highlight the field compositeTypeRef

@hasheddan hasheddan self-assigned this Feb 21, 2021
@RichiCoder1
Copy link
Contributor

@mcavoyk Howdy! Are you wanting to basically copy the desired field name to your clipboard? Do you want to select just the field name, the full field path (e.g. spec.compositeTypeRef), or either? We could potentially add a 📋 icon like some sites do now to offer that option

@mcavoyk
Copy link
Author

mcavoyk commented May 9, 2021

My use-case was around getting the full path for use in compositions, so spec.compositeTypeRef, but selecting just the inner field of compositeTypeRef would be fine as well. Just currently there is no clipboard button and the UI element is not highlight-able.

@eloo
Copy link

eloo commented Sep 30, 2021

@mcavoyk Howdy! Are you wanting to basically copy the desired field name to your clipboard? Do you want to select just the field name, the full field path (e.g. spec.compositeTypeRef), or either? We could potentially add a 📋 icon like some sites do now to offer that option

Hi, i'm also seeking for an option to copy field names with ease and i guess having a copy button would be the best way.
Really looking forward to have a copy option because this is currently a bit annoying.

Thanks

@ares-team-acn
Copy link

@mcavoyk Howdy! Are you wanting to basically copy the desired field name to your clipboard? Do you want to select just the field name, the full field path (e.g. spec.compositeTypeRef), or either? We could potentially add a 📋 icon like some sites do now to offer that option

to be able to copy a field (either by selecting or via button) would be a heaven. Full path option is just bonus.

@kennedy
Copy link

kennedy commented Apr 8, 2022

Maybe add a "copy attribute" button would be super helpful

@kennedy
Copy link

kennedy commented Apr 8, 2022

@ares-team-acn @eloo @mcavoyk @RichiCoder1

As a temporary solution double click the parent dividing lines to select the field:1
2022-04-07 21 50 14 doc crds dev e68be3c17dce

Footnotes

  1. https://doc.crds.dev/github.com/crossplane/provider-aws/ec2.aws.crossplane.io/VPC/[email protected]

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

6 participants