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

TP convert ag-grid tables to component #6031

Merged
merged 22 commits into from
Jul 26, 2021
Merged

TP convert ag-grid tables to component #6031

merged 22 commits into from
Jul 26, 2021

Conversation

shamrickus
Copy link
Member

@shamrickus shamrickus commented Jul 15, 2021

What does this PR (Pull Request) do?

  • This PR is not related to any Issue

It converts several ag-grid tables to the common-grid-component

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

Ensure the new pages still work, subtle functionality might be different since different versions of the ag-grid code exist.
The following pages have been changed:

  • Jobs (Invalidation Requests)
    • DS Jobs
  • Servers
    • Status >Servers
    • Type >Servers
    • CDN >Servers
    • Cache Group >Servers
    • Phys Loc >Servers
    • Topology >Servers
    • DS >Servers
  • Notifications (on a CDN)
  • Change logs

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

The only remaining unconverted tables are deliveryservice and it's derivatives.

@mitchell852 mitchell852 added Traffic Portal v1 related to Traffic Portal version 1 improvement The functionality exists but it could be improved in some way. labels Jul 19, 2021
Copy link
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Haven't finished looking through this, but about to be done for the day

Copy link
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

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

Breadcrumb links appear broken.

  1. Go to Topologies -> Cache Groups
  2. Click on a Cache Group
  3. Click on More -> View Servers
  4. Click on "Cache Groups" in the breadcrumbs
  5. It tries to take you to https://localhost/$ctrl.bcGetHref(bc) which can't load, the page shows a single

The entire page content is just

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /$ctrl.bcGetHref(bc)</pre>
</body>
</html>

@shamrickus
Copy link
Member Author

All bread crumbs that had a custom href were broken, fixed now.

@ocket8888 ocket8888 merged commit bbb175f into apache:master Jul 26, 2021
@shamrickus shamrickus deleted the tp/conv-grid-to-comp branch July 28, 2021 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement The functionality exists but it could be improved in some way. Traffic Portal v1 related to Traffic Portal version 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants