Commit Graph

212 Commits

Author SHA1 Message Date
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
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
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
berbaroovez
90b18e1c42 1st design completed 2022-06-26 12:25:23 -05:00
Andre
89004f94a5 Merge branch 'spacedriveapp:main' into desktop-issues 2022-06-25 16:50:08 +02:00