Commit Graph

188 Commits

Author SHA1 Message Date
Oscar Beaumont
ed452d1c5a Merge remote-tracking branch 'upstream/main' into eng-89-new-counter 2022-08-30 11:18:34 +08:00
Oscar Beaumont
c7441d1d64 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
Jamie Pine
b37aea37d0 hotfix: (macOS) app platform prop not being set correctly 2022-08-20 23:55:29 -07:00
Utku
35daec02ad Merge branch 'main' into eng-89-new-counter 2022-08-20 13:28:29 +03:00
Utku
b7af4c0acf Merge branch 'main' into eslint-config 2022-08-12 10:39:21 +03:00
Oscar Beaumont
6e27530256 fix Windows support 2022-08-12 14:48:49 +08:00
Utku Bakir
3c963907a5 Fix types - Interface 2022-08-11 12:35:27 +03:00
xPolar
e48bc2cc98 Merge branch 'main' into eng-89-new-counter 2022-08-09 00:14:20 -07:00
Jamie Pine
8e96f640b1 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-08-08 23:10:17 -07:00
Utku
3cdd0808a5 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
Jamie Pine
9583efb6d9 (fix) add new team members 2022-08-06 20:14:13 -07:00
Oscar Beaumont
ea92af57f8 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
Utku
9badfd3e7b Add useEffect import 2022-08-01 16:58:34 +03:00
Utku
7b4c930a5c Add "end" to useEffect 2022-08-01 16:46:57 +03:00
Utku
79941c654b Fix React cannot update warning 2022-08-01 16:43:01 +03:00
Utku
de16a11ea0 New counter implementation 2022-07-30 13:05:08 +03:00
Ericson "Fogo" Soares
85e5eec993 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
Utku
5a7650c187 Introducing assets package (#347)
* Move file Icons & Spacedrive logo to assets folder

* Fix all imports

Co-authored-by: Utku <>
2022-07-25 20:08:44 -07:00
xPolar
02644ecb73 Don't show Tags on the sidebar if no tags exist. (#342) 2022-07-18 22:23:46 -07:00
Oscar Beaumont
dcb0880e1c fix Typescript errors 2022-07-19 00:57:32 +08:00
Jamie Pine
9961c49759 Bunch 'O Features (#336)
* CRUD for tags.

* Implement tags query in open.rs and make some changes to CRUD.

* Tag update.

* Hopefully working get tags.

* added node config + spaces schema

* add missing routes

* begin tag ui

* renaming query names to better fit convention

* tags progress

* tag edit

* fix delete tag description

Co-authored-by: xPolar <polar@polar.blue>
2022-07-17 20:45:04 -07:00
Utku
77bf17e2be Use quadratic counter instead of react-countup (#333)
* Fix import

* Use quadratic counter instead of react-countup

* Fix counter not working on launch

Co-authored-by: Utku <utku.bakir@postdio.com>
2022-07-16 01:42:59 -07:00
Jamie Pine
7839fe43e1 Explorer Grid View (#334)
added grid view, as well as:
- moved location context to client lib
- merged library settings with main settings
- added some missing settings
- removed demo locations due to FileItem props syntax change, they are currently being replaced anyway by Oscar in another PR
- added functioning favorite button to the inspector, that works now
2022-07-14 13:50:48 -07:00
Oscar Beaumont
fa1c39657d Merge pull request #328 from spacedriveapp/eng-195-make-events-work-over-websocket
[ENG-195] allow events to work from web
2022-07-12 19:34:21 +08:00
Alex
fadd165247 SearchBar Logo fix (#310)
* SearchBar Component

* showing cmd+k for macOS&web

Co-authored-by: Ahriox <28069568+Ahriox@users.noreply.github.com>
2022-07-12 04:33:00 -07:00
Oscar Beaumont
7e9d036aee allow events to work from web 2022-07-11 16:38:02 +08:00
Oscar Beaumont
c685ce5fe9 Library manager (#258) 2022-07-10 19:05:24 -07:00
Jamie Pine
2cc3f3d95d Location Settings (#302)
* Delete locations

+ Show online status

* style tweaks

* tweaks

* location rescan button

* fix location delete db locking bug

* opting to remove self referencial relation on file_path

* correct query

* consolodate migration

* consolodate migrations
2022-06-24 06:26:45 -07:00
matt
7cb6e4f574 feat: Allow Dropdown component to have alignment (#303)
* feat: Allow Dropdown component to have alignment

* fix: Align quick actions dropdown

* fix: content width of dropdown items

Co-authored-by: kaj <40004347+KAJdev@users.noreply.github.com>
Co-authored-by: kajdev <zekewotring@gmail.com>
2022-06-24 06:01:25 -07:00
Jamie Pine
1b1a8c4258 (fix) job queue
- adding a location performs all jobs
- better logging for thumbnailer
2022-06-22 04:40:45 -07:00
Jamie Pine
ff9df3f8d1 (fix) notes: they work predictably
- added lodash for debounce outside react tree
- added command function to bridge
- updated FAQ
2022-06-22 04:13:11 -07:00
Bryan
281f6dda45 fix: track last file and force note saving on file change (#288) 2022-06-21 23:00:49 -07:00
Jamie Pine
39bf6709ab Better Inspector Scroll (#266)
(fix) inspector: better scroll
2022-06-21 01:23:14 -07:00
xPolar
77713bab7e Notes on files. (#253)
* Temp fix for build.rs

* Note implementation

* Notes work now, need to iron out some things.

* Finish file notes.

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>

* Remove lodash debounce

* Fix pnpm locl

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-06-20 21:14:05 -07:00
Oscar Beaumont
f8de1a81bf 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
Jamie Pine
6978928db9 Eng 142 fix interface hot reload (#252)
* fix interface hot reloading

* AppPropsContext exsiting in App.tsx was the issue :D

* type export fix
2022-06-18 01:35:51 -07:00
Jamie Pine
4e76a94db5 Add Careers Page (#247)
* added and basically finished careers page

* fix blur animation + blog fade in

* bloom tweaks

* big boy landing style tweaks

* fix og description

* fix port & footer links

* bring back bubbles >:(

* slight adjustment to numbers

* fix image path resolution

* update pnpm-lock

* added id tag + sidebar tweak

* un-haden new banner

* fix padding on mobile landing index

* disable page bloom on firefox since it cant render blur

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-06-16 05:34:04 -07:00
Jamie Pine
bdd87907b3 (fix) landing: style tweaks 2022-06-15 15:29:31 -07:00
maxichrome
498da6a73e [macOS] native sidebar blur effect (#239)
* wip rust bindings

* wip rust bindings

* attempt raw objc for window blur -- still nothing

* some minor blurring success...

* Fix macOS sidebar blur

* darken sidebar

* lock to dark theme

* remove commented, unused window-blur lines

* remove xcode user state

* ADD SWIFT WINDOW CODE

* refactor: use swift window code

* remove stupid cas warning

* add webview swift util for reload

* remove objc and cocoa

* remove old unused swift build fix

* simplify swift package fn calls

* enumify app theme

* fix main content view not expanding

* fix sidebar folder item layout

* fix swift version requirement

* fix landing package json

* landing tweaks

* sidebar style tweaks for macOS

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-06-15 13:53:42 -07:00
Benjamin Akar
6a9f3f05d5 New team page (#229)
* Wrote blog

* feat: implement new team page

* refactor: reusable link comp

* chore: update images

* perf: compress images

* refactor: update link

* refactor: update icons, remove white border in favor or rounded corners, add investors

* changes to roles

* team changes

* refactor: add a few changes

* style: slightly better styling

* update team images paths

* use proper image element

* update haris to match team style + keep constant

* improve team member styling

* use vite import pattern

* team tweaks

* fix brendan crop

* fix text and gradient color to match brand colors

* engineer not developer!!!

* add annoucement banner since this can not be merged until post annoucement anyway

* fade in stuff

* better copy

* better haris.jpg

* style: slight update to styling

* Update apps/landing/src/pages/team.tsx

* update my image

* chore: remove unused log

* Update team.tsx

* use incorp'd name everywhere

* update team credits

* hoist headings in credits

* consistent marketing copy in cargo

* fix types

* style tweaks

* blog updates

* blog title tweaks

* fix demo

* jj said lets round it up

Co-authored-by: Lu Hill <email@lewie.me>
Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: xPolar <50601857+xPolar@users.noreply.github.com>
2022-06-14 13:13:09 -07:00
Jamie Pine
ef639e79fb fix loading bug on overview stats 2022-06-08 18:09:54 -07:00
Jamie Pine
7ccf4ce87e (hotfix): StatItem breaking entire app
Co-authored-by: xPolar <xPolar@users.noreply.github.com>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-06-06 15:48:21 -07:00
maxichrome
cc40d39d6f StatItems count up when amount changes (#226)
* simple skeleton system

* fix overview counter!

* nitpick: call `appPropsContext` value `appProps`

* fix contextMenu render key warning

Co-authored-by: Polar <polar@polar.blue>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-06-06 07:37:18 -05:00
Benjamin Akar
e25ed59b70 Revert "Revert "Eng 125 implement waitlist on landing page"" 2022-06-04 17:08:12 +02:00
maxichrome
b4fe84bc24 Revert "Eng 125 implement waitlist on landing page" 2022-06-04 10:02:34 -05:00
Benjamin Akar
53cba7a225 refactor: move alert and info to svgr 2022-06-04 15:54:38 +02:00
Benjamin Akar
afbe8a60a8 refactor: moved svg to own file and import using svgr 2022-06-04 15:42:55 +02:00
Benjamin Akar
c8af4f3f4e feat: implement waitlist 2022-06-04 10:58:11 +02:00
Benjamin Akar
a937d1c463 chore: componentize folder img icons 2022-06-03 09:29:04 +02:00
Benjamin Akar
b45b85da68 chore: remove unused import 2022-06-02 20:15:11 +02:00