File tree Expand file tree Collapse file tree 16 files changed +88
-8
lines changed
Expand file tree Collapse file tree 16 files changed +88
-8
lines changed Original file line number Diff line number Diff line change 33All notable changes to this project will be documented in this file.
44See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
55
6+ ## [ 0.16.1006] ( https://github.com/parca-dev/parca/compare/@parca/web@0.16.1005...@parca/web@0.16.1006 ) (2026-02-12)
7+
8+ ** Note:** Version bump only for package @parca/web
9+
10+ ## [ 0.16.1005] ( https://github.com/parca-dev/parca/compare/@parca/web@0.16.1004...@parca/web@0.16.1005 ) (2026-02-12)
11+
12+ ** Note:** Version bump only for package @parca/web
13+
614## [ 0.16.1004] ( https://github.com/parca-dev/parca/compare/@parca/web@0.16.1003...@parca/web@0.16.1004 ) (2026-02-11)
715
816** Note:** Version bump only for package @parca/web
Original file line number Diff line number Diff line change 11{
22 "name" : " @parca/web" ,
33 "private" : true ,
4- "version" : " 0.16.1004 " ,
4+ "version" : " 0.16.1006 " ,
55 "description" : " Parca Web Interface" ,
66 "type" : " module" ,
77 "scripts" : {
Original file line number Diff line number Diff line change 33All notable changes to this project will be documented in this file.
44See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
55
6+ ## [ 0.16.399] ( https://github.com/parca-dev/parca/compare/@parca/components@0.16.398...@parca/components@0.16.399 ) (2026-02-12)
7+
8+ ** Note:** Version bump only for package @parca/components
9+
10+ ## 0.16.398 (2026-02-12)
11+
12+ ** Note:** Version bump only for package @parca/components
13+
614## 0.16.397 (2026-02-06)
715
816** Note:** Version bump only for package @parca/components
Original file line number Diff line number Diff line change 11{
22 "name" : " @parca/components" ,
3- "version" : " 0.16.397 " ,
3+ "version" : " 0.16.399 " ,
44 "description" : " A component library for Parca" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {RpcError} from '@protobuf-ts/runtime-rpc';
1818import { QueryServiceClient } from '@parca/client' ;
1919import type { ColorConfig , NavigateFunction } from '@parca/utilities' ;
2020
21+ import { DateTimeRange } from '../DateTimeRangePicker/utils' ;
2122import { NoDataPrompt } from '../NoDataPrompt' ;
2223import Spinner , { SpinnerProps } from '../Spinner' ;
2324
@@ -33,6 +34,23 @@ export interface SourceViewContextMenuItem {
3334 action : ( selectedCode : string , profileData : ProfileData [ ] ) => void ;
3435}
3536
37+ export interface AdditionalMetricsGraphProps {
38+ querySelection : {
39+ expression : string ;
40+ from : number ;
41+ to : number ;
42+ timeSelection : string ;
43+ sumBy ?: string [ ] ;
44+ mergeFrom ?: string ;
45+ mergeTo ?: string ;
46+ } ;
47+ queryClient : QueryServiceClient ;
48+ suffix ?: '_a' | '_b' ;
49+ timeRange : DateTimeRange ;
50+ onTimeRangeChange : ( range : DateTimeRange ) => void ;
51+ commitTimeRange : ( ) => void ;
52+ }
53+
3654interface Props {
3755 Spinner : FC < SpinnerProps > ;
3856 loader ?: ReactNode ;
@@ -78,6 +96,7 @@ interface Props {
7896 preferencesModal ?: boolean ;
7997 checkDebuginfoStatusHandler ?: ( buildId : string ) => void ;
8098 flamechartHelpText ?: ReactNode ;
99+ additionalMetricsGraph ?: ( props : AdditionalMetricsGraphProps ) => ReactNode ;
81100}
82101
83102export const defaultValue : Props = {
Original file line number Diff line number Diff line change 33All notable changes to this project will be documented in this file.
44See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
55
6+ ## 0.0.118 (2026-02-12)
7+
8+ ** Note:** Version bump only for package @parca/hooks
9+
610## 0.0.117 (2026-02-06)
711
812** Note:** Version bump only for package @parca/hooks
Original file line number Diff line number Diff line change 11{
22 "name" : " @parca/hooks" ,
3- "version" : " 0.0.117 " ,
3+ "version" : " 0.0.118 " ,
44 "description" : " A library containing React hooks used in the Parca UI" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 33All notable changes to this project will be documented in this file.
44See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
55
6+ ## [ 0.19.120] ( https://github.com/parca-dev/parca/compare/@parca/profile@0.19.119...@parca/profile@0.19.120 ) (2026-02-12)
7+
8+ ** Note:** Version bump only for package @parca/profile
9+
10+ ## [ 0.19.119] ( https://github.com/parca-dev/parca/compare/@parca/profile@0.19.118...@parca/profile@0.19.119 ) (2026-02-12)
11+
12+ ** Note:** Version bump only for package @parca/profile
13+
614## [ 0.19.118] ( https://github.com/parca-dev/parca/compare/@parca/profile@0.19.117...@parca/profile@0.19.118 ) (2026-02-11)
715
816** Note:** Version bump only for package @parca/profile
Original file line number Diff line number Diff line change 11{
22 "name" : " @parca/profile" ,
3- "version" : " 0.19.118 " ,
3+ "version" : " 0.19.120 " ,
44 "description" : " Profile viewing libraries" ,
55 "dependencies" : {
66 "@floating-ui/react" : " ^0.27.12" ,
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ const ProfileSelector = ({
119119 onSearchHook,
120120} : ProfileSelectorProps ) : JSX . Element => {
121121 const { heightStyle} = useMetricsGraphDimensions ( comparing , false ) ;
122- const { viewComponent} = useParcaContext ( ) ;
122+ const { viewComponent, additionalMetricsGraph } = useParcaContext ( ) ;
123123 const [ queryBrowserMode , setQueryBrowserMode ] = useURLState ( 'query_browser_mode' ) ;
124124 const batchUpdates = useURLStateBatch ( ) ;
125125
@@ -290,7 +290,15 @@ const ProfileSelector = ({
290290
291291 return (
292292 < >
293- < div className = "mb-2 flex" >
293+ < div className = "mb-2 flex flex-col" >
294+ { additionalMetricsGraph ?.( {
295+ querySelection,
296+ queryClient,
297+ suffix,
298+ timeRange : timeRangeSelection ,
299+ onTimeRangeChange : handleTimeRangeChange ,
300+ commitTimeRange : ( ) => setQueryExpression ( true ) ,
301+ } ) }
294302 < LabelsQueryProvider
295303 setMatchersString = { setMatchersString }
296304 runQuery = { setQueryExpression }
You can’t perform that action at this time.
0 commit comments