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

[ui] Bugfix: monitoring page cannot display all the alerts #2503

Conversation

ChengYanJin
Copy link
Contributor

Component: ui

Context:
When the number of alerts is more than the capacity of the table, we can't scroll down to check the last few alerts.

Summary:
Change the height of the table from 100% to 80%

Acceptance criteria:
We can scroll down until the end of the table.
image


Closes: #2495

For some reason, if we set the height of the table to 100% we can't see the last few rows.

Refs: #2495
@ChengYanJin ChengYanJin requested review from MonPote and gdemonet April 30, 2020 09:37
@ChengYanJin ChengYanJin requested a review from a team as a code owner April 30, 2020 09:37
@bert-e
Copy link
Contributor

bert-e commented Apr 30, 2020

Hello chengyanjin,

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 Apr 30, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.6/bugfix/2495-monitoring-page-cannot-display-all-the-alerts with contents from bugfix/2495-monitoring-page-cannot-display-all-the-alerts
and development/2.6.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.6/bugfix/2495-monitoring-page-cannot-display-all-the-alerts origin/development/2.6
 $ git merge origin/bugfix/2495-monitoring-page-cannot-display-all-the-alerts
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.6/bugfix/2495-monitoring-page-cannot-display-all-the-alerts

.sc-loader {
padding: 0 ${padding.smaller};
}
`;

const TableContainer = styled.div`
height: 100%;
height: 80%;
Copy link
Contributor

Choose a reason for hiding this comment

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

For some reason, if we set the height of the table to 100% we can't see the last few rows.

If the component is from us, we should investigate why.
If it's a third-party library, we could report the bug to them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! We should know the root problem.

We are planning to replace this table library actually.
Because it causes too much issue than the value it brings.
We will do some research on the table.

@ChengYanJin ChengYanJin changed the title Bugfix/2495 monitoring page cannot display all the alerts [ui] Bugfix: monitoring page cannot display all the alerts Apr 30, 2020
@thomasdanan
Copy link
Contributor

@ChengYanJin how do we scroll down? I don't see any scroll bar ...

@ChengYanJin
Copy link
Contributor Author

@ChengYanJin how do we scroll down? I don't see any scroll bar ...

The scroll bar doesn't occur all the time ;)
It appears when we are scrolling down.

@bert-e
Copy link
Contributor

bert-e commented Apr 30, 2020

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 Author

/approve

@ChengYanJin
Copy link
Contributor Author

/status

@bert-e
Copy link
Contributor

bert-e commented May 1, 2020

Status

Status report is not available.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented May 1, 2020

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.5

  • ✔️ development/2.6

The following branches will NOT be impacted:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3
  • development/2.4

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: approve

@bert-e
Copy link
Contributor

bert-e commented May 1, 2020

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

  • ✔️ development/2.5

  • ✔️ development/2.6

The following branches have NOT changed:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3
  • development/2.4

Please check the status of the associated issue None.

Goodbye chengyanjin.

@bert-e bert-e merged commit 94aff46 into development/2.5 May 1, 2020
@bert-e bert-e deleted the bugfix/2495-monitoring-page-cannot-display-all-the-alerts branch May 1, 2020 07:00
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.

4 participants