Commit Graph

59 Commits

Author SHA1 Message Date
Oscar Beaumont
b01887c5ab Rustify mobile (#361)
* Refactor navigation flow & types

* Remove drawer screen wrapper

* Remove DrawerItem + cleanup

* Switch to JS Stack Nav & header animations

* [WIP] Spacedrive core on Android & IOS

* Update Podfile and cleanup Contributing guide.

* Remove @sd/core from mobile

* File Modal

* Prettify File Modal & Add date-fns

* IOS subscriptions

* Update package versions

* Custom header for stack screens

* android subscriptions

* Animate Drawer button & template for Search screen

* Search header

* Fix Search icon being weird

* Merge branch 'main' into rustify-mobile

* fix rspc dep + setup script for mobile

* Less margin on header

* Move shared assets & drawer logo for mobile

* support for IOS simulator

* add type safe rspc hooks to mobile

* Cleanup PR & Update packages

* Updated bindings from main

* Update lefthook.yml

* Remove `tag` folder from core
The `tag` folder came back from the dead. Maybe it got confused in merge conflict?

* update pnpm lockfile + fix tsc errors

* fix asset import

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2022-08-29 04:59:09 -07:00
Oscar Beaumont
8cc0967bae fix landing page 2022-08-29 17:36:34 +08:00
Utku Bakir
56495719d5 Move eslint to config package 2022-08-10 18:43:04 +03:00
Utku
8a79b07293 Mobile app (#352)
* Mobile app: Initial Commit!

* Fix monorepo issues and add tailwind.

Fix & Test tailwind.

working ball app

Fix workspace module import

* Mobile app cleanup and structure

* App Icons, Splash screen and eslint config

* More cleanup

* Use SVGs directly in React Native

* Add placeholder files for project structrate

* Cleanup all svg icons and modify metro config to use icons from interface package (temporary)

* Potentially fix types for react & update some packages.

* Onboarding screen + add reanimated & moti

* Finishing touches on Onboarding screen

* Persist onboarding, Button comp and Nav. flow.

* Add mobile info to Contributing.md

* Add .prettierignore for disabling auto import ordering for some files.

* Introducing the new navigation flow

* Change package name

* use the new @sd/assets package

* Add a temp. folder for @sd/assets organization

* Drawer nav bar looks good now.

* Hacky method to get the active route on drawer

* Fix react native types & update few packages.

* Drawer animation

* Add counter

* Collapsible Tags / Locations

* rename Counter and add saveState prop

* Sync counter with desktop version

* Move some screens to BottomTab Nav.

* Add Overview Stats

* [WIP] - Device component

* Upgrade to Expo 46 and fix types.

* Add @sd/core to mobile

* Fix eslint stuff

* placeholder and some notes

* Show folder icons on overview screen

* Fixed android build, style and some screen tweaks

* Add bottom sheet package

* Fix bundler issues and rename landing package.json

* Rename landing package.json

* update all packages to latest React

* Eject expo app

* fix pnpm & expo & monorepo

* monorepo debugging

* cleanup dependencies & static link to shared packages

* cleanup, switch to hermes, pollyfill intl for ios

* Cleanup monorepo

* Fix: Style for FileItem

* Above average app icons

* cleanup ios

* update msrv

* update codeowners for mobile

* fix typecheck

* update lockfile

* fix ffmpeg install

* rename UI to 'SpacedriveInterface' for clarity

* Update codeowners

* Fix eslint config mobile.

* Refactor navigation flow, move types to navigators

Co-authored-by: Utku <74243531+utkubkr@users.noreply.github.com>
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-08-08 20:29:14 -07:00
Oscar Beaumont
3804f034f1 Move Rust backend to rspc (#345)
* move Rust backend to rspc

* move server to Axum + remove parts of old bridge

* move frontend over to @rspc/client

* move core to rspc + update deps

* fix Typescript errors + upgrade deps

* document invalidate_query! macro

* general cleanup + upgrade to PCR 0.6.0

* prisma error handling

* upgrade to rspc 0.0.4

* update vite-plugin-ssr

* fix typescript

* fix builds

* put landing page app name back

* hardcode ffmpeg version on Windows

* rename 'command' to 'mutation' to line up with react-query terminology

* upgrade rspc to v0.0.5 + fix types

* use shared ffmpeg binaries

* general Typescript cleanup

* fix clippy workflow failing due to tauri proc-macro

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-08-03 08:36:03 -07:00
Ericson "Fogo" Soares
1d30850c21 Resumable Jobs + Lefthook Integration (#344)
* Introducing Lefthook for git hooks automation
* TypeScript typechecking and linting
* Rust formatting and linting
* Spellchecking (also corrected spell errors in some files)
* Check links in md files

* Introducing resumable jobs
* Abstractions to pause and resume jobs automatically when application exits and is started
* Changing database to use Bytes for UUID fields
* Changing uuid fields on core to use uuid::Uuid instead of String
* Updating some dependencies and introducing msg_pack serialization to save job state on database

* Fixing some clippy warnings

* Fixing a regression introduced on identifier job, doing too much db accesses concurrently
2022-07-27 00:06:34 -07:00
Oscar Beaumont
9cdf87c00c fix @rpath/libswiftCore.dylib error + etc (#255)
update Tauri + fix `@rpath/libswiftCore.dylib` error + make Typechecks pass
2022-06-18 17:00:57 -07:00
Oscar Beaumont
bd17602ae6 build(deps): update dependencies across workspace 2022-05-30 20:45:37 +08:00
maxichrome
d171f17b18 fix format script config filename 2022-05-23 04:41:21 -05:00
maxichrome
c791f7dc5e fix prettier plugin loading 2022-05-23 02:53:53 -05:00
maxichrome
85c1404542 Format existing code with new conventions 2022-05-22 23:24:43 -05:00
Harry Hopkinson
ac54625593 Add a type-check script (#149)
* Implement a typecheck script for typescript work.

* remove typescript as root dependency

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-05-12 21:02:23 -05:00
Marques Scripps
cea5a497e6 added experimental submenu (#30)
+ debug toggle for experimental view

Co-authored-by: Marques <hello@marques.gg>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2022-05-04 11:18:19 -07:00
Brendan Allan
d19344e0b4 fix: remove auto bindings generation 2022-05-01 21:30:44 +08:00
Brendan Allan
4f81d32e08 tsconfig refactor 2022-05-01 12:17:55 +08:00
Brendan Allan
1b720ea873 Merge remote-tracking branch 'upstream/main' into new-ci 2022-05-01 09:36:12 +08:00
Jamie Pine
4320d81180 fix prep command 2022-04-25 10:57:16 -07:00
Brendan Allan
d614de169a ci: escape pnpm desktop tauri 2022-04-24 12:56:03 +08:00
Brendan Allan
78d0393805 new ci 2022-04-22 18:21:18 +08:00
Brendan Allan
7d08454449 Basic CI (#12)
* ci:

* ci: run ci on ci branch

* ci: update pnpm version

* ci: Standardise naming

* ci: update lockfile

* ci: install ffmpeg on unix ci

* ci: run codegen prep before build

* ci: add libavutil to ubuntu dependencies

* ci: add libavutil-dev to ubuntu dependencies

* ci: dependencies

* ci: fix ubuntu dependencies

* ci: only build frontend with desktop

* ci: setup cmake and vcpkg for windows

* ci: install ffmpeg on windows

* ci: fix windows ffmpeg install

* ci: fix conditional windows ci commands

* ci: remove vcpkg from windows

* ci: optimizations

* ci: use custom rust cache version
2022-04-22 02:26:03 +08:00
Jamie Pine
395a3f70bb pre brendan commit 2022-04-19 22:55:44 -07:00
Jamie Pine
6f3947e2b1 better compile setup for hotreload
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-04-19 14:17:04 -07:00
Jamie Pine
6e4bdfdb76 fix sidebar, ui tweaks 2022-04-18 20:35:19 -07:00
Jamie Pine
d9cab9138e build commands + web app renames 2022-04-18 17:34:39 -07:00
Jamie Pine
470ceaffae interface has solo dev mode + made a lot of stuff work 2022-04-18 16:06:33 -07:00
Jamie Pine
6837fa608b mess pt.2 2022-04-17 11:44:50 -07:00
Oscar Beaumont
46f44b8061 fix: react-query working in production builds + fix Linux compilation issue 2022-04-09 02:19:27 +08:00
Jamie Pine
e471b54e82 linked up thumbnail generation [WIP]
- added purge database helper button
- added temp checksum to file_paths for time being, until files table is impl
2022-04-01 00:26:27 -07:00
Jamie Pine
fa33882979 improve package.json + comment unused job queue 2022-03-31 20:31:49 -07:00
Jamie Pine
4aae9274c3 fix a bunch of dependency issues & remove web 2022-03-31 20:18:25 -07:00
Jamie Pine
cd28407c96 remove codegen'd files + update dev docs 2022-03-31 18:10:56 -07:00
Jamie Pine
9117f35a42 restructure project files layout 2022-03-31 17:41:17 -07:00
Jamie Pine
aa71da5163 fixed indexer database write
- fixed job history query
2022-03-30 04:25:40 -07:00
Brendan Allan
b16b69627f feat: force use of pnpm 2022-03-30 18:35:57 +08:00
Brendan Allan
598d46a565 feat: migrate from yarn to pnpm 2022-03-30 18:04:58 +08:00
Jamie Pine
939857a955 react query working with Rust
- other stuff
2022-03-12 10:00:58 -08:00
Jamie Pine
70a3746010 fix cmd 2022-03-08 16:27:29 -08:00
Jamie Pine
edb21556db remove codegen types 2022-03-08 16:17:57 -08:00
Jamie Pine
229eee747c location error handling
- sets an example for how errors should be handled through out the core code
- few schema changes
- tinkering
2022-03-05 23:01:00 -08:00
Jamie Pine
d63d640889 migrated to pure rust volumes
- disabled swift native lib
2022-03-04 01:39:20 -08:00
Jamie
0e97bb3e25 prisma on tha frontend ?? but how
how he do it

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-03-03 06:25:10 -08:00
Jamie
3eebe6cd56 - library creation flow complete
- library/client db records unique and tied to local state
- config remove unwrap
2022-03-01 02:26:11 -08:00
Jamie
42b5b5a3e7 init monorepo 2021-12-24 01:13:21 -08:00
Jamie
88c5fd1a98 this commit is OLD, been on my pc for months 2021-12-23 00:00:02 -08:00
Jamie
b51734f180 broken list 2021-10-28 07:43:37 -07:00
Jamie
b639160107 locations and better dark theme 2021-10-27 03:59:39 -07:00
Jamie
fb0e9db591 temp icon, color tweaks and menu stuff 2021-10-25 12:29:00 -07:00
Jamie
b65771351e virtualized list, native icon caching, better top bar 2021-10-24 11:31:50 -07:00
Jamie
1d418fe60f lazy load icons, refactor store, 2021-10-23 14:30:36 -07:00
Jamie
600adc8fa9 Rust+Swift bridge
Co-authored-by: Brendonovich <brendonovich@outlook.com>
2021-10-19 07:31:56 -07:00