Files
skillshare/ui
Willie 228efb4fca feat(ui): search the include/exclude preview list (#799)
* feat(ui): search the include/exclude preview list

With dozens of skills, finding one row in the filter preview meant
scrolling the whole list before a click could include or exclude it.
A search box above the preview narrows the rows by name, ignoring case,
and marks the matching text. It only narrows what is shown; the filters
and the summary still cover every row.

The preview is shared, so the search appears on the project page, the
target page, and the Extras edit-target dialog. Switching between skills
and agents clears it, since a skill name rarely means anything as an
agent search.

Closes #798

* fix(ui): hide the stray scrollbar on the skills tab bar

The tab bar scrolls sideways at phone width, and overflow-x: auto makes
the other axis auto too. In the Clean style each tab hangs 1px below the
bar to cover its underline, so the bar overflowed by 1px and Chrome drew
the app's 8px custom scrollbar as a small dark pill at its right end.
Clipping the vertical axis keeps the sideways scroll and the underline.
2026-11-08 03:26:41 +08:00
..
2026-04-19 09:29:18 +08: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...
    },
  },
])