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

Fix issues with PerformanceReport Page (commit data, hiding missing data) #1461

Conversation

TravisStark
Copy link
Contributor

@TravisStark TravisStark commented Dec 5, 2024

Description of the issue

Fixes issues with PerformanceReport Page

  1. replaces dummy commit data
  2. hides missing performance data
  3. Fixes bug where duplicate rows display

Description of changes

  1. Fixes issue where data is not correctly loading into the Performance report table

Note:

Date shows as Dec 31, 1969, this is due to commit data missing in DynamoDB and will be resolved by another PR in the CWAgent Integ tests

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

  1. Validated in local environment using data from lambda and github api

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

Screenshots

Before

Screenshot 2025-01-08 at 4 12 26 PM Screenshot 2025-01-08 at 4 18 04 PM

After

Screenshot 2025-01-03 at 2 40 53 PM Screenshot 2025-01-03 at 2 41 03 PM

@TravisStark TravisStark requested a review from a team as a code owner December 5, 2024 22:07
@TravisStark TravisStark force-pushed the feature/performance-report branch from d48f203 to 0712349 Compare December 9, 2024 19:13
@TravisStark TravisStark force-pushed the feature/performance-report branch from 0712349 to 465a163 Compare December 11, 2024 19:45
src/common/Axios.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@okankoAMZ okankoAMZ left a comment

Choose a reason for hiding this comment

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

minor comments

src/containers/PerformanceReport/index.tsx Outdated Show resolved Hide resolved
src/containers/PerformanceReport/index.tsx Outdated Show resolved Hide resolved
src/containers/PerformanceTrend/index.tsx Outdated Show resolved Hide resolved
src/core/table.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions bot added the Stale label Dec 19, 2024
@TravisStark TravisStark force-pushed the feature/performance-report branch from 465a163 to e1c3dda Compare December 27, 2024 17:40
@github-actions github-actions bot removed the Stale label Dec 31, 2024
Copy link
Contributor

@okankoAMZ okankoAMZ left a comment

Choose a reason for hiding this comment

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

Could you update the description to elaborate on the changes you made and the issues you found and fixed. Could you also update the testing portion on what have you manually/visually tested?

package.json Show resolved Hide resolved
src/containers/PerformanceReport/index.tsx Outdated Show resolved Hide resolved
…ata) and increase Axios timeout. Additional null handling and performance improvements
@TravisStark TravisStark force-pushed the feature/performance-report branch from e1c3dda to 3217aae Compare January 3, 2025 19:45
@musa-asad
Copy link
Contributor

Are you able to show what the page looked before your changes?

@musa-asad
Copy link
Contributor

I see the commit date in the screenshot is 1969, is this based on some fallback?

@TravisStark
Copy link
Contributor Author

  • Updated to include a before screenshot.
  • Date shows as Dec 31, 1969, this is due to commit data missing in DynamoDB and will be resolved by another PR in the CWAgent Integ tests

@TravisStark TravisStark merged commit 183a15f into aws:performance-benchmark-page Jan 9, 2025
1 check passed
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.

3 participants