Mohamed Boudra
4dffd079eb
chore(lint): memoize inline styles in message components
...
Clears 5 react-perf/jsx-no-new-* warnings in message.tsx by memoizing
image source objects, extracting an AssistantMessageBlockContainer for
per-block spacing, and moving todo list item rendering into a
TodoListItemRow subcomponent so each row memoizes its own style arrays.
The remaining 8 warnings in react-native-markdown-display render rules
are inherent to that library's rule API.
2026-04-24 02:54:37 +07:00
Mohamed Boudra
e313bf5776
chore(lint): hoist test fixture arrays/objects
...
Clears 14 react-perf/jsx-no-new-* warnings across app test files by
hoisting constant fixtures to module scope or wrapping them in helper
factories so they no longer appear as inline JSX prop values.
2026-04-24 02:52:23 +07:00
Mohamed Boudra
2ee4955cbe
chore(lint): memoize inline style objects in list/pane components
...
Clears 6 react-perf/jsx-no-new-object-as-prop warnings across
synced-loader, stream-strategy-web, sortable-inline-list, file-pane, and
both draggable-list platform variants by memoizing or hoisting their
inline style objects.
2026-04-24 02:48:55 +07:00
Mohamed Boudra
d50bf740ea
chore(lint): memoize inline styles and objects in stream/status panes
...
Clears 10 react-perf/jsx-no-new warnings across welcome-screen,
file-explorer-pane, terminal-pane, agent-stream-view, and
agent-status-bar by extracting per-item subcomponents, hoisting constant
style tuples, and memoizing derived arrays/objects.
2026-04-24 02:45:53 +07:00
Mohamed Boudra
1a53673535
chore(lint): memoize inline styles in _layout
...
Fixes 3 react-perf/jsx-no-new-object-as-prop warnings in root layout by
memoizing the stack screen options, the agent screen override, and the
GestureHandlerRootView root style.
2026-04-24 02:41:57 +07:00
Mohamed Boudra
8a3129ff15
chore(lint): hoist inline arrays and objects in app (145 warnings)
...
- Hoist static style arrays/objects to module-level consts
- Memoize dynamic ones with useMemo and correct deps
- jsx-no-new-array-as-prop: 145 -> 43
- jsx-no-new-object-as-prop: 64 -> 21
2026-04-24 02:40:14 +07:00
Mohamed Boudra
58d92f501b
chore(lint): remove explicit any in server (129 warnings)
...
- session.ts: catch(error: any) -> catch(error) with Error coercion at use
- daemon-client transport: any -> unknown in listener types
- sherpa/onnx loaders: introduce structural native types
- pocket-tts-onnx: typed ONNX session inputs/outputs/tensors
- tests: any -> unknown + named stub types
2026-04-24 02:40:02 +07:00
Mohamed Boudra
032de17537
chore(lint): memoize inline styles in autocomplete, message-input, composer
2026-04-24 02:34:54 +07:00
Mohamed Boudra
4179b24416
chore(lint): memoize inline styles in workspace-hover-card
2026-04-24 02:31:47 +07:00
Mohamed Boudra
6b97e49c19
chore(lint): memoize inline styles in dropdown-menu
2026-04-24 02:29:54 +07:00
Mohamed Boudra
ce51fa79ba
chore(lint): extract SplitGroupChild to memoize inline styles
2026-04-24 02:27:41 +07:00
Mohamed Boudra
b2286aa307
chore(lint): memoize inline styles in combobox
2026-04-24 02:25:52 +07:00
Mohamed Boudra
c793e5ae52
chore(lint): hoist constant style arrays in desktop-updates-section
2026-04-24 02:24:16 +07:00
Mohamed Boudra
727df24f59
chore(lint): memoize inline styles in workspace-desktop-tabs-row
2026-04-24 02:23:06 +07:00
Mohamed Boudra
1db1689532
chore(lint): memoize inline styles in workspace-screen
2026-04-24 02:21:02 +07:00
Mohamed Boudra
5b420dbfdb
chore(lint): fix typecheck errors from hoisting refactors
...
- pair-scan: type BARCODE_SCANNER_SETTINGS as BarcodeSettings
- explorer-sidebar: add missing desktopSidebarStyle useMemo
- sidebar-workspace-list: coerce null dotColor to transparent
- menu-header, e2e.test: formatting
2026-04-24 02:17:56 +07:00
Mohamed Boudra
e730d13957
chore(lint): reduce relay test no-await-in-loop warnings
...
Refactor while-loops and for-retry loops in e2e.test.ts and
live-relay.e2e.test.ts into recursive poll/attempt helpers.
Remaining 8 warnings in encrypted-channel.ts concern the custom
Transport interface (on-handler slots, not DOM EventTarget) and a
sequential send loop; both reflect deliberate runtime contracts.
2026-04-24 02:14:01 +07:00
Mohamed Boudra
edd92acb3d
chore(lint): memoize inline styles in agent-list
2026-04-24 02:13:09 +07:00
Mohamed Boudra
6f8f378732
chore(lint): memoize mobile sidebar styles in explorer-sidebar
2026-04-24 02:11:39 +07:00
Mohamed Boudra
18262a0899
chore(lint): memoize inline styles in explorer-sidebar
2026-04-24 02:10:50 +07:00
Mohamed Boudra
d78dff3572
chore(lint): reduce max-depth in opencode-agent foreground loop
2026-04-24 02:10:41 +07:00
Mohamed Boudra
5f6ebe2065
chore(lint): narrow explicit any in claude-agent/openai stt
2026-04-24 02:09:48 +07:00
Mohamed Boudra
4dfcc426b6
chore(lint): memoize inline styles in context-menu
2026-04-24 02:08:15 +07:00
Mohamed Boudra
f9a1ad21b5
chore(lint): clear cli warnings to zero
...
Refactor polling loops into recursive helpers to satisfy
no-await-in-loop, fix WebSocket named import, and correct
an absolute-path import in tests/tmp.
2026-04-24 02:08:08 +07:00
Mohamed Boudra
9865eb0a34
chore(lint): reduce max-depth in claude-agent query pump
2026-04-24 02:07:35 +07:00
Mohamed Boudra
d892ccb75d
chore(lint): flatten nested conditions in pi-direct-agent history
2026-04-24 02:07:16 +07:00
Mohamed Boudra
18f9174bf6
chore(lint): extract helper to reduce max-depth in agent-response-loop
2026-04-24 02:06:42 +07:00
Mohamed Boudra
b0fdeea505
chore(lint): memoize inline styles in command-center
2026-04-24 02:06:30 +07:00
Mohamed Boudra
42516df3f1
chore(lint): reduce max-depth in claude-sdk-behavior test
2026-04-24 02:05:28 +07:00
Mohamed Boudra
2d19b47577
chore(lint): narrow explicit any in codex-app-server-agent thread items
2026-04-24 02:04:39 +07:00
Mohamed Boudra
1f4f0c020c
chore(lint): hoist top-level inline arrays in diff-viewer
2026-04-24 02:04:01 +07:00
Mohamed Boudra
243c859709
chore(lint): hoist inline styles/objects in menu-header
2026-04-24 02:03:16 +07:00
Mohamed Boudra
1945c39a3b
chore(lint): hoist inline styles in screen-header
2026-04-24 02:02:16 +07:00
Mohamed Boudra
6c13bd9ab3
chore(lint): hoist SheetBackground combined style
2026-04-24 02:01:18 +07:00
Mohamed Boudra
34258780ec
chore(lint): narrow explicit any in server relay/loader/logger-likes
2026-04-24 01:59:24 +07:00
Mohamed Boudra
c8474385ff
chore(lint): hoist/memoize inline styles in plan-card
...
Extracts markdown rule style arrays into dedicated MarkdownInlineText,
MarkdownListItemContent, and MarkdownParagraph subcomponents that
memoize their own style arrays. Memoizes PlanCard container/title/
description styles.
2026-04-24 01:57:23 +07:00
Mohamed Boudra
0e837fe4f3
chore(lint): hoist inline style arrays in question-form-card
2026-04-24 01:56:23 +07:00
Mohamed Boudra
eb444a2ade
chore(lint): hoist pair-scan inline arrays and objects
...
Extracts corner style arrays and barcode scanner settings to module
scope, memoizes insets-dependent body/helper text styles.
2026-04-24 01:56:01 +07:00
Mohamed Boudra
afa8fc2709
chore(lint): remove useless constructors in server tests
2026-04-24 01:55:12 +07:00
Mohamed Boudra
935f286377
chore(lint): clear desktop warnings to zero
...
Convert polling loops to recursive helpers to avoid no-await-in-loop,
and switch the ws import to the named export so the WebSocket type is
referenced directly.
2026-04-24 01:53:32 +07:00
Mohamed Boudra
f9a6287423
chore(lint): flatten nested ternaries in host-runtime/host-page/providers
2026-04-24 01:52:34 +07:00
Mohamed Boudra
89eac88888
chore(lint): narrow explicit any in misc server files
2026-04-24 01:51:26 +07:00
Mohamed Boudra
6f6e1469c1
chore(lint): flatten nested ternaries in button/volume-meter/autocomplete
2026-04-24 01:50:04 +07:00
Mohamed Boudra
50faf34b9a
fix(server): restore microtask ordering in session message dispatch
...
Converts per-group dispatchers to Promise<void> | undefined. The complexity
refactor broke two tests by inserting extra microtasks between each
dispatcher's await. The new pattern routes synchronously via a nullish-
coalescing chain and awaits only the matching dispatcher's promise.
2026-04-24 01:49:21 +07:00
Mohamed Boudra
405b964d41
chore(lint): hoist dictation-controls inline arrays
2026-04-24 01:47:15 +07:00
Mohamed Boudra
892b9d1ae9
chore(lint): allow css imports in import/no-unassigned-import, hoist host page styles
2026-04-24 01:45:20 +07:00
Mohamed Boudra
0302b5b32e
chore(lint): parallelize more safe awaits in server (no-await-in-loop)
...
- Workspace reconciliation: archive missing workspaces and orphaned
projects concurrently instead of sequentially.
- Directory suggestions: resolve child directory candidates in parallel
before filtering.
2026-04-24 01:44:29 +07:00
Mohamed Boudra
1ffec56bbe
chore(lint): clear website warnings to zero
...
Resolves all 61 oxlint warnings in packages/website/ by hoisting inline
callbacks/JSX, extracting sub-components to satisfy jsx-max-depth, using
stable data-derived keys, adding explicit button types, flattening nested
ternaries, and removing unused code.
2026-04-24 01:42:30 +07:00
Mohamed Boudra
7bef37f458
chore(lint): parallelize safe awaits in server (no-await-in-loop)
...
Converts three sequential `for ... await` loops to `Promise.all`:
- OpenCode: configure MCP servers in parallel
- Sherpa: download model files and ensure multiple models concurrently
- Speech runtime: check required model files across models in parallel
2026-04-24 01:41:59 +07:00
Mohamed Boudra
01338d2a55
chore(lint): hoist/memoize inline arrays and objects in app JSX
2026-04-24 01:41:00 +07:00