mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-10 11:31:44 -04:00
* WIP Create Indexer Rule UI + Backend api fix * Complete IndexerEditor UI for creating new rules - WIP testing to ensure all rules are parsed correctly - Add utilities to satisfy the TypeScript typechecker - Introduce a utility function to facilitate extracting information from an RSPCError - Modify AddLocationDialog to utilize the aforementioned utility function * Validation and submit logic is now functional - Reorganize UI for improved user flow - Implement validation and error messaging, replace some bare inputs with form inputs, and fix styling issues - Resolve issues with post-processing of rules during submission - Wrap editable portion of component in a `FormProvider` due to the `Form` being in a `Portal` - Add specialized `ErrorMessage` component to `@sd/ui` library - Update `AddLocationDialog` and `FormField` to utilize the new `ErrorMessage` component * Fix submit not waiting for confirmation from backend - Reset form after submit - Disable form while submiting - Update form related dependencies * Implement deleting an indexer rule - Modify indexer rule api route to disallow deleting default rules * Fix form reset on error - Minor style adjustments
38 lines
822 B
JSON
38 lines
822 B
JSON
{
|
|
"name": "@sd/client",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"main": "./src/index.ts",
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"lint": "eslint src --cache",
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
"typecheck": "tsc -b",
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@rspc/client": "^0.0.0-main-7c0a67c1",
|
|
"@rspc/react": "^0.0.0-main-7c0a67c1",
|
|
"@sd/config": "workspace:*",
|
|
"@tanstack/react-query": "^4.12.0",
|
|
"@zxcvbn-ts/core": "^2.1.0",
|
|
"@zxcvbn-ts/language-common": "^2.0.1",
|
|
"@zxcvbn-ts/language-en": "^2.1.0",
|
|
"plausible-tracker": "^0.3.8",
|
|
"valtio": "^1.7.4",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.0.21",
|
|
"scripts": "*",
|
|
"tsconfig": "*",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0"
|
|
}
|
|
}
|