|
@ -7,7 +7,7 @@ import GraphContainer, { |
|
|
type GraphRow, |
|
|
type GraphRow, |
|
|
type GraphZoneType, |
|
|
type GraphZoneType, |
|
|
} from '@gitkraken/gitkraken-components'; |
|
|
} from '@gitkraken/gitkraken-components'; |
|
|
import type { FormEvent, ReactElement } from 'react'; |
|
|
|
|
|
|
|
|
import type { ReactElement } from 'react'; |
|
|
import React, { createElement, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'; |
|
|
import React, { createElement, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'; |
|
|
import { getPlatform } from '@env/platform'; |
|
|
import { getPlatform } from '@env/platform'; |
|
|
import { DateStyle } from '../../../../config'; |
|
|
import { DateStyle } from '../../../../config'; |
|
@ -592,6 +592,7 @@ export function GraphWrapper({ |
|
|
aria-label="Graph search navigation" |
|
|
aria-label="Graph search navigation" |
|
|
step={searchPosition} |
|
|
step={searchPosition} |
|
|
total={searchIds?.length ?? 0} |
|
|
total={searchIds?.length ?? 0} |
|
|
|
|
|
valid={Boolean(searchValue && searchValue.length > 2)} |
|
|
more={hasMoreSearchIds} |
|
|
more={hasMoreSearchIds} |
|
|
onPrevious={() => handleSearchNavigation(false)} |
|
|
onPrevious={() => handleSearchNavigation(false)} |
|
|
onNext={() => handleSearchNavigation(true)} |
|
|
onNext={() => handleSearchNavigation(true)} |
|
|