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

TP: converts delivery service requests table to ag-grid#5183

Merged
ocket8888 merged 14 commits intoapache:masterfrom
mitchell852:dsr-ag-grid
Nov 2, 2020
Merged

TP: converts delivery service requests table to ag-grid#5183
ocket8888 merged 14 commits intoapache:masterfrom
mitchell852:dsr-ag-grid

Conversation

@mitchell852
Copy link
Member

@mitchell852 mitchell852 commented Oct 21, 2020

What does this PR (Pull Request) do?

Replaces the jquery datatables delivery services requests (DSR) table (slow) with the more performant ag-grid. Also, added the ability to order ds requests by createdAt date.

  • This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

  • Traffic Ops
  • Traffic Portal

What is the best way to verify this PR?

  • Verify API tests pass
  • Verify UI tests pass
  • Optional: turn on ds requests in traffic_portal_properties.json (dsRequests: true), make a change to an existing DS which will create a DSR at https://tp.domain.tld/#!/delivery-service-requests. Interact with the DSR table, use the context menu, etc.

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 ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@mitchell852 mitchell852 added Traffic Portal v1 related to Traffic Portal version 1 improvement The functionality exists but it could be improved in some way. Traffic Ops related to Traffic Ops labels Oct 21, 2020
@mitchell852 mitchell852 marked this pull request as ready for review October 27, 2020 21:55
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.

Checked it out, seems to work fine. Docs are complete, accurate, and build without error or warning.

@ocket8888 ocket8888 merged commit 9258b77 into apache:master Nov 2, 2020
ocket8888 pushed a commit that referenced this pull request Nov 3, 2020
* converts delivery service requests table to ag-grid

* adds back refresh

* rearranging the context menu

* removes strikethru from completed dsrs

* changing colors

* removes shadowing

* removes column filter if column is hidden

* adds changelog.md entry

* handles error scenario when ds update fails

* reverts bug fix

* removes double click but still allows cell selection

* adds documentation for new query param - createdAt

* fixes docs for rfc reference

* adds lastUpdated column and as default, hides lastUpdated and lastEditedBy columns

(cherry picked from commit 9258b77)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

improvement The functionality exists but it could be improved in some way. Traffic Ops related to Traffic Ops Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants