windows-iso-downloader/frontend
google-labs-jules[bot] fc60a9f37b fix: prevent inactive products from triggering backend requests
- Update ProductDetailPage.tsx to only set isValidated(true) for active products.
- Add regex validation to ensure productId is numeric.
- Initialize meta.active to false.
- Add loading state for catalog fetch.
- Fix minor lint issue in ProductsPage.tsx.

Co-authored-by: starkSV <21262426+starkSV@users.noreply.github.com>
2026-05-12 09:47:48 +00:00
..
public Implement inactive product state, restore backend tracker limits, and add dedicated catalog error UI panel 2026-04-11 13:01:56 +05:30
src fix: prevent inactive products from triggering backend requests 2026-05-12 09:47:48 +00:00
.env.example feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
.gitignore feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
eslint.config.js feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
index.html feat: improve accessibility and structural SEO logic 2026-04-10 22:59:16 +05:30
package.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
README.md feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.app.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.node.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
vite.config.ts feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +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...
    },
  },
])