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

Show operator instance types in the catalog #1582

Merged
merged 5 commits into from
Mar 16, 2020
Merged

Conversation

andresmgot
Copy link
Contributor

@andresmgot andresmgot commented Mar 12, 2020

Description of the change

This PR adds support for showing Operator instance types in the Catalog view along with available charts. To improve the discover-ability of those instances, there is a column filter that you can use to list only charts or operators (which is only rendered if there are operators available).

Screenshot from 2020-03-12 13-41-21

Fun fact: The icons are now encrypted in base64 in the CSV definition

Applicable issues

Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

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

LGTM

checked={listOperators}
onChange={this.toggleListOperators}
/>
<span>Operator Instances</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

We're using the technical name "operator instances" here, but I wonder if it'd be better from a user pov to just filter by "operators" (vs charts)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, I used Operators first but I thougth it could be confusing with the operators view. In any case you are probably right.

});
});
});
return result;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this is returning all charts followed by all operators? Should the catalog result be sorted in some way?

Copy link
Contributor Author

@andresmgot andresmgot Mar 16, 2020

Choose a reason for hiding this comment

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

It is. Probably is more intuitive to have them mixed and ordered alphabetically

@andresmgot andresmgot merged commit 5363b8c into master Mar 16, 2020
@andresmgot andresmgot deleted the catalogOperators branch March 17, 2020 10:18
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

Successfully merging this pull request may close these issues.

2 participants