rowboat/apps/x/apps/renderer
Ramnique Singh 51b11101f0 test(x): cover useTurn and useAgentRunTranscript hook behavior
The follower's join protocol was already unit-tested, but the hooks
grew stateful behavior of their own: useTurn's reset-on-turnId-change
vs keep-while-disabled, the snapshotFailed signal and feed-event
recovery, and useAgentRunTranscript's legacy runs:fetch fallback and
loading/error derivation. Tests drive the real turn-feed singleton
through a stubbed window.ipc preload surface.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 15:56:45 +05:30
..
public refactor onboarding: remove welcome screen, streamline model setup, tighten spacing 2026-02-05 23:03:47 +05:30
scripts tour: separate spoken narration from bubble text 2026-07-02 22:31:50 +05:30
src test(x): cover useTurn and useAgentRunTranscript hook behavior 2026-07-09 15:56:45 +05:30
.gitignore bootstrap new electron app 2026-01-16 12:05:33 +05:30
components.json UI improvements 2026-01-16 12:05:33 +05:30
DESIGN_LANGUAGE.md minor design changes (#564) 2026-05-18 22:49:18 +05:30
eslint.config.js bootstrap new electron app 2026-01-16 12:05:33 +05:30
index.html fix startup flash 2026-02-04 22:45:51 +05:30
package.json feat(x): sessions IPC + renderer data layer with testable stores (stage 5a) 2026-07-02 14:20:44 +05:30
README.md bootstrap new electron app 2026-01-16 12:05:33 +05:30
tsconfig.app.json UI improvements 2026-01-16 12:05:33 +05:30
tsconfig.json UI improvements 2026-01-16 12:05:33 +05:30
tsconfig.node.json bootstrap new electron app 2026-01-16 12:05:33 +05:30
vite.config.ts feat(x): sessions IPC + renderer data layer with testable stores (stage 5a) 2026-07-02 14:20:44 +05:30

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])