Commit graph

2523 commits

Author SHA1 Message Date
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 e2bab2be44
[ENG-1561] Light icon for empty state on labels (#1977)
light icon
2024-01-23 14:28:43 +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
Vítor Vasconcellos 556ddbd4f8
Port AppImage build to use appimage-builder (#1785)
* Initial port to appimage-builder

* Almost

* Fix appimage build on arm64

* Custom patch for external binaries run under appimage
 - Disable bubblewrap sandbox when running under appimage
 - Change cwd to APPDIR when running under appimage

* AppImage Works (for the first lunch, then it crashes with Stack Smash 😭)

* Fix stack smashing, now AppImage almos fully works \o/ (gstreamer is still broken)
 - Temporarily disable the volume watcher when running under appimage (Workaround for the stack smash error)
 - Wrap gnu lic version check for appimage under conditional compile for glibc targets
 - Add error handling for the justUpdatedCheck
 - Fix VITE_LANDING_ORIGIN being undefined

* On non glibc systems default to runtime/compat

* Use glibc version 2.8 instead of 0 for non-gnu systems

* Fix video playback not working due to broken GstRegistry

* Build and publish new AppImage release artifact
 - Fix model location when building deb
 - Improve model path resolution logic
 - Remove patchelf dependency from setup script
 - Fix incorrectly ignore gstreamer dependency in AppImage recipe

* Fix clippy complaining about `get_path_relative_to_exe`
 - Read GLIBC_FAKE_VERSION or use 2.8 for musl in appimage (while the code is there, this is not really supported for now)

* Remove appimage tauri target from release CI

* Remove setup-buildx-action, not relly needed

* typo fix

* Fix git describe command running on cwd instead of the repo root dir

* Attempt fix weird git permissions errors in CI+docker

* Pass CI env to docker appimage

* Only use git after installing it

* Pass target to appimage build script

* Fix permission after creating appimage

* -_-

* Swap envvar with github ci var

* Format

* Add instruction on how to manually build an AppImage

* Fix typos

* docs: add note about running podman with `--privileged` if there's a permission denied error

* docs: fix typo and link directly to appimage-building `README.md`

* refactor: streamline code and make it a bit cleaner

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-01-22 10:52:26 +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
Julian Braha 16fcc737b6
Optimization: reuse AWS S3 client across procedure calls (#1967)
* Reuse aws s3 client across procedure calls

* Move into locations module
2024-01-22 02:18:56 +00:00
Vítor Vasconcellos d4328f8280
Update prisma-client-rust to fix compiling from source on Linux (#1958)
Update prisma-client-rust to fix compiling from source on linux
 - Fix rolling release distros that are already using openssl > 3.0
2024-01-22 02:17:27 +00:00
Julian Braha 9018b9277f
Implement Hash, PartialEq, and Eq for CacheNode (#1964) 2024-01-21 01:28:06 +00:00
Julian Braha 04d6b2646a
Add missing zeroize to Identity (#1962)
Add derive(ZeroizeOnDrop) to Identity
2024-01-20 15:15:06 +00:00
Julian Braha 23db27a2ab
Use PathBuf instead of String for paths (#1960)
* Use PathBuf instead of String for paths

* Remove unnecessary .into() for clippy
2024-01-20 15:04:48 +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
Param Birje fc423e61be
Listed build dependencies according to setup scripts in CONTRIBUTING.md (#1947)
* Listed build dependencies according to setup scripts in CONTRIBUTING.md

* Formatting + typos

* Revert to old list format + improve sub-sub items

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-01-17 17:47:26 +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
jake 073b96b29d
[ENG-1546] Delete tag_on_object entries before the tag itself (so tags can be deleted) (#1944)
fix: delete `tag_on_object` entries before the tag itself
2024-01-16 17:58:30 +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
nikec 3eb938a8d8
[ENG-1544] Add spacedrop light icon (#1941)
add Spacedrop_Light.png
2024-01-16 11:29:00 +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 b7872421f4
Use transaction in sync ingest (#1939) 2024-01-16 07:33:13 +00:00
Brendan Allan 249c509d4d
Use offset pagination (#1931)
use offset pagination
2024-01-15 06:09:23 +00:00
Julian Braha e8d92c5534
Remove deprecated is_background from JobReport (#1938) 2024-01-15 06:08:23 +00:00
jake 6f531f8d5e
[ENG-1535] Fix MacOS window title showing (#1936)
set the title bar to the non-fullscreen style on first launch
2024-01-12 23:33:11 +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 9c44dd44e2
Fix QuickPreview video playback (#1932)
* consistent hash for server URL's

* a
2024-01-12 01:48:16 +00:00
ameer2468 7078bc0559
[MOB-50] Locations screen (#1928)
locations screen
2024-01-10 22:28:35 +00:00
ameer2468 09a08a6404
[ENG-1532] Hide window title on macos (#1927)
hide window title on macos
2024-01-10 13:49:22 +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
Oscar Beaumont 49bdbc4b60
SolidJS Build Infrastructure (#1919)
* backport changes from #1913

* Make ESLint play nice

* eslint fix

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-01-08 06:20:20 +00:00
Oscar Beaumont b6ea70b8d0
Hosted Locations - Part 1 (#1861)
* Hosted locations CRD

* Authorise + file upload demo

* Configurable path for testing perms
2024-01-08 06:10:26 +00:00
ameer2468 7dfc6b5216
[MOB-46] New mobile browse screen design (#1918)
* new mobile browse screen design

* ts

* ts + minor dropdown close on click fix

* Nitpick: make sure to use tw defined font sizing

* use Flatlist instead of scrollview

* fix test
2024-01-07 22:15:13 +00:00