Commit graph

833 commits

Author SHA1 Message Date
Utku 8e14bc68bc
fix weird translations (#2294)
fix some size translations
2024-04-06 00:46:47 +00:00
Arnab Chakraborty 20d9878968
Disable Labeler (#2288)
* Disable Labeler

* Auto format and lint

* Comment out regen labels context menu entry

* Comment out some more labels references

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-04-05 19:41:11 +00:00
nikec 7d0eee2e02
[ENG-1714] Fix black bars (#2289)
* fix black bars

* Update Original.tsx
2024-04-05 17:11:47 +00:00
Brendan Allan f168b5e45d
Better search (#2262)
* Revert "Revert "remove fixed filters" (#2261)"

This reverts commit 5b40cefe37.

* search sources

* only set default filters if no filters

* key saved search page on id and use raw search as searchbar default

* fix crate versions

* put media view filters in a dedicated hook

* remove ts-reset

* add comment about <Inner>

* generics!

* cleanup

* search paths/objects switch (#2278)

* feature flag target switcher

* use useZodParams in saved search route
2024-04-05 15:40:46 +00:00
Vítor Vasconcellos 6bb94e3507
Fix pnpm prep fails to download native-deps on some specific network env (#2275)
* Fix pnpm prep failing to download native-deps on some specific network configurations

* Eslint/Prettier auto-format
2024-04-04 14:19:49 +00:00
Arnab Chakraborty 888ab5639b
[ENG-1483] Right Click -> New File (#2276)
* feat: Right Click -> New File

Creates an empty file called `Untitled` and adds `(1) -> (n)` for n number of files with the same `Untitled` name.

* feat: Seperate into Text File and Empty File

* chore: `cargo fmt`

* fix: Forgot to type convert to String

* feat: Working creation

* fix: i18n changes

* More i18n

* All added tags now translated

* With proper types checking now!

* Fix types

* chore: formatting
2024-04-04 04:20:31 +00:00
ameer2468 ad964058e2
[ENG-1705] Locales for sizing units (#2273)
* locales for sizing units

* size_ keys

* keys

* Update common.json
2024-04-03 16:30:04 +00:00
Arnab Chakraborty 50282cd697
[ENG-1701] No More Infinite Text File Scrolling (#2272)
fix: No More Infinite Code Scrolling
2024-04-02 17:50:52 +00:00
ameer2468 c7df18d3b7
Improve location list item layout (#2270)
* Improve location list item layout

* remove unused import
2024-04-01 22:13:27 +00:00
ameer2468 5aa0e30c28
[ENG-1704] Location fixed width sizing (#2268)
Update ListItem.tsx
2024-04-01 18:31:52 +00:00
ameer2468 12f15fc96f
[ENG-1702] Fix space for command palette (#2269)
* Fix space for command palette

* Update index.tsx
2024-04-01 18:30:44 +00:00
nikec 862cd05c27
[ENG-1703] Fix file name overflow (#2267)
fix overflow
2024-04-01 10:52:36 +00:00
ameer2468 21a0ec0869
[ENG-1699] Pin Job manager (#2264)
* wip

* minor cleanup

* Update Popover.tsx

* remove prop
2024-03-29 16:48:05 +00:00
Utku 5b40cefe37
Revert "remove fixed filters" (#2261)
* Revert "remove fixed filters (#2257)"

This reverts commit 1959226fb9.

* bump 0.2.10
2024-03-29 01:35:28 +00:00
Brendan Allan 1959226fb9
remove fixed filters (#2257)
* remove fixed filters

* fix: remove blank `console.log`

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-28 22:46:55 +00:00
nikec a6737e4440
[ENG-1698] Fix invisible thumbnails (#2258)
* fix size condition

* listen for listViewIconSize change

* fix invisible condition
2024-03-28 11:02:48 +00:00
nikec 2f5271e453
[ENG-1215] List view size customisation (#2254)
* base

* calculate line height on demand

* fix max update

* fix max update on resize

* read types directly

* sizing

* better size handling

* also handle text box padding on demand
2024-03-27 15:15:07 +00:00
nikec b776e4c55c
[ENG-1696] Fix Asian characters text wrapping (#2253)
no wrap
2024-03-27 10:27:23 +00:00
Utku 9a1cdf1dca
Fix all the weird eslint warnings (#2245)
* actually fix the weird lint errors

* Prettier auto-format

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-03-26 20:46:44 +00:00
Utku 6277c8cb5f
Command Palette (#2228)
* bring it back

* move into folder

* fix shortcuts colliding

* tags

* fix key capture problems

* add 2 more actions + locations to cmd

* fix search navigation issue W @nikec

* fix saerch input

* improve scrollbar look and text on lightheme + fix edge view search showing

* useShortcut

* add cmdp to keybinds page

* killer i18n extension for vscode

* some missing keys and localized cmdk

* in lists that can change - it's better to use the id rather than index to avoid extra re-renders

* Update CMDKLocations.tsx

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-03-26 13:05:46 +00:00
Brendan Allan 94ca18925d
[ENG-1691] Sync status subscription (#2246)
* sync status subscription

* clippy
2024-03-26 07:26:37 +00:00
ameer2468 204c876689
[ENG-1693] Prevent default webview search (#2241)
* prevent default webview search

* Update index.tsx
2024-03-25 15:26:03 +00:00
ameer2468 5c3f15932b
Remove: video intro (#2240)
Update Layout.tsx
2024-03-24 12:57:08 +00:00
Utku d52b720a12
fix language select (#2238) 2024-03-23 23:30:26 +00:00
Vítor Vasconcellos e5b57aa0ea
New test: Add location (#2222)
* New test: Add location
 - Add script to download some test files to allows tests to have a stable path for creating locations
 - Improve onboarding test
 - Add custom Cypress commands for fastOnboarding and deleteLibrary
 - Add some documentation related to tests to CONTRIBUTING.md
 - Update some deps

* Download small test-data for Cypress CI

* Replace globstar with find to make it compatible with bash 3.x

* Fix react too many re-renders
 - add-location test should now pass successfully

* Make job model task text match less flaky

* Check if we were redirected to onboarding after Library was deleted
 - Check if sidebar entry was created after adding a location
 - Put route regex's into a separate file
 - Make onboarding test ensure that no Library exists before running

* Enable test retries
 - Log cypress default config during test run

* Run tests under webkit
 - Pass CI envvar to tests to ensure correct cypress config

* Attempt fix CI config again

* Remove single use checkUrlIsLibrary function
2024-03-23 21:24:16 +00:00
Brendan Allan 697dc50ea2
fix topbar hmr (#2231) 2024-03-22 06:29:14 +00:00
Vítor Vasconcellos 08c42a36fe
[ENG-1624] E2E Tests (#2192)
* Basic cypress test

* Add e2e test command

* Add full e2e test for creating and deleting a library

* Add cypress to CI

* Fix cypress CI
 - Use arm macos for running cypress
 - Setup rust on cypress job
 - Increase cypress CI timeout

* Remove unused APPLE_SIGNING_IDENTITY envvar

* Update deps again + Try to fix Cypress CI setup

* Update deps again

* Only test default location if it exists

* Use latest v18 NodeJS in CI

* Increase minimum node version due to updated dependency
 - @typescript-eslint/eslint-plugin now requires node >=18.18

* Fix testing failing for optional default locations

* Enable video recording
 - Fix screenshot and video artifact uploading

* Fix location test
 - Use correct location name, instead of trying to derive it from the internal id
2024-03-19 20:22:17 +00:00
ameer2468 52d7c572be
[MOB-66] Black theme & more (#2213)
* wip, black theme and updates

* wip

* More tweaks and adjustments

* eslint

* Move some components into their own file

* lint interface onboarding

* remove mobile obj and move into app

* remove navback prop since native stack does it
2024-03-16 00:56:34 +00:00
nikec ae4e65de93
[ENG-1685] Fix 'ExplorerContext.Provider not found!' (#2210)
fix context
2024-03-14 12:07:58 +00:00
Oscar Beaumont 7dc0880f8b
P2P Metadata Cache + Sidebar (#2208)
* wip

* wip

* Render peers in sidebar

* clippy

* stringify on server

* don't stringify

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-03-14 09:12:29 +00:00
ameer2468 1fd217c9af
[ENG-1679] Video intro fix & darker color (#2204)
* Fix bg

test vid update

fix vid fragments

fix intro

black mobile intro

lint

* update vid

* pascal case

* file glitch

* files

* Update GetStarted.tsx
2024-03-13 21:50:21 +00:00
Utku 4fc8dcfb48
[MOB-69] Infinite scroll & explorer query hooks (#2197)
* run sim before everything

* move passwordmeter

* annoying maestro

* remove bad extension from recom

* move explorer query logic to @sd/client

* update mobile packages

* working explorer

* search with the new query

* tag explorer

* revert maestro version bump
2024-03-13 20:53:00 +00:00
ameer2468 72451a07bc
[ENG-1683] Prevent mouse-side buttons from drag selection (#2203)
* Update index.tsx

* Add coming soon toast for add device button
2024-03-13 16:15:39 +00:00
Oscar Beaumont 2ca88a5d6b
Refactor P2P Hooks (#2193)
* Basic AF server

* wip

* Add autonat to relay server

* Add autonat client + fixes

* Deploy script

* wip

* Debug view

* wip

* wip

* relay all events

* wip

* fix

* wip

* libp2p man spoke

* dctur

* Relay config file

* Advertise relay server

* Dynamic relay configuration

* wip

* p2p relay config

* cleanup

* push instances into p2p state

* fix

* Fix up TS

* refactor p2p hooks

* fix backend state

* Skip self

* a

* b

* Relay config in debug query

* Fix method name

* tsc is broken on my machine

* a

* Incorrect typecasts. Can we just ban them

* fix types
2024-03-13 06:43:22 +00:00
Utku d60789e588
Make eslint happy (#2198)
* eslint maxing

* @sd/ui too
2024-03-12 20:41:41 +00:00
ameer2468 4b74c0af04
[ENG-1680] Show error messages for feedback form (#2196)
Update FeedbackButton.tsx
2024-03-12 13:17:29 +00:00
Oscar Beaumont 926ae4fc65
P2P holepunching + relay (#2147)
* Basic AF server

* wip

* Add autonat to relay server

* Add autonat client + fixes

* Deploy script

* wip

* Debug view

* wip

* wip

* relay all events

* wip

* fix

* wip

* libp2p man spoke

* dctur

* Relay config file

* Advertise relay server

* Dynamic relay configuration

* wip

* p2p relay config

* cleanup

* push instances into p2p state

* fix

* Fix up TS
2024-03-12 06:18:58 +00:00
jake 6e61849536
[ENG-1321] Webview reload keybind change and make MacOS reload explorer menu item functional (#2093)
* feat: cmd+r to quick rescan the current location, and change reload webview keybind

* chore: lockfile update

* fix: provide a location id to quick rescan in keybind event handler

* fix: add cooldown to quick rescan to prevent double-rescans

* refactor: use `explorerStore` instead
2024-03-09 06:11:14 +00:00
ameer2468 71272d5976
[ENG-1669] Fade out intro (#2178)
* Fade out intro

* Update Layout.tsx
2024-03-07 16:34:17 +00:00
jake 355ac191b8
[ENG-440] Crypto Refactor (#2115)
* rebase: `crates/crypto` into current `main`

* refactor: remove `mnemonic` module

* feat: disable secure erase temporarily

* fix: tsc

* fix: tsc due to unused import

* fix: remove `cli` crypto info

* deps: update

* chore: remove dead comment

* refactor: remove `bincode` feature

* refactor: give `keyring` a dedicated feature so it's not reliant on `sys` as well

* fix: remove `aes-gcm` as it's no longer supported

* refactor: remove dead comment

* fix: update `keyring` imports

* refactor: change tests to `aes-256-gcm`

* feat: make `Key` a `Box<>` internally to ensure it's heap allocated (and fix tests)

* chore: clippy

* fix: hashing tests now that `const` keys aren't available

this will be cleaned up with test vectors and `include_bytes!()`

* chore: clippy

* refactor: remove dead code

* test: bring back `encrypt_with_invalid_nonce` test

* fix: secret service keyring

* fix: `zbus` build issues

* doc: update comment for clearer reasoning

* fix: cargo fmt

* fix: use bytes directly

* deps: update lockfile

* fix: secret service keyring

* fix: comment out windows keyring for now

* fix: use session keyring if no keyring backend

* fix: completely remove keyring module if no keyring is available for that OS

* fix: clippy

* fix: move iimport to correct conditional compilation

* fix: fmt
2024-03-07 08:00:37 +00:00
wany-oh 68a10502cb
add japanese (#2174) 2024-03-07 04:08:04 +00:00
ameer2468 f754b315de
[ENG-1664] Close quickpreview on ESC (#2171)
Close quickpreview on ESC
2024-03-06 16:47:06 +00:00
Brendan Allan 63b17adb10
switch sync to msgpack instead of json (#2164)
* switch sync to msgpack instead of json

* use rmpv

* more rmpv

* use msgpack in cloud

* receive operations as msgpack
2024-03-06 10:15:29 +00:00
Arnab Chakraborty 3bd1622e93
[MOB-23] Mobile Hardware Information for Overview Page (#2106)
* wip for iDevices

* Working HardwareModel Info for iOS

* wip

* Merge 'main' into 'mob-hw-info-overview'

* Half-Working `get_volume()`

* Objective c bridge to talk to FS

* Working objc bridge

The bridge works now, and we can now access the iOS file system using the native objective-c APIs instead for proper values, including on the simulator.

* Isolate `icrate` for `ios` deployments only

* Working Stats for Android

* Clean Up + `pnpm format`

* Fix to FSInfoResult Type

Due to the RNFS fork change, I had to change the types to make it so it doesn't fail building and CI.

* iOS Device Name Fix
2024-03-06 06:46:22 +00:00
ameer2468 55d2ec7a6a
[ENG-1663] Prevent middle-click opening new tab (#2168)
Update Link.tsx
2024-03-06 00:37:31 +00:00
ameer2468 c11ecd2457
[ENG-1661] Windows explorer scrollbar (#2166)
Fix windows scrollbar
2024-03-05 19:46:17 +00:00
nikec eeea776292
[ENG-1662] Fix thumb black bars (#2167)
fix resize loop
2024-03-05 18:37:53 +00:00
ameer2468 a1c5639b03
MacOS: Fix video intro (#2165)
* macos use mp4 - others use webm

* macos use mp4 - others use webm
2024-03-05 16:01:57 +00:00
Heavysnowjakarta 9cb976af72
i18n some polishes (#2160) 2024-03-04 16:18:18 +00:00
nikec 4c484abb33
[ENG-1659] Rename through inspector (#2155)
renamable path trough inspector
2024-03-01 16:04:48 +00:00
Vítor Vasconcellos 8e271c007f
Lock version of patched dependencies (#2151)
Fix eslint warning
 - Fix some subdependencies requiring an older @typescript-eslint/parser version that is incompatible with the current version of typescript
 - Add react-router and react-router-dom version lock to ensure pnpm doesn't download a version incompatible with our patched @remix/router
 - Add version lock to @remix-run/router to avoid incompatibilities with our patched version
2024-03-01 01:57:27 +00:00
Oscar Beaumont 2cc828c4af
Everything over P2P (#2135)
* Fix websockets over P2P + multi-node cache

* cleanup features

* Explorer over P2P demo

* wip

* wip

* working for ephemeral stuff

* Button to get out of remote viewer

* remove

* Cleanup

* more cleanup

* Fix cross-node library queries

* Files over P2P

* Drop `Header::File`

* Fix Clippy

* Don't let noobs get hacked
2024-02-29 07:46:30 +00:00
Brendan Allan 54ea279df3
fix actors debug page (#2146) 2024-02-29 07:29:28 +00:00
Brendan Allan 69a6edb99f
Move online locations query to subcomponent (#2143)
* move online locations query to subcomponent

* silly

* pass location
2024-02-29 03:43:01 +00:00
Vítor Vasconcellos 5a103fb21b
[ENG-1472] Frontend bug fixes and dependencies update (#2137)
* Fix onboarding sometimes not redirecting to Explorer on prod builds
 - Fix failure trying to compile landing prod builds outside Vercel
 - Fix Server docker failing to restart due to some incorrecting logic for creating the unprivileged users erroring out
 - Fix Storybook failing to build due to updates to Vite
 - Update Storybook dependencies
 - Remove unused Inter font dependency
 - Fix some incorrect references to NodeJS types inside web code
 - Fix $libraryId index using the incorrect redirect function
 - Improve error handling for the $libraryId index route
 - Fix Prism not being correctly loaded, and failing to register its plugins
 - Improve Prism loading error handling
 - Small improvement to the text highlight logic
 - Fix SCSS deprecation for untyped hsl values
 - Fix library query cache incorrectly saving empty values, which lead to the onboarding redirect bug
 - Patch contentLayer to fix an error during the final part of it's build process
 - Update most dev dependencies
 - Update publish-artifact to be compatible with new @actions/artifact
 - Fix issue with new vite-plugin-solid failing to build our .ts files due to the removal of the typescript plugin
 - Fix pnpm overrides not applying due to incorrect placement in package.json
 - Replace deprecated react-tsparticles and updated three used by the Bubbles background in the landing page
 - Rework Bubbles background to be compatible with new @tsparticles/react
 - Update @sd/config dependencies
 - Update @sd/scripts dependencies

* Implement suggestions
 - Replace mobile JS node setup with custom setup-pnpm action
 - Handle GITHUB_SECRET default value in code and throw a warning when it is not set
 - Fix pnpm now resolving the correct node version when building Spacedrive server docker
 - Add missing getent command to spacedrive server docker
 - Fix typo in entrypoint.sh
 - Implement a more robust check if the user is already in a group
 - Fix adduser failing due to missing default group
 - Disconnect IntersectionObserver on component unmount
 - Improve prism import comment

* Implement more suggestions
 - Pin genent version to latest stable release of UClibc
 - Add checksum checks for all ADD clauses in Spacedrive server Dockerfile

* Increase Maestro timeout to reduce CI failures due to slow simulator startup

* Dowgrade maestro to workaround CI timeout

* Improvements to the script that run maestro mobile tests
 - Increase the amount of retries for a maestro test run to 6
 - Increase Maestro driver startup timeout to 2 minutes

* Let run-maestro-tests.sh decide how to run itself

* ¯\_(ツ)_/¯
2024-02-28 23:52:24 +00:00
nikec b6515a3467
[ENG-1460] Fix inspector path overflow (#2141)
fix overflow
2024-02-28 15:37:05 +00:00
nikec 09599da15c
[ENG-1642] Fix location status height (#2140)
fix height
2024-02-28 15:36:23 +00:00
nikec 46dc7e8669
[ENG-1643] Fix remove tag button size (#2139)
Fix button size
2024-02-28 15:36:15 +00:00
nikec a87d53e309
[ENG-1641] Use 'delItem' shortcut (#2138)
replace del items shortcut hooks
2024-02-28 15:36:07 +00:00
Utku b6c7ead854
[MOB-4] Toast messages (#2132)
* cleanup and add toast package

* fix screen container & use scrollview by default

* more cleanup and toast api

* now it works hmm

* toasts
2024-02-28 09:33:24 +00:00
ameer2468 b038b3cf5d
[ENG-1640] Correct locations folder icon (#2130)
* Show correct icon for locations list

* run lint fix
2024-02-27 16:44:49 +00:00
Brendan Allan 068c6dd169
[ENG-1605] updater i18n (#2123)
* updater i18n

* more translations

* interpolate version number in translations

* [ENG-1598] Don't show update toast if no previous version (#2125)

don't show update toast if no previous version
2024-02-27 16:17:06 +00:00
nikec 399b8264f4
[ENG-1639] Copy paste improvements (#2129)
improvements
2024-02-27 15:30:04 +00:00
Brendan Allan c8dc7e3d4d
[ENG-1613] Enable sync operation generation with backfill (#2128)
Enable sync operation generation with backfill
2024-02-27 09:37:34 +00:00
ameer2468 53713a9f59
[ENG-1625] Spacedrop UI correct hover condition & spacing (#2127)
* improve spacedrop ui with correct hover & spacing

* remove
2024-02-26 15:53:37 +00:00
Matteo Galiazzo 6f27504e5f
added it locale, added it entry (#2066)
* added it locale, added it entry

* Apply suggestions from code review

Co-authored-by: Matteo Martellini <matteo@mercxry.me>

* add missing keys and a readme about the script

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Matteo Martellini <matteo@mercxry.me>
2024-02-26 15:20:41 +00:00
Oscar Beaumont aa0b4abf85
rspc over P2P (#2112)
* wip: rspc over p2p

* wip

* rspc over P2P

* Cleanup + error handling

* slight cleanup

* Using Hyper for HTTP streaming + websockets
2024-02-26 07:23:48 +00:00
nikec d007b55763
[ENG-1619] Add spacedrop to the context menu (#2119)
add spacedrop to context menu
2024-02-22 12:53:02 +00:00
ameer2468 dd0acad2e7
[ENG-1618] Spacedrop UI (#2118)
* spacedrop ui update

* i18n and description

* glitch: remove !

* already in progress i18n

* more i18n
2024-02-22 12:47:08 +00:00
Utku b638fc2177
[MOB-37, MOB-38, MOB-39] Preview for PDF, Text and Media files (#2098)
* version & microphonePermission text & eslint

* remove polyfill as hermes supports intl now

* why do we have solid on mobile?

* cleanup

* add solid back =_=

* pnpm lock

* we hate relative paths here

* android config

* open file logic

* visual tweaks

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-02-21 13:26:05 +00:00
Oscar Beaumont 519b1b6c46
Fix P2P not working for libraries (#2031)
* P2P Debug route

* Remove legacy peer to peer pairing process

* Fix error typo

* Sync instances with cloud

* Upgrade deps + extended instance data

* Create instance with extended metadata

* Auto sync instances

* Actually `.await`

* bruh

* sync library info

* this isn't gonna work

* only sleep cloud receiver when no more messages (#1985)

* [ENG-1567] Fix renaming (#1986)

fix rename

* only sleep cloud receiver when no more messages

* use in memory instances during cloud receive (#1995)

* use in memory instances during cloud receive

* is_empty

---------

Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>

* fix type error

* wip

* make mdns mdns better

* rebuild state

* Add hooks + listeners + discovered state

* Split into crates

* wip fixing core + wip merging Spacetime into `sd-p2p2`

* `SmartLockGuard` + `Listener`

* Make `sd-core` compile

* Reenable all operation receivers

* Fix all broken code within `sd-core`

* minor fixes found in review

* Bring in `libp2p` + restructure `sd-p2p` for the gazillion-th time

* whoops

* Compile no matter the (runtime) cost

* fixing merge issues

* wip

* a

* b

* C

* Handle port betterer

* c

* Migrate node config

* a

* no crash on startup

* wip

* a

* jdfhskjfsg

* a

* fix discovery

* a bunch of fixes

* getting Spacedrop working

* I don't get why it no worky

* debug example

* a

* wip

* wip

* removing logging from stream impl

* wip: shit is fucked

* Redo quic integration  + Spacedrop working

* Fix shutdown - deadlocks + shutdown peers

* Add Prisma migrations

* Fix shutdown

* a

* fix

* cleanup

* The lord clippy hath spoken

* disable P2P settings for now

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
2024-02-21 08:13:40 +00:00
ameer2468 abd5ecbe8d
mousedown fix (#2108)
quick mistake fix
2024-02-20 10:05:53 +00:00
Brendan Allan 9bc1a472a8
Basic sync operation backfill (#2101)
* basic sync operation backfill

* no changes
2024-02-20 09:22:34 +00:00
ameer2468 19b224370e
[ENG-1615] bg intro video fixed (#2104)
* video intro bg

* test hsl

* test video bg

* run tests

* comment

* mob intro

* git glitch

* git

* webm type
2024-02-19 20:45:29 +00:00
ameer2468 e8450821df
[ENG-1612] Fix mouse nav forwards and backwards (#2105)
Fix mouse nav forwards and backwards
2024-02-19 15:23:20 +00:00
ameer2468 bd1f11b0d9
remove intro video (#2097)
* all tags screen, visual improvements, and bug fix

* More sync support for file paths + saved searches (#2067)

more sync support for file paths + saved searches

* windows video intro fix

* remove video intro

* back for mob

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-02-14 21:04:34 +00:00
nikec 1fd35d0a81
[ENG-1609] Shortcuts refactor (#2092)
small refactor
2024-02-14 15:08:59 +00:00
nikec 4afe3a3ecb
[ENG-1606] Hide ephemeral dir size in inspector (#2091)
hide ephermal dir size
2024-02-14 12:15:04 +00:00
Vítor Vasconcellos 7aae22e83f
Fix Linux release (#2081)
* Fix Linux release
 - Pin appimage-builder to latest master
 - Add required cmp option to AppImageBuilder.yml
 - Disable intro video on Linux (it breaks onboarding for some reason)

* Auto format

* Fix typecheck
2024-02-13 18:26:19 +00:00
nikec a18d60aa27
[ENG-1602] Prevent default keybind events (#2085)
* prevent default events

* disable for dev
2024-02-13 17:06:12 +00:00
ameer2468 74d9406c53
[ENG-1599] Overview count design (#2088)
* all tags screen, visual improvements, and bug fix

* More sync support for file paths + saved searches (#2067)

more sync support for file paths + saved searches

* fix count display

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-02-13 16:06:49 +00:00
nikec 63a60f363e
[ENG-1604] Change key matcher to use real OS (#2087)
useOperatingSystem(true)
2024-02-13 12:44:33 +00:00
nikec 1efaf97188
[ENG-1601] Fix job manager keybind toggle (#2084)
fix job manager toggle
2024-02-13 12:25:56 +00:00
Vítor Vasconcellos 72efcc9f62
[ENG-1595] Fix some problems with the AI system (#2063)
* Fix some problems with the AI system
 - Fix downloading model using an internal rust string representation as path for the model file
 - Fix Linux loading onnx shared lib from a hardcoded path
 - Fix App should not crash when the AI system fails to start
 - Fix sd-server failing to start due to onnxruntime incorrect linking
 - Some extra clippy auto fixes

* Use latest ort

* Fix dangling sd_ai reference
 - Use entrypoint.sh to initilize container

* Fix server Dockerfile
 - Fix cargo warning

* Workaround intro video breaking onboarding for the web version

* Fix rebase
2024-02-12 17:45:17 +00:00
nikec 74e2d23c11
[ENG-951] Media view date header (#2076)
* Split up grid into grid and media view, drag select, key selection, date header

* fix types

* header shadow

* set selecto drag container

* make shadow more visible and make text smaller

* fix date by key and sort direction

* fix truncated text jumping

* bump virtual-grid and replace totalCount

* cleanup a bit

* remove allowMultiselect option
2024-02-12 17:43:26 +00:00
ameer2468 7d12a890aa
[MOB-53] All tags screen - visual improvements - and more (#2074)
all tags screen, visual improvements, and bug fix
2024-02-09 17:13:37 +00:00
Utku 2dc233f1b4
Update readme & contributing guide & language stuff (#2071)
* updates

* keep common errors

* fix selector being empty for english

* sort by label

* update contributing

* update ndk and docs

* Update CONTRIBUTING.md
2024-02-09 15:42:42 +00:00
Brendan Allan 177b2a23d6
sync support for labels (#2070)
* more sync support for file paths + saved searches

* sync support for labels

* update sync prisma generator to support more than tags

* workey

* don't do illegal db migration

* use name as label id in explorer
2024-02-09 13:20:51 +00:00
Artsiom Voitas 1469ef6ac6
Added Belarusian localization (#2072)
feat: Added Belarusian localization

Added Belarusian localization, added entries in settings.json and general.tsx
2024-02-08 20:47:39 +00:00
Artsiom Voitas 53506a76cd
feat: added russian localization (#2061)
* feat: added russian language

* fix: minor translation changes

* Added and translated new entries on Russian

* fixed misspelling

* some translation inaccuracies have been corrected

---------

Co-authored-by: Artsiom Voitas <artsiom.voitas@proton.me>
2024-02-08 15:20:35 +00:00
ameer2468 bda9a1b6ee
[MOB-55] Video animation for onboarding on mobile and desktop (#2065)
* video animation for onboarding on mobile and desktop

run assets gen

cleanup

declare mp4 type

* update metro config to transform video files from sd assets

* test ci without native video exclude

* casing?

* remove to add back again due to github

* add videos back

* versions

* no need to transform

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-02-07 17:25:04 +00:00
Utku da2841b37a
More translations (#2051)
* translations

* more translation keys

* all the translations
2024-02-07 13:47:55 +00:00
ameer2468 2899aa3fa5
[ENG-1594] Change online to connected (#2060)
: This is a combination of 3 commits.

Change online to connected

remove offline

json
2024-02-06 16:30:53 +00:00
Jesse Rodrigo 4e70246467
Dutch locale (#2054)
* nl locale

* add nl entry

* improve some wording
2024-02-06 10:41:05 +00:00
Utku 2ff1ffcb9c
Fix Chinese language (#2050)
* fix chinese

* remove console.log
2024-02-04 20:52:26 +00:00
Jx 2320716523
Small adjustments to the Spanish language locale file. (#2043)
Small adjustments to language locales

Just some tweaks to certain words that seemed a bit out of place. They are mostly subtleties that I noticed after using the desktop app.
2024-02-03 11:28:29 +00:00
Utku e2175aaf19
[ENG-1578] Missing localization & language detect and settings (#2037)
* i18n privacy screen

* more missing translations

* language detector

* Language Settings

* sort german

* bump version to 0.2.3
2024-02-02 22:16:01 +00:00
Oscar Beaumont a30deaa144
Cloud + P2P (#1970)
* P2P Debug route

* Remove legacy peer to peer pairing process

* Fix error typo

* Sync instances with cloud

* Upgrade deps + extended instance data

* Create instance with extended metadata

* Auto sync instances

* Actually `.await`

* bruh

* sync library info

* this isn't gonna work

* only sleep cloud receiver when no more messages (#1985)

* [ENG-1567] Fix renaming (#1986)

fix rename

* only sleep cloud receiver when no more messages

* use in memory instances during cloud receive (#1995)

* use in memory instances during cloud receive

* is_empty

---------

Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>

* fix type error

* wip

* make mdns mdns better

* response

* remove renames

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
2024-02-02 09:31:11 +00:00
Brendan Allan 74d97d4957
[ENG-1592] Correctly assign tab titles on desktop (#2030)
* correctly set tab titles

* use selectedTabIndex

* empty tabId

* prettier
2024-02-01 15:40:38 +00:00
nikec 8cbd38d6f9
[ENG-1593] Fix custom icon theme variant (#2033)
fix custom icon theme variant
2024-02-01 15:40:25 +00:00
ameer2468 c2aa4cc292
[MOB-52] Tabs animation (#2020)
* tabs animation

Update mobile-ci.yml

rive app requires macos 13.1

Update mobile-ci.yml

Update mobile-ci.yml

rive requires 14.0 ios deployment target

attempt to set deployment target to ios 14.0 for rive app

update target to 14.0

* downgrade packages for expo compatibility, fix test, touchable change to avoid ripple effect

* notes
2024-01-31 12:25:18 +00:00
Oscar Beaumont c1ae1aed37
Fix Location Settings (due to Normalised Cache bugs) (#2023)
It do be broke
2024-01-30 15:52:05 +00:00
ameer2468 6fe2637ae7
[ENG-1582 + ENG-1586] Add tab keybinds to shortcut + object.hasOwn bug fix (#2022)
* add tabs shortcuts to keybind page + fix object.hasOwn

* Update useShortcut.ts
2024-01-30 14:22:39 +00:00
nikec a84344a2f9
[ENG-1585] Move toaster closer to the edge (#2019)
set toaster offset
2024-01-30 10:29:46 +00:00
nikec cd6597c080
[ENG-1583] Fix context menu closing when multiple tabs are open (#2016)
fix closing context menu
2024-01-29 16:50:27 +00:00
Brendan Allan 8a57d599f0
[ENG-1530] Display item count alongside labels (#2011)
* display count alonside labels

* format

* attempt i18n

* item_with_count
2024-01-29 13:10:40 +00:00
ameer2468 ad5fcc3f15
[ENG-1581] Correct search results icon (#2015)
Update index.tsx
2024-01-29 12:28:04 +00:00
nikec cc25fca7fb
[ENG-1576] Fix label thumb (#2013)
Fix label thumb
2024-01-29 11:41:04 +00:00
nikec d95a571b89
[ENG-1579] Disable list view for labels (#2014)
disable list view
2024-01-29 11:40:42 +00:00
ameer2468 b092236128
[ENG-1575] Fix overview search (#2012)
fix overview search
2024-01-29 10:54:34 +00:00
ameer2468 9af499b175
[ENG-1574] Clicking on a location card will direct you to its page (#2010)
* Clicking on a location card will direct you to its page

* change to Link

* Update index.tsx
2024-01-29 09:47:57 +00:00
nikec cd8d369cec
[ENG-1573] Fix overview devices card height (#1999)
quick height fix
2024-01-25 20:18:30 +00:00
nikec 412159682b
[ENG-1572] Fix arrow selection for labels (#1998)
fix arrow selection
2024-01-25 18:15:59 +00:00
ameer2468 d8f173306d
[ENG-1571] - Cloud images disappearing fix (#1997)
Fix cloud images dissappearing
2024-01-25 16:25:09 +00:00
ameer2468 d96141e4e0
[ENG-1570] Add location button function overview (#1996)
* Make add location button work

* Update settings.json

* Update settings.json
2024-01-25 10:23:40 +00:00
ameer2468 74ff99edbe
[ENG-1566] Better experience for themes (#1988)
better accessbility experience for themes
2024-01-24 16:51:07 +00:00
nikec 1dfb133c23
[ENG-1568] useShortcut cleanup (#1987)
* useShortcut

* use true os
2024-01-24 14:26:41 +00:00
nikec a965adb950
[ENG-1567] Fix renaming (#1986)
fix rename
2024-01-24 12:45:01 +00:00
Brendan Allan 638c16be79
only navigate on label double click (#1983)
* only navigate on label double click

* formatting

* smh

* why
2024-01-24 10:43:45 +00:00
ameer2468 d8e071bb8a
[ENG-1564] Delete dialog keypress (#1982)
* fix delete dialog keypress focus

* prevent quickpreview aswell
2024-01-24 10:23:17 +00:00
Brendan Allan 058cadb674
[ENG-1529] Round thumbnails for labels (#1981)
* rounded corner for labels

* can't forget list view
2024-01-24 05:15:27 +00:00
Utku abdf703217
Fix plugin (#1979)
* Fix plugin

* fix typo

* another typo

* typos
2024-01-23 20:11:13 +00:00
nikec 2c786dc46b
[ENG-1562] Disable renaming for unsupported item types (#1978)
disable renaming for unsupported item types
2024-01-23 14:29:04 +00:00
nikec ebaad348bc
[ENG-1560] Hide "New folder" context item on labels (#1976)
hide "New folder"
2024-01-23 14:28:31 +00:00
nikec 87679ec944
[ENG-1559] Fix i18n in prod (#1975)
maybe
2024-01-23 12:34:20 +00:00
jake 69221cc033
Fix app from not starting due to missing solid-refresh and bump version to 0.2.0 (#1972)
* deps: add `solid-refresh` to `interface`

* bump `core` and `desktop` to `0.2.0`
2024-01-23 09:35:54 +00:00
ameer2468 cca6a455af
Windows: Remove os check for mouse nav (#1973)
Remove os check for mouse nav
2024-01-22 15:21:11 +00:00
Brendan Allan 352828ada3
Add double-click functionality for labels in explorer (#1971)
explorer labels double click navigate
2024-01-22 08:49:38 +00:00
Utku ed156f742d
Performance to the moon (#1946)
* to the moon

* ignore searchbar

* fix

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-01-20 02:52:36 +00:00
nikec 7606c64cb6
[ENG-1554] Reduce icon size on media view (#1956)
reduce icon size on media view
2024-01-19 08:26:13 +00:00
nikec 73f036042a
[ENG-1553] Enable NavigationButtons on web (#1955)
enable
2024-01-18 11:16:13 +00:00
Vítor Vasconcellos 22abd85ba8
Fix NaN progress on first stats data for StatCard (#1953)
- Fix some typos + improved the progress logic
2024-01-18 05:45:49 +00:00
Vítor Vasconcellos 9aa1d55574
Fix initPlausible causing Explorer to re-render while Layout is rendering (#1951)
* Fix initPlausible call causing the Explorer component to re-render while Layout is rendering

* Fix useEffect
2024-01-18 05:44:42 +00:00
ameer2468 d4f6175631
update tailwindcss to 3.4 (#1949)
* update tailwindcss to 3.4

* Update pnpm-lock.yaml

* update others
2024-01-17 20:46:14 +00:00
ameer2468 405306535b
[ENG-1547] Fix strange blue line in input (#1950)
remove console logs and fix strange blue line in input
2024-01-17 20:16:35 +00:00
ameer2468 ed053da052
[ENG-1542] Drag support for search filters (#1948)
* drag support for search filters

* remove more un-used imports

* cleanup

* Update AppliedFilters.tsx

* drag support for search filters

remove more un-used imports

cleanup

Update AppliedFilters.tsx

* update dependancy of horiz scroll so it updates

* fix cursors for accessbility
2024-01-17 12:44:34 +00:00
Jamie Pine fdf31fc3a8
[ENG-1511] Library Screens (#1903)
* init

* changes

* Now updating statistics once a minute

* More robust statistics updater

* Concurrency is hard

* improvements to stats

* refactor

* adjust setting back/forward padding so it matches top bar

* refactor sidebar

* rename

* setting up screens

* some changes

* Co-authored-by: Brendan Allan <Brendonovich@users.noreply.github.com>

* yes

* yes2

* refactored explorerItem.ts

* important explorer code shouldn't be thrown away in a util moment

* support for multiple thumbnails in ExplorerItem

* clippy

* move debug

* yes

* label filters

* ts

* comment out unconnected stuff

* added .mid for midi files

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-01-16 12:15:03 +00:00
nikec 5cebca67bc
[ENG-1545] Remove cover prop from img tag (#1942)
remove cover prop
2024-01-16 11:33:41 +00:00
ameer2468 df887cd057
[ENG-1537] Search UI improvements (#1940)
* wip

* Improve search ui

* Update index.tsx

* Update Filters.tsx
2024-01-16 09:54:15 +00:00
Brendan Allan 249c509d4d
Use offset pagination (#1931)
use offset pagination
2024-01-15 06:09:23 +00:00
ameer2468 e027bba001
[ENG-1538] hidden files keybind windows fix (#1935)
Update useShortcut.ts
2024-01-12 21:28:51 +00:00
ameer2468 eb225883e6
[ENG-1536] Quick preview fixes: Tooltip, video switching, and media controls flash (#1934)
* Fix controls flashing when switching videos, tooltip, and video switching in quickpreview

* remove state

* props
2024-01-12 13:58:33 +00:00
Oscar Beaumont 9fc3b8e635
Solid Iterop v2 (#1925)
* portals all the way

* CI for mobile JS

* whoops

* do install plz

* Solid JSX on mobile

* Cleanup portals + file structure

* wip

* reset explorer changes

* fail

* make it work betterer

* cleanup

* It's not a `useEffect` bug, no way

* Fix `useSubscribeToThemeStore`
2024-01-10 09:40:18 +00:00
Brendan Allan 4962b1160b
[ENG-1488] Cloud sync message compression (#1922)
* CRDTOperationWithoutInstance

* almost there

* fully compress messages

* implement more of sd-cloud-api

* sd-cloud-api-ify

* landing -_-

* openssl

* clippy

* idk

* bruh

* wut

* ahhh right
2024-01-09 10:21:23 +00:00
Brendan Allan b94d5207a9
Add suspense to LayeredFileIcon (#1924)
add suspense to LayeredFileIcon
2024-01-09 08:45:43 +00:00
Oscar Beaumont f7cd96732f
@sd/client SolidJS support - Part 1 (#1920)
* `createSolid` + `createPersistedMutable`

* Move all Valtio stores to SolidJS

* Remove Valtio from `@sd/client`

* Missed auth store

* wip

* `useSolidStore` allow mutable setting

* Restructure `@sd/client` a bit

* Add `WithSolid` + custom `useObserver`

* Parse props both ways

* Universal Context

* Solid to React context working

* Working universal context

* context inheritance

* whoops

* Make it clearer how the demo works

* wip: `useUniversalQuery`
2024-01-09 08:05:01 +00:00
Utku a94832c1ee
[ENG-1502] I18n (#1897)
* you know, you could just work on first try

* fix extension

* configure plugin and fix few translation issues

* more

* more keys

* and more

* more keys and sort

* commit msg

* we like keys here

* end my suffering

* jk i just love keys

* key fix

* add turkish

* add german

* Entendido

* Demnächst

* Mettre une étoile sur GitHub

* 成功

* pnpm-lock

* vite plugin

* remove i18next backends

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-01-08 20:26:46 +00:00
ameer2468 59532b1aac
Quick preview: remove border from thumb image (#1923)
remove border
2024-01-08 15:43:49 +00:00
ameer2468 614c02d250
fix keybinds page (#1921) 2024-01-08 11:56:44 +00:00
Oscar Beaumont bef1ebcade
[ENG-1508] Launch Spacedrop (#1893)
* Shit UI

* refactor a bit

* wip

* yeet

* farming the wry but it's stale

* Real-time hover event

* Hook with `Platform` + fix broken window-state plugin

* `DragAndDropDebug`

* Clippy

* revert Tauri v2 stuff

* minor

* probs not gonna work

* undo last commit

* a

* b

* c

* d

* e

* f

* g

* long shot

* 1

* no 7

* da hell

* large bruh moment

* lol

* zzzz

* SSH into CI

* yeet

* Tauri mouse position without new Wry

* go for gold

* Correctly lock `ort` version

* minor fixes

* debounce hover events

* WTF Tauri

* Replace DND hooks with goated versions

* wip frontend stuff

* fix ts

* disable library p2p stuff

* remove Spacedrop dialog + hook up backend

* `useOnDndLeave` working

* Close popover when drag outside

* Allow `openFilePickerDialog` for Spacedrop

* couple of fixes

* empty state

* smh

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-01-08 06:42:17 +00:00