dimitar 8b044e3ac1 Phase C: Split process_clicks into 6 focused sub-functions
handle_nav_clicks — sidebar + pipeline stepper navigation
handle_field_clicks — input field focus detection
handle_format_clicks — PDF/PNG/CBZ + Local/DS toggle
handle_action_clicks — all pipeline/file/log action buttons
handle_workspace_nav — prev/next for Script/Panels/Layout/Bubbles
handle_detail_clicks — panel regen, layout regen, bubble editor ops

process_clicks: 269 → 30 lines (orchestration only)
runtime.odin: 806 → 806 lines (delegation replaced inline logic)
All 156 tests pass.
2026-05-22 17:41:09 +02:00
2026-05-22 08:54:22 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-22 08:54:22 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-21 06:10:32 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00
2026-05-18 19:58:01 +02:00

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...
    },
  },
])
S
Description
No description provided
Readme
154 MiB
0 Stars 1 Watchers 0 Forks
Languages
Odin 75.2%
TypeScript 23.5%
Shell 0.6%
JavaScript 0.4%
CSS 0.3%