-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Top table * Col width * Initial sort by * Match top table height with flamegraph height * Cleanup * Yarn prettier * Types * useCallback so topTable does not keep rendering on tooltip hover * Get units * Extraction * Min width to show top table * Padding right * Selected view * Move top table to container * Prettier * Fix undefined * react-table * Styling * Update tests and add tests for top table * FlameGraphContainer tests for options * Only add collapse container to explore * Background container instead of collapse * Update colors * Self review * Updates after merge * Fix for backend tests * Update how toptable/flamegraph/both is shown * Update query -> search * Default view selected * Use df instead of levels for top table * Search and selected view updates * Reverse both to flamegraph click to reset search based on discussion * Optimise prop * Remove unwanted scroll to top
- Loading branch information
1 parent
ec02762
commit df6bc0a
Showing
23 changed files
with
977 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": ["@grafana/eslint-config"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
...require('@grafana/toolkit/src/config/prettier.plugin.config.json'), | ||
...require('@grafana/toolkit/src/config/prettier.plugin.config.json'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# Flame graph panel | ||
# Flame graph panel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,10 @@ | |
"@testing-library/react": "12.1.4", | ||
"@testing-library/user-event": "14.2.0", | ||
"@types/lodash": "4.14.181", | ||
"@types/react": "17.0.42", | ||
"@types/react-table": "7.7.12", | ||
"@types/react-virtualized-auto-sizer": "1.0.1", | ||
"@types/react-window": "1.8.5", | ||
"@typescript-eslint/eslint-plugin": "^5.36.2", | ||
"jest-canvas-mock": "2.4.0", | ||
"prettier": "2.6.0", | ||
|
@@ -35,7 +39,10 @@ | |
"@grafana/ui": "9.1.0", | ||
"react": "17.0.2", | ||
"react-dom": "17.0.2", | ||
"react-use": "^17.4.0" | ||
"react-table": "7.8.0", | ||
"react-use": "^17.4.0", | ||
"react-virtualized-auto-sizer": "1.0.6", | ||
"react-window": "1.8.7" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.