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

Rework 'Message' column in Explorer for Apps page consistency #3576

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

jpellizzari
Copy link

@jpellizzari jpellizzari commented Oct 31, 2023

Closes #3568
Closes #3569
Closes #3572

Fixes some issues related to the Message field in Explorer.

First, changes the conditions logic to use the Ready condition to get a better error message (more consistent with Applications):

Screenshot from 2023-10-31 11-37-25

Second, it truncates large values for the message field. Before:
Screenshot from 2023-10-31 10-38-03

After:

Screenshot from 2023-10-31 10-38-17

Lastly, fixes an issue where the Templates view had some irrelevant/weird columns. Removed Status, Message, Tenant in favor of Description.

Screenshot from 2023-10-31 11-06-57

@@ -86,7 +91,15 @@ const TemplatesDashboard: FC<{
extraColumns={[
{
label: 'Type',
value: 'templateType',
value: o => {
console.log(o);
Copy link
Contributor

Choose a reason for hiding this comment

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

RM console log

Jordan Pellizzari added 3 commits November 1, 2023 10:07
We want to pull the .message from the Ready condition, as it probably contains the most helpful error/success message for the user.
Making this closer to parity with the old Applications view
@jpellizzari jpellizzari merged commit 9b1b42b into main Nov 1, 2023
10 checks passed
@jpellizzari jpellizzari deleted the 3568-explorer-msg branch November 1, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants