Commit graph

552 commits

Author SHA1 Message Date
maxichrome b71a19e75d
Merge pull request #458 from PyRo1121/node-version
Enforce minumum Node version
2022-11-06 02:07:10 -06:00
Brendan Allan 8007523b80 use node 16 2022-11-06 10:14:09 +08:00
erikpodusel 90890bbc1c
fixed traffic lights bar showing all the time (#464)
desconstructed props inside TrafficLights

Co-authored-by: Erik Podušel <podusel@gomerch.company>
2022-11-05 14:15:35 -07:00
Olen Latham dadbfe2833 ignore last commit derp 2022-11-05 18:05:40 +00:00
Olen Latham 862d23e2e3 looking over I think we want our @type/node to be in line with our node version requirements 2022-11-05 17:55:32 +00:00
jake a403224b3b
[ENG-262] Key Manager Integration (#450)
* add keys router

* make progress on keymanager integration

* make name non-negotiable

* hyphenate encryption algorithm names

* Revert "make name non-negotiable"

This reverts commit 9c0f51329e.

* add some more keymanager queries

* add master password and default key routes

* add newly registered key to db + fmt

* clippy, formatting and `updateKeyName` route

* add automount to schema+automount keys where `true`

* update bindings

* working key add/mount

* working keylist

* mounted keys show first

* cleanup code

* add comments, code cleanup, more functions

* unmount all keys button

* comment and keymanager `clear_master_password()`

* add no keys available message

* fix unmount button

* use dashmap for concurrency

* fix missing keylist issue and add invalidate query macro

* set correct RSPC types

* statically set master password (TEMPORARILY)

* add remove key function within the keymanager

* key dropdown menu and impl

* formatting

* allow `option_if_let_else`

* add comment about key stats

* add additional comment

* rpsc error handling for the keys route

* fix rspc errors with an impl

* crypto crate errors to `sd-crypto::Error`

* remove `map_err`

* use custom result type

* cargo fmt

* clippy

* fix builds

* remove `Error::MutexLock`

* fix unnecessary unwrap

* mutex error handling (buggy for some reason)

* clean default key logic

* fix default key clearing

* allow a key to be removed without bugs

* implement requested changes

* use a single `useMemo`

* update schema with defaults

* re-generate migrations

* use rust enums in TS

* remove dead code

* remove mutate expansion

* read key list from keymanager, not prisma

* add "Default" key marker and cleanup TS

* rustfmt

* remove dead code
2022-11-05 04:18:01 -07:00
Oscar Beaumont dc97f087c9
fix prod build not working & thumbnails on web 2022-11-04 17:19:46 +08:00
Utku 76e3d0b9a2
Mobile - File Import (#443)
* Fix File modal and Stats

* Add disabled and loading state for dialog

* Close library drowdown with drawer

* catch Rust panics on mobile to prevent UB

* Update packages

* Move create lib dialog to container

* Create library on onboarding

* Cleanup metro config & update packages

* onClose for Dialog & update library cache

* Fix pods, downgrade react-native-svg

* Fix lib switching, organization, start import modal

* Add device size info

* Revert merge + version upgrade/fix

* Create Location & Remove placeholder data

* Create default modal component

* Check if the location already exists

* Add media-library + prettier

* fix build

* Fix Xcode shellScript too

* More small fixes

* don't export bindings on mobile devices

* Explorer store + cleanup

* Explorer comp. & add flashlist

* [WIP] Files in Locations & new file thumb

* clean merge

* Fix imports

* Fix core on mobile

* Add platform context to mobile

* Refactor libraryStore

* Add thumb url path to platform context

* Try fixing app startup

* Add zip and video to filethumb

* Delete bindings.ts from mobile

* Remove heroicons from mobile too

* useForwardedRef hook

* Media Library permission stuff

* Clean import modal

* remove valtio-persist from @sd/client

* prevent Sentry capturing all events

* refactor `@sd/client` to make it better for mobile

* fix mobile splashscreen
Just trust me bro

* fix mobile draw active style

* use custom valtioPersist for current library state

* remove mobile lockfile
It's now in the pnpm workspace so it shared the main one.

* finally remove valtio-persist

* remove 'mobile' from Platform as it's in interface

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-11-01 21:32:56 +08:00
Oscar Beaumont 4e0b595073
Error Bounary Sentry support (#444)
* Sentry support

* remove broken import

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-10-29 02:06:09 -07:00
Jamie Pine cd74f47641
Update Team Page (#440)
update team page
2022-10-27 00:45:03 -07:00
Jamie Pine 0725459fc0
Polish Icon Usage (#437) 2022-10-25 18:47:09 -07:00
Oscar Beaumont 9e77b56962 fix ENG-226 - App crashing with no libraries 2022-10-25 19:16:00 +10:00
Oscar Beaumont aaa03b2aa1 Fix types 2022-10-25 11:48:00 +10:00
Oscar Beaumont 73eea94572 React Query devtools 2022-10-25 11:41:46 +10:00
Oscar Beaumont 473bc6e515 add useDebouncedForm hook 2022-10-25 11:41:05 +10:00
Oscar Beaumont b3695287dd Fix enter key not submitting dialog 2022-10-25 10:11:07 +10:00
Jamie Pine 130443d689 keybinds 2022-10-24 04:14:07 -07:00
Jamie Pine 8933e2bf1d more styles 2022-10-24 03:04:52 -07:00
Jamie Pine 01c29dadf4 Merge branch 'spacedrive-but-themable' of github.com:spacedriveapp/spacedrive into spacedrive-but-themable 2022-10-24 01:18:05 -07:00
Jamie Pine 2d8590c616 job indicator + styling 2022-10-24 01:17:10 -07:00
Oscar Beaumont 2b81acc30e debug mode + minor fixes 2022-10-24 17:48:52 +10:00
Jamie Pine 3a3ec6251f Merge branch 'main'
Conflicts:
	packages/interface/src/screens/settings/library/LibraryGeneralSettings.tsx
2022-10-23 18:43:27 -07:00
Jamie Pine fcd57c12fc more style tweaks 2022-10-23 18:20:36 -07:00
Jamie Pine 838bae14b0 various style fixes 2022-10-23 18:09:15 -07:00
Jamie Pine 25d0759a70 style tweaks, fix TS CI 2022-10-23 16:17:53 -07:00
itschip ad28ed4190
fix(interface/settings): remove library dep when updating general settings (#432)
* fix(interface/settings): remove library dep when updating general settings

* LibraryGeneralSettings use react-hook-form

useEffects are cringe

* Fix Typescript errors

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-10-23 16:16:49 -07:00
Jamie Pine 6d774c7639 remove spline test 2022-10-23 03:43:10 -07:00
Jamie Pine 6ecdc6a02f finish theming 2022-10-23 03:24:46 -07:00
Jamie Pine 5ba07ac6c2 more theming 2022-10-22 22:46:46 -07:00
Jamie Pine df8564b024 further tweaking 2022-10-22 07:01:59 -07:00
Jamie Pine 53caf144e3 more theming 2022-10-22 04:24:00 -07:00
Jamie Pine 0f6b4206be morpe stuf 2022-10-22 00:02:35 -07:00
Jamie Pine da344f954c styled explorer top bar 2022-10-21 23:21:22 -07:00
Jamie Pine 2f105e9bb6 Merge remote-tracking branch 'refs/remotes/origin/spacedrive-but-themable'
Conflicts:
	packages/interface/src/screens/settings/client/GeneralSettings.tsx
	packages/ui/src/Dropdown.tsx
2022-10-21 21:53:45 -07:00
Jamie Pine a9e263e2f6 refactor switch component + update styles 2022-10-21 21:50:47 -07:00
Brendan Allan d6880c0343 dropdown refactor 2022-10-22 01:35:03 +08:00
Jamie Pine f92303c7d6 refactor progress 2022-10-21 04:45:53 -07:00
Jamie Pine c4226f0e7a Merge branch 'eng-259-identify-objectkind'
Conflicts:
	apps/landing/package.json
	apps/landing/vite.config.ts
	packages/interface/src/AppLayout.tsx
	packages/interface/src/components/explorer/Explorer.tsx
	packages/interface/src/components/explorer/ExplorerTopBar.tsx
	packages/ui/src/ContextMenu.tsx
	pnpm-lock.yaml
2022-10-20 22:49:15 -07:00
Jamie Pine 827287b26d progress 2022-10-20 22:36:25 -07:00
Jamie Pine a36a30e317 merge 2022-10-20 21:55:39 -07:00
Brendan Allan f7f3976024 add CreateLibraryDialog to sidebar dropdown 2022-10-21 11:26:15 +08:00
Brendan Allan e9acbe4b42 disable dropdown storybook 2022-10-21 10:30:19 +08:00
Brendan Allan c41bfae297 refactor dropdown 2022-10-21 10:29:50 +08:00
Brendan Allan 09201d0fa8
use custom tailwind styled function (#426)
* use custom tailwind styled function

* update pnpm lock

* fix landing vite config
2022-10-20 17:34:40 -07:00
Jamie Pine e39f903b07
some esm vite plugin thing (#425) 2022-10-20 16:21:50 -07:00
Brendan Allan d418fd4780 use padding="thin" 2022-10-21 04:14:54 +08:00
Brendan Allan 21e156c517
UI refactor (#418)
button refactor

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2022-10-18 21:24:47 -07:00
Oscar Beaumont 4ab1e65059 Merge remote-tracking branch 'origin/main' into fix-reactivity 2022-10-18 22:09:33 +08:00
Oscar Beaumont ddcc20c020 use React.PropsWithChildren 2022-10-18 22:04:19 +08:00
Oscar Beaumont 11c370e4c7 purge unused dependencies 2022-10-18 21:52:00 +08:00
Oscar Beaumont 5f90c8bfe8 Removing import React from mobile 2022-10-18 20:58:05 +08:00
jake 3f2b4cda38
[ENG-245] Object Validator Job (#414)
* use `.to_hex()` for blake3 hashes

* move file hashing function+fix large stack alloc

* init validator job

* change branch name

* add object validator job

* formatting

Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-10-18 05:39:33 -07:00
Jamie Pine 5fcc6c4f31 fix video thumb and inspector scroll 2022-10-18 00:00:33 -07:00
Jamie Pine a397803be0 ui cleanup 2022-10-17 23:38:41 -07:00
Jamie Pine f300049873 improvements to key manager ui 2022-10-17 21:01:40 -07:00
Oscar Beaumont 1a8581d44f upgrade rspc + fix reactivity + add in disabled Normi code 2022-10-18 04:45:37 +08:00
Jamie Pine 4acb8cc594
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-17 01:36:05 -07:00
Jamie Pine acbd064f43
- added explorer options panel
- added Select ui component
- added tailwind-radix
2022-10-17 01:32:36 -07:00
Jamie Pine 2322adc9df
fix settings suspense 2022-10-16 02:48:58 -07:00
Jamie Pine 34a6e812ad
improve dialog animation + move to ui lib 2022-10-15 22:11:25 -07:00
Jamie Pine 0e66e6a843
mockup: key manager ui
- thanks AndrewTech for help with react spring +  radix combo
2022-10-15 21:40:10 -07:00
Jamie Pine b94d2ed736
(hotfix) p2p preventing compile 2022-10-08 11:30:17 -07:00
Jamie Pine 900ee618ce
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-06 18:10:08 -07:00
Jamie Pine e402fc52b7
sd extensions crate
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-06 18:10:03 -07:00
Oscar Beaumont aacdf33216 merge duplicate prettier config and format repo with it 2022-10-07 07:45:15 +08:00
Oscar Beaumont 162eef60ab toast notification hook 2022-10-07 07:36:22 +08:00
Jamie Pine cff4801c93
tests for magic bytes 2022-10-06 09:48:55 -07:00
Brendan Allan f1b55f1101 merge main into update-rspc-and-more 2022-10-06 18:34:18 +08:00
Oscar Beaumont 20523a94c9 upgrade workspace dependencies 2022-10-06 14:03:58 +08:00
Jamie Pine 5ab432ae46
Magic bytes 🪄
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-05 13:16:22 -07:00
Brendan Allan 45ff212e97 merge main into update-rspc-and-more 2022-10-05 12:01:50 +08:00
Jamie Pine d27ff3cd80
Object Kind (#397)
* add temp custom icons and tweak styles

* tweaks

* - added Object type structs
- added extension enums with variant macros
- improved explorer rendering
- added database migration hotfix

* - added dev only data folder
- improved explorer image loading

* macros do rule !

* remove baselining

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-04 20:34:41 -07:00
Brendan Allan a7f37f7732
Use turborepo for desktop & web apps (#399)
* add turborepo

* give docs a package.json

* tabs not spaces

* tabs not spaces
2022-10-04 18:59:28 -07:00
Brendan Allan 723058e060 merge main into update-rspc-and-more 2022-10-05 08:58:03 +08:00
Jamie Pine cbd58ee438
Rename Files to Objects (#396)
* backend rename complete

* finalize Object refactor frontend
+ remove some exhaustive dep suppression
+ FIX INVALIDATE QUERY BUG
2022-10-04 09:16:49 -07:00
Brendan Allan ed06e3051e
[ENG-84] Sync library (#394)
* new sql lib stuff

* add sync stuff + rename all crates

* build sd-core

* add sync/example/dist to source

* fix sync example in monorepop

* appease clippy

* update lockfile

* update commit hooks

* fix typescript

* fix typescript build

* please rustfmt
2022-10-04 05:25:12 -07:00
Oscar Beaumont 9f15540a91 bundle splitting and performance optimisations 2022-10-02 01:37:35 +08:00
Oscar Beaumont 60e228ec94 upgrade rspc 2022-10-02 01:16:11 +08:00
Jamie Pine 3e8c33d1c0
Added crates folder (#389)
* restructure core for crates folder

- improve naming consistency
- added placeholder files for near future code
- added docs

* - removed all typescript from core
- moved rspc bindings to client

* remove useless git ignore & rustfmt
2022-09-29 21:02:29 -07:00
Oscar Beaumont fbf5ed91b9 bump Typescript target to ESNext 2022-09-30 00:33:43 +08:00
Oscar Beaumont bb40110e6e
Eng 243 documentation on landing (#386)
* Updated roadmap

* Color timeline to show where we are up to

* roadmap improvements

* roadmap changes

* docs init

* progress on docs

* support metadata (name & ordering)

* fix prod build

* fix lock

* fix perender

* docs progress

* added "slots" to markdown parser

* refactor to support sections

* more docs progress

* fixes

* added empty docs

* killer opening paragraph

* fix Heroicon imports & page rendering

* tweaks

* next doc

* fix build

* fix ssg failure

* fix prod build for REAL

it was the bubbles

* fix next doc api

* it's the bubbles

* wip: docs mobile

* doc nav tweak

* doc menu ui

* fix next doc in pre-render

* react-borger-menu

* fix build

* fix height and padding

* mobile docs nav styles

* oooh super cool transition

* fix button state glitch + big headings

* refactor layout

* docs mobile nav bar style

* fix min width & height

* Merge remote-tracking branch 'refs/remotes/origin/main'

Conflicts:
	docs/architecture/spaces.md
	docs/developers/architecture/spaces.md

* placeholder docs

* correct pre styles + env setup guide

* search coming soon

* docs cleanup

* resolved cargo

* reorder docs + add image

Co-authored-by: Lu Hill <email@lewie.me>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-09-27 19:48:42 -07:00
Mohammed Bajuaifer d13248b2f1
[Eng 200] enter on keyboard doesn't cause modal to submit (#382)
* Add form tag to enable submission when clicking enter

* invalidate library queries when adding/removing

* using useQueryHook to invalidate queries

* Bump Rust version on Contributing

* Fix form double firing

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2022-09-25 23:35:25 -07:00
Ericson "Fogo" Soares 6fd620087b
Video thumbnails (#376)
* Preparing some scaffolding for video thumbnails

* Implemented thumbnail generation for videos
* Propagating errors of `Node` creation
* Using ffmpeg feature gate

* Introducing ffmpegthumbnailer-rs as a subcrate on core

* - rename to thumbnailer
- fix explorer thumbnail bug
- add more supported video types
- re-fix explorer performance

* remove nested licence

Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-09-24 01:21:13 -07:00
maxichrome 4673867ad1 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-15 02:15:40 -05:00
maxichrome 0768005106 use defaultprops type arg in inputcontainer 2022-09-15 01:56:02 -05:00
maxichrome 44d1c4526d update search bar shortcut to Cmd/Ctrl+F 2022-09-15 01:55:51 -05:00
maxichrome 4ec92a6f6c hide search key hint when value present 2022-09-14 16:54:57 -05:00
maxichrome 598365de3b update search shortcut to slash 2022-09-14 15:57:26 -05:00
maxichrome 098e18256b reposition top bar keybind check comment 2022-09-14 12:22:32 -05:00
maxichrome 24f3562daa use clearer name for DOM keybind handler 2022-09-14 12:22:12 -05:00
maxichrome 7c67d57b42 add silly react import to app layout bc it needs it 2022-09-13 22:41:20 -05:00
maxichrome 9dfa1a43eb move to custom KeybindEvent subclass 2022-09-13 22:41:01 -05:00
maxichrome 1919acdb62 reconfigure search bar keybind
- also prevents interference with other text boxes on Esc
2022-09-13 19:05:42 -05:00
maxichrome 2fb220ca6a add typings for keybind event 2022-09-13 19:05:12 -05:00
maxichrome 746871d0a2 use native/Tauri keybind to open settings 2022-09-13 19:04:51 -05:00
maxichrome e5b8198b88 add useAppProps brevity 2022-09-13 19:02:06 -05:00
Utku Bakir 230ea4fd84 Update rspc to 0.0.6 2022-09-07 11:55:37 +03:00
Brianna Alora 2250949ccf
Only show a period at the end of a filename if it has an extension (#380)
* only show extension period if file has extension

* change from fragment to string interpolation
2022-09-06 21:06:50 -07:00
Brendan Allan 459a44b7ac utilise include instead of with for type safety 2022-09-07 04:09:57 +08:00
Brendan Allan 3775c33d97 rename getAll to list 2022-09-07 00:21:41 +08:00
Jamie Pine 05bcb6e1b0
Assignable Tags (#370)
* Tag queries + Identifier bug fix

- added empty pages for docs
- added non-functional "New Library" button to sidebar
- to accomplish above, moved dialog logic to component folder
- fixed Identifier bug where location id was not considered in the orphan files query, meaning it would attempt to identify many non-existent paths and fail to create the legitimate ones

* (fix) maintain file item aspect ratio in grid view
(fix) get tag query + get all tags

* codegen

* resurrected context menu

* fix window flash

* remove location based thumb sorting + update react on landing

* add is_archived to location

* improved context menu

* assign tag + refactor explorer store

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

* assign/unassign tags from context menu

* fix lint

* keep context menu open on tag change

* fix brendan feedback + merge main

* fix type

* codegen

* style changes

* revert windows size and xcode proj

* remove outdated doc

* coming sooooooon

* updated release notes

* release notes

* dashes > dots

* clean up docs

* more docs!

* restore entitlements

* remove unused util

* regenerated migrations post merge
- some additional error handling added to migration runner, needs more work!

* refactor explorer to support tags

* fix error and revert explorer bg color

* put it in a box they said

* revert location id store removal

* upgrade hero icons + style tweaks

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-09-04 13:00:24 -07:00
Ericson "Fogo" Soares 25c111a8bf
Introducing Indexer rules (#363)
* Introducing indexer rules for the indexer job
* Solving a minor race condition at `Worker::spawn`
* Many refactors at database accesses with prisma
* Documenting some features of indexer rules

* Updating to new prisma rev

* Updating photo

* Some documentation tweaks

* fix note editing

* Implementing some requested changes
* Fixing unit tests on walk function
* Using rsps::Error::with_cause instead of new

* Introducing a compoung unique key between `node_id` and `local_path` at `locations` table

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-09-01 16:38:26 -07:00
Oscar Beaumont c899ba7e00
Merge pull request #314 from berbaroovez/feature/Tooltip
Tool Tips added
2022-08-30 21:37:50 +08:00
Oscar Beaumont a8ecba472a add more tooltips 2022-08-30 15:01:24 +08:00
Oscar Beaumont c932b0078c
Merge pull request #318 from spacedriveapp/eng-193-add-menu-item-for-opening-settings
Add menu item for Settings
2022-08-30 14:58:32 +08:00
Oscar Beaumont 3e43f043b6 make typecheck pass 2022-08-30 14:38:45 +08:00
Oscar Beaumont a62191c589 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive into feature/Tooltip 2022-08-30 14:32:00 +08:00
Oscar Beaumont 47565c8720 change breakpoint + center button 2022-08-30 14:06:23 +08:00
Oscar Beaumont ce59586da8 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive into desktop-issues 2022-08-30 13:55:25 +08:00
Oscar Beaumont 1e1bd81c94 settings keyboard shortcut + fix Tauri menu items 2022-08-30 13:49:29 +08:00
Oscar Beaumont 54cbc1a5e9
Merge pull request #327 from RockBacon9922/SearchBarFeatureAdditions
Focus search bar on press Super+K
2022-08-30 13:12:25 +08:00
Oscar Beaumont 8fe1c569cb Merge remote-tracking branch 'upstream/main' into SearchBarFeatureAdditions 2022-08-30 12:56:32 +08:00
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
Utku Bakir b33583fde3 Fix types - Mobile 2022-08-11 12:22:58 +03:00
Utku Bakir 6437f3747d Move eslint to config package 2022-08-10 18:43:04 +03:00
Oscar Beaumont 5c686617e8
fix invalid package.json 2022-08-09 15:22:54 +08: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 86863b6d73
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-08-08 18:35:04 -07:00
Oscar Beaumont 90eba053f4 fix landing page 2022-08-08 12:22:05 +08: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
RockBacon9922 9ed01a0e73 modified the key combos and the prompt. 2022-07-15 00:11:20 +01: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
RockBacon9922 61885dc2e9 Fixed type error 2022-07-11 12:40:32 +01: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
RockBacon9922 31547db0ac Changed conditional render to tailwind peer class 2022-07-08 14:00:59 +01:00
RockBacon9922 84c32a4e40 added cleanup function 2022-07-08 09:38:44 +01:00
RockBacon9922 63d75af610 Implemented super+k focus. hint hides onFocus 2022-07-07 21:45:05 +01:00
berbaroovez fb9c0802e0 added missing tooltips 2022-06-26 12:42:48 -05:00