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

Improvement: 3093 Dashboard Services panel #3465

Merged
merged 7 commits into from
Aug 3, 2021

Conversation

alexis-ld
Copy link
Contributor

Component: dashboard

Context: #3093

Summary: Adds a Services panel to the dashboard

Screen.Recording.2021-07-29.at.14.01.59.mov

Closes: #3093

@alexis-ld alexis-ld requested a review from a team as a code owner July 29, 2021 13:38
@bert-e
Copy link
Contributor

bert-e commented Jul 29, 2021

Hello alexis-ld,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Jul 29, 2021

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
Comment on lines 137 to 139
const filtered = alerts.filter((item) => item && item.startsAt);
// Sort to make sure we have oldest alert first
filtered.sort((a, b) => new Date(a.startsAt) - new Date(b.startsAt));
Copy link
Contributor

Choose a reason for hiding this comment

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

it's good thinking, however, I don't think it's necessary ;)
In theory, at the current time, the same alert should not be triggered more than once.

ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/__TEST__/util.js Show resolved Hide resolved
ui/src/components/DashboardServices.js Show resolved Hide resolved
@bert-e
Copy link
Contributor

bert-e commented Jul 29, 2021

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

The following reviewers are expecting changes from the author, or must review again:

ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Outdated Show resolved Hide resolved
ui/src/components/DashboardServices.js Show resolved Hide resolved
…and core-ui's components

Leverage core-ui's StatusText instead of local implementation
Use formatDateToMid1 instead of custom Date formatting

Refs: #3093
@alexis-ld alexis-ld force-pushed the improvement/3093-services-panel branch from 96a1546 to b5a13c0 Compare July 30, 2021 11:31
@ChengYanJin ChengYanJin self-assigned this Aug 2, 2021
Copy link
Contributor

@ChengYanJin ChengYanJin left a comment

Choose a reason for hiding this comment

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

LGTM!

@bert-e
Copy link
Contributor

bert-e commented Aug 3, 2021

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@ChengYanJin
Copy link
Contributor

/bypass_author_approval

@bert-e
Copy link
Contributor

bert-e commented Aug 3, 2021

In the queue

The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.

The changeset will be merged in:

  • ✔️ development/2.11

The following branches will NOT be impacted:

  • development/2.0
  • development/2.1
  • development/2.10
  • development/2.2
  • development/2.3
  • development/2.4
  • development/2.5
  • development/2.6
  • development/2.7
  • development/2.8
  • development/2.9

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.

IMPORTANT

Please do not attempt to modify this pull request.

  • Any commit you add on the source branch will trigger a new cycle after the
    current queue is merged.
  • Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.

The following options are set: bypass_author_approval

@bert-e
Copy link
Contributor

bert-e commented Aug 3, 2021

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/2.11

The following branches have NOT changed:

  • development/2.0
  • development/2.1
  • development/2.10
  • development/2.2
  • development/2.3
  • development/2.4
  • development/2.5
  • development/2.6
  • development/2.7
  • development/2.8
  • development/2.9

Please check the status of the associated issue None.

Goodbye alexis-ld.

@bert-e bert-e merged commit 8071d86 into development/2.11 Aug 3, 2021
@bert-e bert-e deleted the improvement/3093-services-panel branch August 3, 2021 11:47
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.

MetalK8s UI Overview page Services Panel
3 participants