Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Convert Delivery Services table to use "common" grid controller#6989

Merged
shamrickus merged 3 commits intoapache:masterfrom
ocket8888:tp/ds-table-use-common-grid
Aug 2, 2022
Merged

Convert Delivery Services table to use "common" grid controller#6989
shamrickus merged 3 commits intoapache:masterfrom
ocket8888:tp/ds-table-use-common-grid

Conversation

@ocket8888
Copy link
Contributor

This converts the Delivery Services table from using a copy/pasted AG-Grid implementation to using an embedded "common" grid controller.

I also fixed an issue where tables that set the title directly instead of using breadcrumbs had no title.


Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

The functionality should be fully replicated, so just make sure the existing tests still pass.

PR submission checklist

  • This PR uses the existing tests
  • This PR doesn't need documentation
  • This PR doesn't need a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 added Traffic Portal v1 related to Traffic Portal version 1 low impact affects only a small portion of a CDN, and cannot itself break one tech debt rework due to choosing easy/limited solution labels Jul 28, 2022
Copy link
Member

@shamrickus shamrickus left a comment

Choose a reason for hiding this comment

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

Code changes look good, I think the failing test may be related though.

Copy link
Member

@shamrickus shamrickus left a comment

Choose a reason for hiding this comment

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

LGTM

@shamrickus shamrickus merged commit 4060da1 into apache:master Aug 2, 2022
@ocket8888 ocket8888 deleted the tp/ds-table-use-common-grid branch August 2, 2022 21:16
@shamrickus
Copy link
Member

This broke several tables that extended The TableDeliveryServiceController such as server delivery serviecs, cdn delivery services, tenant delivery services, and several others. Not really sure how the tests are passing

shamrickus pushed a commit that referenced this pull request Aug 17, 2022
* Fix grids using an empty string for table titles

* Convert Delivery Services table to use common grid controller

* Fix tests looking for a link that's now a button
zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
…he#6989)

* Fix grids using an empty string for table titles

* Convert Delivery Services table to use common grid controller

* Fix tests looking for a link that's now a button
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

low impact affects only a small portion of a CDN, and cannot itself break one tech debt rework due to choosing easy/limited solution Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants