mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
* fix(mobile): a compact queue: shorter header, a capped scrolling list, and an editor that fits the card * fix(mobile): keep queue actions visible and reveal new cards * test(mobile): allow shared SVG host fixture * fix(mobile): queue header and editor controls grow with large system text instead of clipping * fix(mobile): at large text sizes the queue header's buttons wrap below its label instead of squeezing it out * fix(mobile): at large text sizes the queued editor's Cancel and Save wrap below its heading instead of truncating it * fix(mobile): at large text sizes the queue header's and editor's buttons take a line of their own * fix(mobile): the large-text button lines wrap when one button is all a small phone's line holds * test(mobile): the composer tray test's react-native stub reports the text scale * fix(mobile): while a card is edited at large text, the paused header's button line gives its height to the editor
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { vi } from 'vitest'
|
|
|
|
// Native SVG's generated components import Flow-only native subpaths outside the RN host mocks.
|
|
vi.mock('react-native-svg', () => ({
|
|
default: 'Svg',
|
|
Defs: 'Defs',
|
|
G: 'G',
|
|
LinearGradient: 'LinearGradient',
|
|
Path: 'Path',
|
|
Rect: 'Rect',
|
|
Stop: 'Stop'
|
|
}))
|
|
|
|
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true })
|