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

Allow for extra columns to be added to ExplorerTable #3248

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

jpellizzari
Copy link
Contributor

@jpellizzari jpellizzari commented Aug 24, 2023

Part of #2766

Adds the ability for custom column data to be pulled from the unstructured field of the ExplorerTable. This will allow for easier adoption of <Explorer /> in other parts of the UI.

For example, the query service backend does not know/care about an automation's sourceRef, but we are able to dig into that field to expose it in the UI:

Screenshot from 2023-08-24 14-42-35

Note: getting the value for tenant will be a bit trickier, based on how it is done currently, so that will be addressed in a follow up.

@jpellizzari jpellizzari force-pushed the 2766-explorer-columns branch from 10cee0c to 00b90d7 Compare August 24, 2023 21:57
@jpellizzari jpellizzari added enhancement New feature or request area/ui and removed enhancement New feature or request labels Aug 24, 2023
@jpellizzari jpellizzari marked this pull request as ready for review August 28, 2023 18:11
Copy link
Contributor

@enekofb enekofb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

Suggestions:

Verified that works:

Screenshot 2023-08-29 at 15 00 08

Had a shallow look to the FE changes and tests and makes sense to me but, as usual, dont trust too much in this part of my review.

@jpellizzari
Copy link
Contributor Author

Nice one!

Suggestions:

I don't think so. The component props and types will do the explaining, hopefully.

@jpellizzari jpellizzari requested review from AlinaGoaga and foot and removed request for TheGostKasper and AsmaaNabilBakr August 29, 2023 17:57
@enekofb enekofb self-requested a review August 30, 2023 09:57
@jpellizzari jpellizzari force-pushed the 2766-explorer-columns branch 3 times, most recently from 4c6152a to c894b78 Compare August 30, 2023 17:26
@jpellizzari jpellizzari force-pushed the 2766-explorer-columns branch from c894b78 to f68e1c8 Compare August 31, 2023 17:02
@jpellizzari jpellizzari merged commit 0f65d45 into main Aug 31, 2023
@jpellizzari jpellizzari deleted the 2766-explorer-columns branch August 31, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants