spacedrive/interface/package.json

92 lines
2.6 KiB
JSON
Raw Normal View History

2022-04-17 18:44:34 +00:00
{
"name": "@sd/interface",
"version": "1.0.0",
"license": "GPL-3.0-only",
"private": true,
"main": "index.tsx",
"types": "index.tsx",
"exports": {
".": "./index.tsx",
"./assets/*": "./assets/*",
"./components/*": "./components/*",
"./hooks/*": "./hooks/*"
},
"scripts": {
"lint": "eslint . --cache",
"typecheck": "tsc -b",
"build": "tsc"
},
"dependencies": {
"@fontsource/inter": "^4.5.13",
"@headlessui/react": "^1.7.3",
"@icons-pack/react-simple-icons": "^7.2.0",
"@radix-ui/react-progress": "^1.0.1",
"@radix-ui/react-slider": "^1.1.0",
"@radix-ui/react-toast": "^1.1.2",
"@radix-ui/react-tooltip": "^1.0.2",
"@remix-run/router": "^1.4.0",
"@sd/assets": "workspace:*",
"@sd/client": "workspace:*",
"@sd/ui": "workspace:*",
"@sentry/browser": "^7.68.0",
2022-10-23 05:46:46 +00:00
"@splinetool/react-spline": "^2.2.3",
"@splinetool/runtime": "^0.9.128",
"@tailwindcss/forms": "^0.5.3",
"@tanstack/react-query": "^4.12.0",
2023-01-22 08:02:23 +00:00
"@tanstack/react-query-devtools": "^4.22.0",
"@tanstack/react-table": "^8.8.5",
"@tanstack/react-virtual": "3.0.0-beta.61",
"@types/react-scroll-sync": "^0.8.4",
"@types/uuid": "^9.0.2",
"@vitejs/plugin-react": "^2.1.0",
"autoprefixer": "^10.4.12",
"class-variance-authority": "^0.5.3",
"clsx": "^1.2.1",
Fix adding Locations that already have a `.spacedrive` file (#627) * Handle RPC errors when adding Locations - Add custom error codes for NeedRelink and AddLibraryToMetadata errors in backend - Handle errors in AddLocationDialog form - Show custom error message for above errors and ask user to confirm action - Handle user action confirmation with appropriate RPC method (`locations.relink`/`locations.addLibrary`) * Abstract openDirectoryPickerDialog logic to a function - Add 'Unkown Error' when code doesn't match a know one * Fix bugs in logic to handle `locations.create` errors - Fix minor issue: AddLocationButton opened the dialog in desktop even when the user cancelled the file picker - Replace ternary with object for custom form error messages to allow for easier expansion - Break onSubmit logic up into functions - Remove incorrect `locations.indexer_rules.delete` call - Fix Checkbox element state not updating on external form state changes * Adjust AddLocationDialog style to match other Dialogs in the app - Reset exception code at the end of `confirmAfterError` * Rework how backend errors are handled when adding Locations - Change NeedRelink and AddLibraryToMetadata errors to use 409 (Conflict) status code and a static message. - Only enable custom submit logic in AddLocationDialog for 409 (Conflict) errors that have a known custom error form message. - Differentiate previous errors based on their messages instead of status code in AddLocationDialog onSubmit. - Add @hookform/error-message dependency for improved form validation error rendering. * Invalidate library.list to ensure it is shown on sidebar * Improvements to AddLocationDialog - Remove uncessary scope block and make useEffect depend directly on `form` - Move `form.handleSubmit` from `onSubmit` call to `handleSubmit` definition - Change basic Checkbox to RadixCheckbox and adapt onChange logic to onCheckedChange - Some simple styling improvements to the error message
2023-03-28 07:09:52 +00:00
"crypto-random-string": "^5.0.0",
"dayjs": "^1.11.8",
"dragselect": "^2.7.4",
"framer-motion": "^10.11.5",
"@phosphor-icons/react": "^2.0.10",
Extending `QuickPreview` functionality with additional filetype support (#1231) * added some files `standard` mime type * Used `TEXTViewer` Component to show Code Preview * Update Thumb.tsx * added `prismjs` * removed unnecessary comment * `CODEViewer` Component for Syntax Highlighting * formatting * using **Atom** Theme for `Prism` * merge text/code viewers & bg-app-focus for prism currently calling onError and onLoad without an Event argument that should change but i'm not really sure what to do there * removed unused imports * Update index.ts * `TEXTViewer` to `TextViewer_` * `TextViewer_` to `TextViewer` * Don't highlight normal TextFiles * clean code * `TEXTViewer` to `TextViewer` * using tailwind classes more * doing things correctly. * installed `prismjs` in interface * using own scroller * Update Thumb.tsx * Add an AbortController to the fetch request - Fix onError and onLoad calls - Format code * Fix onError being called when request was aborted due to re-render - Fix Compoenent re-rendering loop due to circular reference in useEffect - Remove unused imports * Improve text file serving and code syntax highlight - Implement way to identify text files in file-ext crate - Do not depend only on the file extension to identify text files in custom_uri - Import more prismjs language rules files - Add line numbers to TextViewer when rendering code * Clippy and prettier * Fix reading zero byte data to Vec - Improve empty file handling * Expand code highlight to more file types - Fix 10MB when it should be 10KB - Add supported for more code and config files extensions to sd-file-ext - Add comlink and vite-plugin-comlink for easy js worker integration - Move Prismjs logic to a Worker, because larger files (1000+ lines) where causing the UI to hang - Replace line-number prismjs plugin with our own implementation * Fix uppercase extension name --------- Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com> Co-authored-by: pr <pineapplerind.info@gmail.com> Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-08-29 10:47:04 +00:00
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-hook-form": "~7.45.2",
"react-hotkeys-hook": "^4.4.1",
"react-json-view": "^1.21.3",
"react-loading-skeleton": "^3.1.0",
"react-qr-code": "^2.0.11",
"react-router": "6.9.0",
"react-router-dom": "6.9.0",
2023-08-15 08:23:41 +00:00
"react-selecto": "^1.26.0",
"react-sticky-el": "^2.1.0",
"react-use-draggable-scroll": "^0.4.7",
"remix-params-helper": "^0.4.10",
"rooks": "^5.14.0",
"tailwindcss": "^3.3.2",
"ts-deepmerge": "^6.0.3",
[ENG-862, ENG-921] Ephemeral locations (#1092) * Some initial drafts * Finising the first draft on non-indexed locations * Minor tweaks * Fix warnings * Adding date_created and date_modified to non indexed path entries * Add id and path properties to NonIndexedPathItem * Working ephemeral location (hardcoded home for now) * Fix UI for ephemeral locations * Fix windows * Passing ephemeral thumbnails to thumbnails remover * Indexing rules for ephemeral paths walking * Animate Location button when path text overflow it's size * Fix Linux not showing all volumes * Fix Linux - Add some missing no_os_protected rules for macOS - Improve ephemeral location names * Remove unecessary import * Fix Mobile * Improve resizing behaviour for ephemeral location topbar path button - Improve Search View (Replace custom empty component with Explorer's emptyNotice ) - Improve how TopBar children positioning * Hide EphemeralSection if there is no volume or home - Disable Ephemeral topbar path button animation when text is not overflowing * minor fixes * Introducing ordering for ephemeral paths * TS Format * Ephemeral locations UI fixes - Fix indexed Locations having no metadata - Remove date indexed/accessed options for sorting Ephemeral locations - Remove empty three dots from SideBar element when no settings is linked * Add tooltip to add location button in ephemeral locations * Fix indexed Locations selecting other folder/files in Ephemeral location * Minor fixes * Fix app breaking due to wrong logic to get item full path in Explorer * Revert some recent changes to Thumb.tsx * Fix original not loading for overview items - Fix QuickPreview name broken for overview items * Improve imports * Revert replace useEffect with useLayoutEffect for locked logic in ListView It was causing the component to full reload when clicking a header to sort per column * Changes from feedback * Hide some unused Inspector metadata fields on NonIndexedPaths - Merge formatDate functions while retaining original behaviour * Use tauri api for getting user home * Change ThumbType to a string enum to allow for string comparisons * Improve ObjectKind typing --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2023-08-23 17:26:07 +00:00
"type-fest": "^4.2.0",
"use-count-up": "^3.0.1",
"use-debounce": "^8.0.4",
"use-resize-observer": "^9.1.0",
"uuid": "^9.0.0",
"valtio": "^1.7.4"
},
"devDependencies": {
"@sd/config": "workspace:*",
"@types/babel__core": "^7.20.1",
"@types/loadable__component": "^5.13.4",
2022-12-14 09:43:02 +00:00
"@types/node": "^18.11.9",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^1.3.1",
"typescript": "5.0.4",
"vite": "^4.0.4",
"vite-plugin-svgr": "^2.2.1"
}
2022-04-17 18:44:34 +00:00
}