spacedrive/apps/mobile
Ericson "Fogo" Soares 187ec933f4
[ENG-770 / ENG-773] Copy/paste / Explorer context menu duplicate (#992)
* Fixing copy, cut and paste

* Bug on duplicating files without extensions

* Fix paste only ignoring the location origin when validating relative paths
 - Add Error handling to all context menu actions
 - Hide FS actions in Overview and MediaView
 - Remove redundant useExplorerSearchParams
 - Add default schema to the Zod param hooks

* Hide FS actions in all Explorers but location ones
 - Fix react warnings in RenameTextBox
 - Fix ReactTextBox not selecting the whole file name, instead of just up to file extension
 - Fix react warning due to inputing missing onChange

* basic show jobs for cut, copy and delete in job manager

* tweaks

* Fixing some warnings and minor tweaks

* Rust fmt

* Fix cut between locations on Linux

* Change how routes retrieve route params
 - Replace useZodRouteParams with useLoader
 - Define all schemas in the router file instead of in the route Component
 - Parse schema in loader to avoid requiring the route Components having to import the schema from the router file

* Remove default argument from useZodRouteParams

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: James Pine <ijamespine@me.com>
2023-06-22 23:41:29 +00:00
..
android Mobile CI with Tests (#631) 2023-04-03 08:12:28 +00:00
crates [ENG-770 / ENG-773] Copy/paste / Explorer context menu duplicate (#992) 2023-06-22 23:41:29 +00:00
ios [MOB-3] Small fixes and improvements (#813) 2023-06-08 16:06:17 +00:00
scripts [MOB-1] Theme support for Mobile (#755) 2023-05-04 08:10:31 +00:00
src [ENG-779] Finalize UI (#986) 2023-06-22 06:34:45 +00:00
tests [MOB-1] Theme support for Mobile (#755) 2023-05-04 08:10:31 +00:00
.eslintrc.js [ENG-469] Make Prettier and ESLint work together (#706) 2023-04-14 21:21:21 +00:00
.gitattributes Mobile app (#352) 2022-08-08 20:29:14 -07:00
.gitignore Mobile CI with Tests (#631) 2023-04-03 08:12:28 +00:00
app.json [MOB-1] Theme support for Mobile (#755) 2023-05-04 08:10:31 +00:00
babel.config.js Change relative path to ~ 2022-09-05 00:30:34 +03:00
index.js Mobile Actions & File Info Modal (#573) 2023-02-20 05:24:59 +00:00
metro.config.js [MOB-22] Fix mobile dev build (#875) 2023-05-29 08:34:47 +00:00
package.json [MOB-3] Small fixes and improvements (#813) 2023-06-08 16:06:17 +00:00
README.md Mobile Explorer (#512) 2023-01-11 14:39:19 +03:00
tailwind.config.js [MOB-1] Theme support for Mobile (#755) 2023-05-04 08:10:31 +00:00
tsconfig.json Mobile CI with Tests (#631) 2023-04-03 08:12:28 +00:00

  • Make sure to run pnpm i if you make any change to the package mobile uses like assets.
  • If iOS build fails with node not found error, run echo "export NODE_BINARY=$(command -v node)" >> .xcode.env.local on mobile/ios/ directory.
  • If XCode can't find node, run ln -s "$(which node)" /usr/local/bin/node