Commit graph

815 commits

Author SHA1 Message Date
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
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
Oscar Beaumont f7d135c5be
Improve useZodRouteParams (#1917)
* Better `useZodRouteParams`

* cleanup message
2024-01-05 08:51:08 +00:00
Oscar Beaumont f9853dad85
Remove useExplorerStore (#1916)
* Replace `useExplorerStore` with `useSelector`

* Remove `getExplorerStore()

* Devtools names for all major anonymous components

* referential equality

* Undo mobile changes

* remove debug log

* Properly memoise `RenameTextBox` args

* goodbye log

* Fix a couple of bugs
Thanks @ameer2468 for pointing out!
2024-01-05 08:46:03 +00:00
Oscar Beaumont 949707c7f9
Vite upgrades (#1911)
* Upgrade Vite + use SWC React plugin

* Upgrade to type module

* lazy load Sentry

* Lazy load prism

* fix

* Lazy load some of the icons

* fix types

* Fix eslint config

* run lint --fix

* Upgrade Turbo

* Turborepo not happy

* Upgrade Typescript

* Stop complaining Turborepo
2024-01-02 06:26:28 +00:00
Oscar Beaumont 26f610014a
Improve ephemeral walker (#1877)
* `non_indexed::walk` as `impl Stream`

* wip

* this is gooooood

* savepoint

* remove

* Batched stream

* `unsafe_streamed_query`

* nightmare nightmare nightmare nightmare nightmare nightmare

* JS Mutex

* cleanup

* proper error handling

* myCode satisfies Typescript

* Move to npm fork of rspc

* fixes

* rspc more crashy crashy

* Typescript is very disappointed
2024-01-02 06:09:44 +00:00
Brendan Allan 5371e9f961
[ENG-1512] Replace sync operation types with single type (#1900)
* replace multiple op types with crdt_operation

* cleanup
2023-12-21 05:58:03 +00:00
Ericson "Fogo" Soares 7c90bcb95b
[ENG-1479] AI Prototype (#1845)
* First draft on image labeling

* Fixing execution providers for other OSs

* Better error handling and shutdown

* Working with shallow media processor

* bruh

* Fix warnings

* Now hooked to media processor job

* Link desktop app with libonnxruntime to avoid TLS error during startup

* Be able to change models on runtime
Revert to use labels table instead of tags

* A bug on a model-less inference

* Show AI labels on Inspector
 - Change yolo inference to use half precision
 - Add labels api to core

* Remove LD_PRELOAD

* Fix race condition on model executor shutdown

* Don't load all images in memory moron

* Embeed yolo model in prod build
 - Change yolo model path to new one relative to executable

* Disable volume watcher on linux, it was crashing the app
 - Invalidate labels when they are updated

* Rust fmt

* Minor changes

* Gate onnxruntime linking to the ai-models feature

* Add build script to sd-server to handle onnxruntime linking workaround

* Move AI stuff to its own crate and normalize deps

* Rust fmt

* Don't regenerate labels unless asked to

* Now blazingly fast

* Bad merge

* Fix

* Fix

* Add backend logic to download extra yolo models

* Add models api route
 - Add api call to get available model version
 - Add api call to change the model version

* Improve new model download logic
 - Add frontend to change image labeler model

* Fix new model downloader

* Fix model select width

* invalidate labels count after media_processor generates a new output

* Rename AI crate and first draft on download notifications

* fix types

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-12-19 09:28:57 +00:00
Brendan Allan 7aa0452ba3
[ENG-1503] Close search bar when navigating into folder (#1890)
* track search state differently and key location explorer to path

* Update ViewItem.tsx

* remove useless memoisation
2023-12-14 19:30:42 +00:00
Brendan Allan 3cabc9c3a9
Basic actor manager (#1888)
* basic declared actor manager

* put actors in separate file

* clippy

* hopefully clean up some clippy warnings

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-12-13 17:49:22 +00:00
nikec b5aa4970e5
[ENG-1505] fix windows explorer path (#1891)
fix windows explorer path
2023-12-13 17:48:33 +00:00
nikec caf4fc5cde
[ENG-1353] explorer dnd (#1737)
* locations dnd

* fix icon

* reduce navigate timeout

* fix types

* another

* fix drag overlay count

* Update pnpm-lock.yaml

* merge

* ephemeral support and other improvements

* merge

* Tag dnd

* merge

* type

* merge

* remove offset

* update dnd logic to not depend on drag source

* handle allowed types if parent isn't available

* saved searches dnd navigation

* well

* rendering

* Update pnpm-lock.yaml

* types

* remove width

* Temporary solution

* merge

* @dnd-kit/utilities

* Update pnpm-lock.yaml

* explorer path dnd

* remove unused drag hook

* fix dnd on LayeredFileIcon

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-12-13 11:59:27 +00:00
Brendan Allan 0db883d0ca
Fix image originals in quick preivew (#1889)
* render original images

* separate original component + error boundary

* types
2023-12-13 10:20:02 +00:00
Brendan Allan a9da6a0093
[ENG-1495] Pull new instance data when receiving cloud sync operations (#1882)
* add sd-cloud-api

* consume sd-cloud-api & leave instance writing to receiving

* module-ise api crate

* put back logging

* remove 'join cloud library'
2023-12-12 07:47:21 +00:00
Brendan Allan 89a55f2dd2
Better file thumb handling (#1883)
* handle file thumb error and types better

* Update Thumb.tsx
2023-12-11 12:32:38 +00:00
ameer2468 ec0f925f28
[ENG-1497] Save search enter key support, no duplicate queries (#1884)
prevent duplicate queries, submit pressing enter on save search
2023-12-11 12:29:08 +00:00
Brendan Allan 569a54eab3
Unify sidebar styling (#1874)
* consisten top of sidebar padding

* only show navigation buttons in tauri

* ignore non-idle router events on web
2023-12-07 09:58:25 +00:00
ameer2468 5e99a71129
[ENG-1496] Add location checkbox (#1873)
Update AddLocationDialog.tsx
2023-12-07 09:57:14 +00:00
Brendan Allan 1db2a4eccc
[ENG-1493] Fix navigation buttons with @remix-run/router patch (#1871)
* patch @remix-run/router

* add replace to a bunch of redirects

* updates + lockfile
2023-12-07 08:10:38 +00:00
ameer2468 84d44afcd5
[ENG-1462] Visual improvements for search (#1864)
* light mode correction and visual improvements for search

* Update AppliedFilters.tsx
2023-12-06 19:07:35 +00:00
Brendan Allan 99fc9e0be1
Reorganise file thumb renderer to use more memos (#1865)
* reorganise file thumb renderer to use more memos

* account for original load error

* key grid list items by id
2023-12-06 19:06:54 +00:00
Brendan Allan 4fb9028452
Cloud Sync Basics (#1856)
* cloud operation models

* please clippy

* cloud sync table

* cloud ingest works very simply

* move stuff around + stop invalidation from triggering every 10ms

* cleanup

* fix ts

* remove localhost

* re-enable vendored openssl
2023-12-06 16:47:51 +00:00
ameer2468 88e346fa74
List view effect adjustment (#1863)
Update index.tsx
2023-12-06 09:18:28 +00:00
Brendan Allan 6d89077a29
fix pagination (#1860)
use cache nodes for pagination
2023-12-06 03:10:00 +00:00
ameer2468 c1b14002eb
[ENG-1490] List view: Quick preview image slider performance (#1859)
Remove un-necessary code
2023-12-05 21:58:30 +00:00
Oscar Beaumont 89a7f735e5
[ENG-1400] Normalised caching (#1734)
* prototype

* `.normalise` helper + only `String` keys

* implement it for 'search.paths'

* redux devtools

* fix

* refactor backend

* wip: upgrade to rspc fork

* mega cursed

* Upgrade Specta-related stuff

* Upgrade Typescript

* Cache debug page

* bruh

* Fix optimistic library setting

* Cache clearing

* better timeout

* Fix tags page

* bit of cleanup

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-12-05 13:16:03 +00:00
nikec c320dd2a9d
[ENG-1486] Fix location explorer settings (#1853)
fix update
2023-12-04 16:12:03 +00:00
Brendan Allan f1b61dbc3d
Cloud connection (#1842)
* actual cloud connection wow

* Preliminary cloud library joining

* remove dev overrides

* add back library caching

* re-enable vendored openssl
2023-11-30 07:39:39 +00:00
ameer2468 52fd4364ed
fix quick preview image slider icon size (#1841)
Update index.tsx
2023-11-28 19:15:55 +00:00
ameer2468 b743bb9a9f
[ENG-1469] Show slider button (#1840)
* hide slider button in quick preview

* change to icon
2023-11-28 16:15:00 +00:00
ameer2468 4b7d01c258
[ENG-1470] Search filters masking & fade (#1839)
* Fading out search filters

* remove memo
2023-11-28 16:14:43 +00:00
nikec 0debd91a55
[ENG-1468] Center "delete saved search" button (#1838)
fix position
2023-11-27 09:27:16 +00:00
Brendan Allan 0a14b53e81
move filter options to AddFilterButton (#1837) 2023-11-27 09:11:01 +00:00
ameer2468 a18fdfbcd9
[ENG-1466] dont open quick preview while renaming (#1836)
while renaming a file, don't open quick preview
2023-11-27 08:08:12 +00:00
ameer2468 17696ea8bc
[ENG-1463] Move statistics to a new usage page (#1834)
* Move statistics to a new usage page

* Update usage.tsx

* remove free pill
2023-11-26 17:28:38 +00:00
ameer2468 0ddea92f13
[ENG-1430] Improve keymatcher hook (#1835)
* improve keymatcher hook

* fix delete context menu icon
2023-11-26 08:51:43 +00:00
Utku c54a0b3805
remove fda setting (#1833)
remove setting
2023-11-25 22:47:22 +00:00
ameer2468 4cff4763ed
[ENG-1461] Fda layout update (#1832)
fda layout update
2023-11-25 22:38:09 +00:00
ameer2468 1e94dc5e26
[ENG-1464] Fix changelog color for light mode and icon in about (#1831)
fix changelog color for light mode and icon in about
2023-11-25 22:08:03 +00:00
ameer2468 2a41a52b2c
[ENG-1465] Search filters: padding fix and submit (#1830)
Update Filters.tsx
2023-11-25 22:02:28 +00:00
Utku d0f318bf2b
0.1.4 (#1825)
prettier and tag
2023-11-25 01:49:52 +00:00
Brendan Allan 908a13130c
[ENG-1435] Saved Searches (#1810)
* saved search CRUD (not perfect)

* saved search settings page

* minor improvements

* fix search filter text apply

* serach in setting

* reduce new tab flicker

* fix tab delete index

* temporarily remove hover effect from applied filters

* fix types

* fix progress

* fix double-add for inOrNotIn

* no more saved searches settings page

* redirect on saved search delete

* cleaner

* fix filter checkbox double fire

* types

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-11-25 00:16:26 +00:00
ameer2468 f0d37c46d7
[ENG-1456] General UI Tweaks (#1819)
* General UI Tweaks

* Update general.tsx

* Update general.tsx
2023-11-24 14:46:57 +00:00
ameer2468 ff209a4b10
[ENG-1459] Tabs visual tweak (#1818)
Update index.tsx
2023-11-24 10:57:28 +00:00
jake 98c0004c10
fix: app going blank when the last library is deleted (#1814)
fix app going blank when the last library is deleted
2023-11-24 04:30:48 +00:00
ameer2468 a7fed83556
[ENG-1413] Full disk access perms (#1791)
* fda wip

* clippy

* add tauri invoke fns for FDA

* fda wip

* clippy

* add tauri invoke fns for FDA

* wip

* fda wip

* clippy

* add tauri invoke fns for FDA

* wip

* wip

* wip fda

* remove imports

* hopefully improve FDA

* execute only on macos

* ts

* ts

* Update Platform.tsx

* Update AddLocationButton.tsx

* remove console log

* fix: fda and add unit tests

* temp commit for Jake

* add fda state and keybind handling (so the frontend is kept up to date)

* update FDA

* update imports

* testing purposes

* Jakes work

* fix fda checks

* work in progress (but not working)

* remove dead files

* attempt #2

* !!!temporarily enable devtools in prod

* remove alert

* show FDA screen but don't require it

* add an FDA button to general client settings

* Update AddLocationButton.tsx

* remove dead code

* unused dep

* old errors

* remove import

* dead code

* dead code + typesafety

* eslint

* remove fda dialog references

* remove mp4 vid

* hopefully fix onboarding for non-macos OSes

* shorter nav

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-11-23 20:54:45 +00:00
ameer2468 43b4865914
[ENG-1395] Use data from shortcuts hook (#1805)
use data from shortcuts hook
2023-11-23 11:39:36 +00:00
Ericson "Fogo" Soares f662bf7594
[ENG-1398] Make thumbnailer parallelism configurable (#1780)
* Removing migrator

* Adding serde_repr dep

* Generalizing version manager

* Updating library config to use version manager

* Updating node config to use version manager

* Updating stuff to use new configs

* More async

* Library manager errors

* Node and thumbnailer preferences

* Small warning on prep

* Upgrading batch construction for thumbnailer

* Updating thumb version file to new version manager

* Configurable parallelism for thumbnailer

* Integration with frontend and refresh batch

Co-authored-by: Vítor Vasconcellos <HeavenVolkoff@users.noreply.github.com>

---------

Co-authored-by: Vítor Vasconcellos <HeavenVolkoff@users.noreply.github.com>
2023-11-23 11:23:32 +00:00
Brendan Allan 5e3802a424
[ENG-433] removeTab on middle click (#1802)
removeTab on middle click
2023-11-21 05:31:47 +00:00
Brendan Allan a827fa382d
[ENG-1452] Default to Home (#1801)
* use React.children for SeeMore

* use Home dir as default route when available
2023-11-21 05:22:52 +00:00
Brendan Allan 18c3063283
Use raw search params for search data in url (#1797)
use raw search params
2023-11-18 11:53:24 +00:00
Brendan Allan ae31e10e0b
[ENG-1436] Store search state in search params (#1795)
* source search query from search params

* store filters in search params with round trip

* the rest bc apparently i forgot some?

* remove all references to overview

* add /:libraryId redirect
2023-11-17 21:07:33 +00:00
Brendan Allan f69959a580
[ENG-1443] Reset search store on search bar unmount (#1794)
reset search store on search bar unmount
2023-11-17 20:08:34 +00:00
nikec 0457643179
[ENG-1444] Fix list view observer (#1793)
Fix observer
2023-11-17 18:17:18 +00:00
nikec 7a701ea8c5
[ENG-1441] Fix search filters overflow (#1792)
* Fix search filters overflow

* comment out save search
2023-11-17 18:07:04 +00:00
Brendan Allan b6e7bd58e8
[ENG-1440] Move tab bar to below main top bar content (#1790)
* move tab bar below top bar

* center text inside tabs
2023-11-17 16:32:57 +00:00
Brendan Allan 5578ff9cd5
[ENG-1437] don't render tab bar if <2 tabs (#1789)
don't render tab bar if <2 tabs
2023-11-17 16:32:40 +00:00
nikec 1e512572be
[ENG-1439] Align search option internals (#1788)
align internals
2023-11-17 15:52:20 +00:00
Brendan Allan 15b68477e1
Move search to top bar (#1787)
* move search to top bar

* maybe eslint isn't so bad
2023-11-17 11:59:04 +00:00
Brendan Allan 3c6b2183a8
fix dialogs (#1786) 2023-11-17 10:26:44 +00:00
Jamie Pine 27f077ea0b
[ENG-1269] Search options (#1561)
* search options start

* small progress

* more

* bunch of stuff

* semi functioning filters

* cleanup setup api

* progress

* remove filters

* hooked up to query epic moment

* fix

* move db stuff to specific modules

* in/notIn for some fields

* generate ts

* big gains

* working filter options for locations, tags and kind

* working search query

* perfect fixed filters

* saved searches lol

* merge error

* saved searches via api

* better routing

* [ENG-1338] Fix fresh Spacedrive install failing to start due to attempting to query a nonexistent Library (#1649)

Fix Spacedrive failing to start due to attempting to query a nonexistent Library
 - Rename useShoudRedirect to useRedirectToNewLocations
 - Improve behaviour for the immedite redirection after adding a new location

* Show hidden files false by default (#1652)

bool

* fix remove filter in list

* tweaks

* fix nav buttons

* unify MediaData search handling

* cleanup saved search writing

* Add left top bar portals for tags and search + fixed media view on tags

* added search to filter dropdown

* render cycle improvements

* hotfix

* wip

* Refactor with Brendan, but this is a WIP and the search query no longer works

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

* progress

* fix location/$id page

* fix tags too

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

* 3rd refactor lol

epic style

* half-done with enum-ification of SearchFilterArgs

* broken fixed filters but working inNotIn filters

* search name + extension kinda working

* hidden filter

* fixed filters working??

* deferred search value

* extensions works

* filtered search items mostly working

* tweaks

* stacked approach working for non-search filters

* move to Explorer/Search

* actually use filterArgs in queries

things actually work properly now

* added new icons from Mint

* goof

* cleanup types, filters and mutation logic

* actually use search value

* remove overview from sidebar

* don't shrink LibrariesDropdown ga

* remove overview from sidebar and default to /network

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Brendan Allan <Brendonovich@users.noreply.github.com>
2023-11-17 06:58:44 +00:00
Brendan Allan 0ef65fce2d
[ENG-1423] Multiple tabs (#1777)
* tabs w/ multiple router instances

* fix router switching

* keybinds

* manual history tracking

* eslint

* remove scroll restoration

* fix tab removal

* route title + tab create delay

* typescript

* put tab list up top

* Remove import + show close button only if tabs length more than 1

* lint

* unify blur across whole top bar

* add to keybindings page, tauri drag region, and tooltip

* fix blur

* more drag regions

* merge moment

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-11-16 15:14:47 +00:00
ameer2468 9cf71c1511
[ENG-1397] Quickpreview images slider (#1773)
* wip

* wip

* wip

* Update ImageSlider.tsx

* wip

* wip

* wip

* Update ImageSlider.tsx

* bump virtual-grid version for horizontal support

* quickpreview image slider almost

* cleanup

* add mouse wheel support

* Update ImageSlider.tsx

* Update ImageSlider.tsx

* feedback

* block down and up if quickview is open

* Update GridList.tsx

* spacing

* Update GridList.tsx

* Update GridList.tsx

* feedback and fixes

* refactor

* Update GridList.tsx

* Update ImageSlider.tsx

* Update ImageSlider.tsx

* remove unnecessary checks & update scroll behavior

* add shortcut to trigger image slider, full width aswell.

* persist value

* Fix Esc explorer shortcut, fix quick preview move between items shortcut & support multiple selected items on image slider

* fix list view key selection

* don't exit selection if slider is toggled off

---------

Co-authored-by: nikec <nikec.job@gmail.com>
2023-11-16 13:16:29 +00:00
nikec 06246198c0
[ENG-1429] Disable show inspector shortcut if quick preview is open (#1783)
disable show inspector shortcut if quick preview is open
2023-11-16 12:40:33 +00:00
Utku 142975b114
Fix closing tag window (#1771)
* fix closing tag window

* remove onsubmit
2023-11-14 17:15:14 +00:00
Brendan Allan 031ac7b670
[ENG-1276] move assigned tags to top of tag assign list (#1768)
* move assigned tags to top of tag assign list

* sort tags by most recently assigned

* console.log

* error boundary
2023-11-14 09:35:50 +00:00
Oscar Beaumont 5705f40aae
[ENG-1333] Display active P2P listeners (#1644)
* wip

* share the actual port

* fixes

* wip: remove it

* cargo fmt

* thanks @niikeec
2023-11-13 07:02:03 +00:00
ameer2468 236ef1c106
[ENG-1422] Explorer pathbar nested locations bug (#1767)
* Update ExplorerPath.tsx

* Update ExplorerPath.tsx

* Update ExplorerPath.tsx
2023-11-12 12:37:30 +00:00
nikec 0dafd89741
[ENG-1419] Table sorting (#1765)
table sorting
2023-11-10 22:14:20 +00:00
nikec b8d13a8cfc
[ENG-1418] Explorer settings (#1764)
* preferences

* useShortcut and move location id to function

* void

* rescan
2023-11-10 10:23:51 +00:00
ameer2468 826401efae
[ENG-1417] Explorer path nav fix from tag routes (#1763)
* initial navigation fix for explorer path from tag routes

* fix hover effect
2023-11-10 09:06:59 +00:00
Utku ac0078cd59
[ENG-1416] Add black bars back to grid and list view (#1760)
Add black bars back to grid and list view
2023-11-09 18:25:29 +00:00
ameer2468 efbb4ef689
[ENG-1167] Explorer path tags route (#1757)
* Tags explorer path

* Update ExplorerPath.tsx
2023-11-08 19:21:00 +00:00
nikec ae89ee71a0
[ENG-1386] Fix explorer view scrollBy (#1755)
remove scroll behavior
2023-11-07 19:58:50 +00:00
nikec 3739ba859c
[ENG-1409] Add frame to list view thumbs (#1754)
Add frame to list view thumbs
2023-11-07 08:54:28 +00:00
nikec 97b39f2667
[ENG-1408] Remove frame from video thumbs (#1753)
remove frame from video
2023-11-07 08:54:13 +00:00
nikec c79bf3d191
[ENG-1407] Inspector load original only when one item is selected (#1752)
load original
2023-11-07 08:53:40 +00:00
nikec 1acfbafbfb
[ENG-1405] Remove black bars around thumbs (#1748)
remove black bars
2023-11-06 15:50:33 +00:00
ameer2468 308803e769
fix quickpreview shortcut (#1747) 2023-11-06 12:11:00 +00:00
jake 52d5064701
[ENG-1355] Telemetry docs (#1746)
* add privacy info to docs

* add "More info" button to onboarding privacy page

* add `infoUrl` option to `Setting` component to add relevant info

* Update privacy.tsx

* Update privacy.tsx

* urls

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-11-06 11:00:07 +00:00
ameer2468 f4e89da4d7
[ENG-1190] New shortcuts system (#1718)
* wip new shortcuts system

* Shortcuts system and cleanup

add duplicate short, fix delete object windows context menu symbol, shortcuts system

Add cut to Edit menu

if quickPreview is open do not open the folder/doubleClick()

Update index.tsx

Update RenameTextBox.tsx

* add listObjectsNav for list view

* refactored

* Update useShortcut.ts

* Update useShortcut.ts

* remove imports

* fix copy pasting and conflicts
2023-11-06 10:37:24 +00:00
Utku a3f2ca10b6
Fix changelog size (#1745)
* fix size

* maybe works?

* already good
2023-11-06 04:23:00 +00:00
Utku 02545589ae
No placeholder buttons (#1744)
Add Android permission, organize imports, add toast for tag assign button
2023-11-05 21:59:52 +00:00
Utku b9707db139
[ENG-303] Search on Docs (#1735)
* implement search

* fix pnpm lock

* indexer action and added some alerts

* test action

* oops

* styles pls

* disable input ring
2023-11-05 20:15:24 +00:00
ameer2468 e4cfc30915
[ENG-1240] New folder context menu (#1741)
* New folder in context menu

* Update TopBarOptions.tsx
2023-11-05 20:11:13 +00:00
Oscar Beaumont 395e0ee3da
[ENG-1344] Limit node name length (#1730)
limit length
2023-11-04 09:16:15 +00:00
Ericson "Fogo" Soares 614ca0d811
Remove < 21 node restriction (#1728) 2023-11-04 03:44:07 +00:00
Ericson "Fogo" Soares f23e0b13c6
[ENG-1181] File System actions for Ephemeral Files (#1677)
* Backend side

* Rust fmt

* Removing uneeded duplicate files rspc route

* Create folder for ephemeral files

* Ephemeral delete files

* First draft on copy, cut and delete, still buggy

* Fixing copy function and updating async-channel dep

* Rename and some fixes
2023-11-03 17:06:34 +00:00
jake 23e9cf0553
fix: traffic light placement when non-fullscreen (#1680)
* fix macos traffic lights (round 2)

* fix typo
2023-11-03 08:43:38 +00:00
Utku 7dd164f68d
cleanup (#1723) 2023-11-03 02:08:11 +00:00
nikec 809cf636d4
[ENG-1246] Fix icons on light theme (#1502)
* Fix icons on light theme

* more icons

* more icons

* update icons

* assets gen
2023-11-01 15:24:09 +00:00
Brendan Allan c91ccff37d
[ENG-443] Allow folders to be tagged (#1712)
* allow folders to be tagged

* remove bruh

* custom useAssignItems hook

* fix types
2023-11-01 05:23:56 +00:00
nikec 282e35c294
[ENG-1391] Fix app frame (#1715)
fix app frame
2023-10-31 17:47:11 +00:00
ameer2468 8479b6447e
quick keybinding page fix (#1714)
Update keybindings.tsx
2023-10-31 13:54:40 +00:00
Oscar Beaumont c7b74ccffa
[ENG-1380] Stabilise p2p settings (#1703)
* let me create pr

* a whole lotta changes

* split `p2p_manager.rs` into smaller files

* the arcpocalypse is over

* minor generic cleanup

* wip removing 'MetadataManager'

* more wip

* wip: i am changing branch

* discovery2 -> discovery

* make it somewhat compile

* more wip

* wip: reassembling manager stream

* state more goodly

* wip

* more wip

* removing generic from sd_p2p::Manager

* reassemble networked libraries

* wip: hooking back up mDNS

* multi-flume wip

* contain bad code to a single file

* p2p_manager_actor + split handlers into file per operation

* cleanup after restructure

* cleaning up more

* wip: reenable resync

* wip: remote identity in connection payload

* track connected clients (required for `service.rs`)

* a big ass iterator

* working towards finishing `service.rs`

* service shutdown

* hook up listen channel in service

* fix address resolution

* merge nlm stuff into LibrariesService

* finish library to service mapping

* less footguns in p2p - seal `PeerId`

* fix previous pr

* p2p state rspc query

* send node events to the frontend

* minor

* wip

* more worky, less crashy

* make spacedrop work + debug state

* fix mdns expiry

* clippy

* other clippy

* remove feature flag
2023-10-31 04:29:25 +00:00
ameer2468 2b52555c2b
[ENG-1193] Added icons to dialogs (#1708)
* Added icons to dialogs

* update file/folder icon when deleting

* tweaks

* ts

* ts
2023-10-30 16:46:12 +00:00
nikec 4e75ed9718
[ENG-1387] Only dismiss ephemeral notice with notice interaction (#1709)
only dismiss with click
2023-10-30 16:37:34 +00:00
nikec 12bf411a50
[ENG-1384] Replace GridList with @virtual-grid/react (#1707)
replace GridList with @virtual-grid/react
2023-10-30 15:56:03 +00:00
ameer2468 712baf3b8a
[ENG-1383] Account page - more stats + coming soon services (#1706)
* Added coming soon services + more stats

* update with new icons

* cleanup

* Update account.tsx

* import

* Update settings.json

* Update settings.json
2023-10-30 11:44:23 +00:00
Oscar Beaumont 02775921ef
[ENG-1318, ENG-1199, ENG-931, ENG-1046] Ability to disable mDNS discovery (#1620)
* let me create pr

* a whole lotta changes

* split `p2p_manager.rs` into smaller files

* the arcpocalypse is over

* minor generic cleanup

* wip removing 'MetadataManager'

* more wip

* wip: i am changing branch

* discovery2 -> discovery

* make it somewhat compile

* more wip

* wip: reassembling manager stream

* state more goodly

* wip

* more wip

* removing generic from sd_p2p::Manager

* reassemble networked libraries

* wip: hooking back up mDNS

* multi-flume wip

* contain bad code to a single file

* p2p_manager_actor + split handlers into file per operation

* cleanup after restructure

* cleaning up more

* wip: reenable resync

* wip: remote identity in connection payload

* track connected clients (required for `service.rs`)

* a big ass iterator

* working towards finishing `service.rs`

* service shutdown

* hook up listen channel in service

* fix address resolution

* merge nlm stuff into LibrariesService

* finish library to service mapping

* less footguns in p2p - seal `PeerId`

* fix previous pr

* p2p state rspc query

* send node events to the frontend

* minor

* wip

* more worky, less crashy

* make spacedrop work + debug state

* fix mdns expiry

* clippy

* other clippy

* remove old tests

* add tests back

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-30 08:24:04 +00:00
Oscar Beaumont 8e7e8cd0e9
[ENG-1366] Improve ErrorBoundary so user can't get stuck on it (#1701)
improve error boundary
2023-10-30 00:44:33 +00:00
Oscar Beaumont 95f48ea575
[ENG-1367] TypeError: null is not an object (#1698)
strickter types pog
2023-10-30 00:43:18 +00:00
Oscar Beaumont ff23eb369c
[ENG-1379] Library showing up twice in switcher after onboarding (#1700)
optimistic UI bug
2023-10-30 00:42:21 +00:00
Oscar Beaumont 295fc4ffc8
[ENG-1368] - Web shouldn't have rounded corners (#1697)
fix it
2023-10-29 15:07:28 +00:00
nikec fe5df79175
[ENG-1378] Add gridGap to preferences (#1696)
Add gridGap to preferences
2023-10-29 14:19:15 +00:00
ameer2468 cc18413e08
[ENG-1362] Logging in loading state improvement (#1686)
Update AuthRequiredOverlay.tsx
2023-10-27 16:08:26 +00:00
ameer2468 a75093405c
[ENG-1361] MacOS fix copy, paste, undo, redo, select all functionality (#1684)
* Update menu.rs

* ts gaurd and correct plural for Locations title
2023-10-27 15:22:26 +00:00
Utku bf93d97874
Fix mobile onboarding (#1670)
* attempts

* expo stop using spaces pls

* attempt

* you used to work without this sir

* fixed

* use serde instead of specta

* remove `serde(default`) and update bindings

* fix mobile

* fix types

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-10-26 17:38:15 +00:00
ameer2468 968bf8985a
Quick fix for isLocationIndexing (#1679)
Update useIsLocationIndexing.ts
2023-10-26 11:22:03 +00:00
ameer2468 75ae798644
Missed edge case (#1674)
Update account.tsx
2023-10-25 19:00:28 +00:00
ameer2468 78eabdd3cb
[ENG-1206] Account page (#1673)
* account page

* Remove spacedrive account from general
2023-10-25 18:29:21 +00:00
Vítor Vasconcellos f7277d602f
Frontend misc fixes and deps update (#1650)
Dependencies overhaul
 - Update dependencies for all projects (except Mobile-only deps)
 - Remove unused dependencies from all projects (except Mobile-only deps)
 - Fix Storybook failing to import sd/ui style
 - Add Node 21 as not supported due to sass-loader not working on it yet
 - Add work-around for new rook version requiring webpack specific global property
 - Fix landing dev not working due to missing default env value on dev
 - Fix some incorrect uses of phosphor-icons non server side icons on server components on landing
 - Fix some incorrect uses of phosphor-icons server side icon on client components on landing
 - Fix landing fail to build on dev due to always required a Github Token to get the latest release
 - Fix new Next.js version not suporting Response.redirect due to immutable Headers
 - Add Gitlab as social link for teams page
 - Update Vítor's team photo
 - Add Vítor's twitter link
 - Fix some warning due to missing useEffect dependencies
 - Remove test-files dir
 - Fix QuickPreview unblurred buttons in Linux
 - Formatting
2023-10-24 07:51:58 +00:00
ameer2468 4f6b37ee0f
remove import (#1667) 2023-10-23 16:28:08 +00:00
Tilo 80f358b7ec
[ENG-870] Fix wording for delete dialog (#1516)
* The Delete-Dialog now accepts two props, which specify the type of files to be deleted.
Based on this information the wording is adjusted.

* Added variant with item count

* [ENG-860] Added default props

* [ENG-860] implemented suggested method

* [ENG-860] Added file counts to deletemenu via shortcut
2023-10-23 16:07:05 +00:00
ameer2468 3d0991a76e
[ENG-1354] Shortcut to reveal in finder/explorer (#1665)
* Shortcut to reveal in finder/explorer

* Update useKeyRevealFinder.ts

* update keybinds page

* move hook

* fix import paths
2023-10-23 14:48:49 +00:00
ameer2468 f1bb69324f
[ENG-1327] Loading indicator if a location is indexing (#1663)
* Loading indicator if a location is indexing

* Change check to completed_task_count rather than complete
2023-10-23 12:22:07 +00:00
jake 76e6dfa2fc
major fix: hide frame and border if macos is fullscreen (#1655)
hide frame and border if macos is fullscreen
2023-10-21 23:01:32 +00:00
ameer2468 b39a108886
check correction for mouse navigation (#1653)
Update useMouseNavigate.ts
2023-10-21 18:36:56 +00:00
Brendan Allan c64eabfac8
Fix account card shrink + overview scrollbar (#1643)
* don't shrink account card

* fix perma-scroll on overview

* Update SpacedriveAccount.tsx
2023-10-21 17:26:24 +00:00
Jamie Pine a0629d92e9
Show hidden files false by default (#1652)
bool
2023-10-21 15:14:58 +00:00
Vítor Vasconcellos ce568981c1
[ENG-1338] Fix fresh Spacedrive install failing to start due to attempting to query a nonexistent Library (#1649)
Fix Spacedrive failing to start due to attempting to query a nonexistent Library
 - Rename useShoudRedirect to useRedirectToNewLocations
 - Improve behaviour for the immedite redirection after adding a new location
2023-10-21 15:02:54 +00:00
jake e51a58fe28
[ENG-1283, ENG-1284, partially ENG-1303] Fix MacOS window bar showing when full-screen (#1582)
* fix(UI): remove the swift code that was causing the top bar to show when the window is maximized

* fix(UI): limit the keybind handler to the `$libraryId` layout

The keybind handler is how we get MacOS menu bar events to the front-end, and to navigate to the settings page correctly we need the current library UUID. We should hide/disable the settings button (and any future buttons that require a library/certain state - e.g. during onboarding) from the menu bar.

* chore(swift): remove unused function

* fix(UI): git didn't detect hook rename

* fix(deps): revert tauri version downgrade

Was probably caused by a bad merge

* fix(UI): remove rounding of window borders on macos

This was allowing the borders to still show on MacOS, despite the app being fully maximized. This doesn't impact non-maximized styling of the app, as we have native window decorations enabled within the Tauri config (well, that's my best guess as to why this fixes the issue).

* fix(UI): conditionally enable/disable menu items on macos

This is dependent on whether a library is present or not. If there's no library, we disable things such as copy/paste/select all.

* fix(UI): try and conditionally show the border radius

I think some cached files aren't being rebuilt correctly as this *should* work fine, it uses the same conditions as the traffic lights do to determine if we're fullscreen or not.

* remove copy/select all/paste as they have uses outside of the explorer

* feat(UI): overhaul native macos menu

* fix: add toast for quick rescan and free up the ctrl+r keybind

* more menu rearrangements

* update menu further

* add comment about rounded edges

* some polish

* add working overview redirect

* fix(UI): correct border edges when non-maximized, and full corners when maximized

* cleanup event handling

* add media view and disable non-working buttons

* fix(UI): raise sidebar on fullscreen to prevent empty corner

* adjust settings padding when maximized on macos

* failed sidebar animation

* rm old stuff

* fix(UI): better transitions (i'm learning!)

* add comment about why new library is disabled during onboarding

* make the settings page static and `pt-6`

* add mock-up library selector in menu

* `maximized` -> `fullScreen`

* fix animation when fullscreening

* clippy

* change animation to 300ms

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-10-21 11:57:04 +00:00
jake cc72f54c3d
[ENG-1210] Navigate to location after adding it (#1454)
* remove annoying log

* return location id on creation

* add checkbox to open new location once it's been added

* redirect if checkbox was true and a location id was provided, and update bindings

* add `new()` for `MissingFieldError`

* return location id on location relink

* working, clean redirecting

* accordion closing tag

* navigate to location after adding

* chore: remove erroneous `{' '}`

* multiple location redirect support

* oops missed check

* cleanup

* fix bad merge

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-10-20 21:01:13 +00:00
pr 5f417e7c1b
Job text tabular-nums to reduce jumpiness (#1647)
job text tabular-nums to reduce jumpiness
& swap Scanning: and Found: text to also reduce jumpiness
2023-10-20 16:56:34 +00:00
ameer2468 092d0901bd
[ENG-1315] Port buttons (#1639)
* port ui

* Update general.tsx
2023-10-20 08:27:36 +00:00
nikec a709f2b642
[ENG-1324] Fix show object size on ephemeral locations (#1629)
Fix show object size on ephemeral locations
2023-10-20 04:30:15 +00:00
nikec d8ac61eeba
[ENG-1317] Ephemeral location notice (#1628)
* wip

* ephemeral notice
2023-10-20 04:11:54 +00:00
nikec 0f3d7a2a64
[ENG-955] Hide media view on network, ephemeral, and nodes explorer (#1630)
layouts option
2023-10-19 23:43:53 +00:00
Vítor Vasconcellos 34fe26e442
[ENG-1229] Show hidden files not working correctly (#1583)
* Ensure hidden prop is updated when file is modified

* Fix show hidden files in ephemeral locations

* Restore hidden prop for NonIndexedPathItem
2023-10-19 05:14:42 +00:00
pr 427d8845aa
job manager: utils/formatNumber all numbers (#1511) 2023-10-19 03:23:27 +00:00
nikec ace3527bfc
[ENG-1305] "Add Locations" onboarding flow (#1611)
* locations onboarding flow

* optional

* Backend for default location on library creation

* Rust fmt

* Enhancing error handling and introducing more resilience

* Removing .spacedrive metadata on library deletion

* Rust fmt again

* default to videos

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-10-19 03:18:36 +00:00
ameer2468 1fe61700e0
OS check for mouse navigate (#1621)
Update useMouseNavigate.ts
2023-10-18 08:32:25 +00:00
Julian Braha 1b2d89f3db
Fix casing switch in "Log in" button (#1619)
Fix casing inconsistency
2023-10-18 04:26:39 +00:00
Brendan Allan f05f6563b6
[ENG-1290] In-app changelog + GitHub releases as CMS (#1602)
* improve docs

* in-app changelog

* derive site changelogs from github releases

* cleanup + static changelog generation

* metadata

* fix metadata fns

* update tauri handler
2023-10-18 04:26:20 +00:00
Oscar Beaumont f67b7e807a
[ENG-1291] enable/disable P2P & configurable port (#1609)
* it works pog

* UI for when networking is disabled

* Fix Clippy issues

* clippy tings
2023-10-18 03:52:54 +00:00
ameer2468 563531c8c4
[ENG-1226] Link locations button in inspector (#1612)
Link locations button in inspector
2023-10-17 15:30:28 +00:00
nikec 557bb36e8f
[ENG-1316] Better explorer count handling (#1610)
count
2023-10-17 10:34:02 +00:00
jake a32ba7470b
[ENG-1289] Reload webview support for Windows and Linux (#1590)
* full webview reload for linux/windows

* cleanup platform-specific code

* code cleanup & bindings

* add reload to the debug popover

* try to fix windows builds

* even better fix
2023-10-17 07:17:56 +00:00
Oscar Beaumont a7ad24c641
[ENG-625] Spacedrop improvements (#1447)
* Fist fight with the abstraction

* Prevent opening multiple Spacedrop dialogues

* Infinite renders = infinite power

* Comment be gone

* Spacedrop multiple files

* correlate connection id's

* fixes

* thanks Typescript

* Clippy errors + fix cfg's from main
2023-10-17 04:31:42 +00:00
ameer2468 97ee8a21c6
[ENG-1304] hidden files shortcut (#1603)
hidden files shortcut
2023-10-16 21:03:35 +00:00
ameer2468 fe345d2375
[ENG-1301] mouse4 mouse5 dont work when hovering (#1601)
* Fix mouse navigation bug when file/folder is hovered

* remove imports
2023-10-16 15:29:18 +00:00
ameer2468 5c439c9add
[ENG-1294] Mac - Delete shortcut (#1597)
* Delete shortcut fixed for Mac

improve types and fix incorrect icon

Update Contents.tsx

formatting

* shouldn't toggle if no items are selected
2023-10-16 12:24:18 +00:00
Tilo d1e6f08c5e
[ENG-1252] Hidden files will now be 50% opacity. (#1548)
* [ENG-1252] Hidden files will now be grayscale and at 50% opacity.

* [ENG-1252] Removed grayscale

* [ENG-1252] Make enverything opacity 50
2023-10-16 10:44:01 +00:00
Brendan Allan d4ad5c97f3
Migrate landing page to app dir (#1587)
* app dir yay

* better docs route

* fix icon sizing

* mobile sidebars

* detect webgl in useEffect

* separate zxcvbn
2023-10-16 04:28:16 +00:00
ameer2468 2dd28540f1
[ENG-1288] Copy, cut, and paste shortcuts (#1591)
* copy paste shortcut

* add cut shortcut
2023-10-15 10:47:03 +00:00
pr 3d844aeee7
some light mode fixes (#1581) 2023-10-14 07:42:31 +00:00
Vítor Vasconcellos 3b686946e6
Tauri 1.5.2 + normalize and update frontend dev deps (#1579)
* Normalize & update front-end dev-deps + Tauri 1.5.2

* format code
2023-10-14 04:27:09 +00:00
ameer2468 b21d928479
[ENG-1277] Windows open context menu key correction (#1576)
Update SharedItems.tsx
2023-10-13 17:01:30 +00:00
nikec 8f944ddf98
[ENG-1248] Add additional size options to media view (#1575)
Add addition size options to media view
2023-10-13 16:14:45 +00:00
ameer2468 e3549372e1
[ENG-1273] Update explorer views shortcut (#1566)
* update views shortcut

* type and remove un-used imports

* Update ExplorerPath.tsx
2023-10-13 14:41:28 +00:00
ameer2468 e8306e6a50
[ENG-1274] Update explorer path bar shortcut + keybindings (#1574)
Update explorer path bar shortcut + keybindings
2023-10-13 14:41:18 +00:00
ameer2468 4d99f16bae
[ENG-1272] Tag color picker switches back to first tag when releasing the mouse (#1567)
Update index.tsx
2023-10-13 14:40:53 +00:00
Oscar Beaumont 39744b5c55
Reduce production logs + button on error page for logs (#1565)
* reduce prod logs

* Open logs dir button on error page
2023-10-13 08:50:01 +00:00
Brendan Allan 25fa1f0974
[ENG-1255] Feedback popover with new API (#1532)
* feedback popover with new api

* allow unauthed feedback

* add login information

* allow no auth

* fix hooks

* remove emoji on reset

* show cancel on left of login button
2023-10-13 08:08:07 +00:00
Oscar Beaumont c5679d127f
Cancel login (#1562)
* Cancel login

* Fix light mode styling

* use `text-ink` + `button`

* better
2023-10-13 07:39:26 +00:00
nikec 9b5ae960b5
[ENG-1264] Improve file name truncating (#1557)
truncate
2023-10-13 05:02:40 +00:00
nikec 519a64f0e4
[ENG-1266] Fix rename keybind (#1553)
Fix rename keybind
2023-10-13 02:10:06 +00:00
nikec 3a33d469b9
[ENG-1265, ENG-1263] Fix show object size (#1552)
* Fix show size

* Hide toggle & fix height
2023-10-13 00:34:07 +00:00
nikec 60e1c04170
[ENG-1262] Icon component for sd icons (#1550)
icon component for sd icons
2023-10-12 23:05:43 +00:00
nikec d3b832636d
[ENG-1261] Fix AddLocationButton on ephemeral locations (#1549)
fix AddLocationButton cut
2023-10-12 19:05:42 +00:00
ameer2468 84ebda23b9
[ENG-1259] windows ephemeral locations keyboard nav fix (#1545)
* Update GridList.tsx

* Update GridList.tsx

* Update GridList.tsx
2023-10-12 16:59:16 +00:00
ameer2468 1c2b04c10f
[ENG-1260] When renaming on windows - we don't want enter to open folder (#1546)
Update index.tsx
2023-10-12 16:58:29 +00:00
ameer2468 de341d0f2a
[ENG-1250] Fix windows mouse navigation (#1538)
Fix windows mouse navigation
2023-10-12 16:29:18 +00:00
ameer2468 5a30aa7f2f
[ENG-1257] Replace S with T for settings page shortcut (#1543)
Replace S with T for setting
2023-10-12 16:28:32 +00:00
pr a921ce3fa4
fix text viewer duplicate content on rerender & shrink font (#1541)
fix text viewer duplicate content & size tweak
2023-10-12 15:50:32 +00:00
ameer2468 36c6b6dd2a
[ENG-1254] Fix explorer path bar for windows (#1537)
* Update ExplorerPath.tsx

* fix support for windows and mac
2023-10-12 12:10:45 +00:00
Jamie Pine e12ef1a917
Remove login from onboarding (#1524)
remove login from onboarding
2023-10-12 04:25:50 +00:00
ameer2468 3c55bfdd80
[ENG-1249] Library description update fix (#1508)
Update general.tsx
2023-10-11 16:19:47 +00:00
nikec abbbd36ae7
[ENG-1247] Fix overview categories (#1505)
fix categories
2023-10-11 15:57:06 +00:00
nikec edda9566b1
[ENG-1236] fix mac tooltips on truncated folder names is inconsistent (#1497)
* fix tooltip

* fix isTruncated
2023-10-11 14:29:26 +00:00
nikec d9c8af0551
[ENG-1244] Fix highlighted RenameTextBox text colour on light theme (#1499)
fix text color
2023-10-11 14:29:07 +00:00
ameer2468 be63385dd1
[ENG-1245] Fix stats tooltip color (#1501)
Update Statistics.tsx
2023-10-11 14:28:56 +00:00
nikec 6bdf0e0158
[ENG-1237] Fix "Add device" tooltip (#1494)
fix tooltip
2023-10-11 10:10:41 +00:00
Percy Ma babb895ac6
fix: setting item in menu bar (#1485) 2023-10-11 08:32:23 +00:00
Oscar Beaumont 69ade6b3f5
Fix copyright text (#1476)
i'm a commit monkey
2023-10-11 05:57:13 +00:00
Jamie Pine 77a6ab1d73
Release landing page (#1464)
* start

* not for this branch lol

* fix dates

* fix spacing

* revert mistake

* progress

* blog

* improve wording

* more blog

* more blog moment

* moreee blog

* cant spell can i

* bloggggg

* change name

* some rambling

* sentence meowment

* merge

* prep

* perfect app ui template for landing

* updated landing image

* fix border

* section

* fix query param handling

* remove apps/snapshot

* remove `WindowControls`

* Playwright in setup script

* `showControls` in a store

* better screenshot + fixed stars with fadeout

* fix show controls store mistake

* begin bento boxes

* bento box stuff

* taggrid

* release blog post: clarifying punctuation & rearrange some sentences (#1097)

* landing page wip

* Update index.tsx

* tweak

* Update pnpm-lock.yaml

* Update app.webp

* better app image + line animation wip

* wip

* tweak + image

* tweaks + 60 fps ball

* 60 fps platforms anim

* landing updates

* static globe

* tweaks

* device detect and dynamic imports

* Accessibility and minor performance improvements from Lh report.

* Update globe.webp

* Improve randomness of line animation, better cloud image

* isMobile vid support

* Update index.tsx

* new art

* docs

* docs

* Improvements and feedback

* Update index.tsx

* improvements

* quick art tweak

* updated art

* increase size

* SVG animation

* animations

* convert platforms to arr and framer motion

* new section - wip preview

* remove border app animation - more animation work

* mobile tweaks

* tweak

* duration adjustment

* animation improvements

* different floating times for other circles

* Pricing page

* tweak

* optimize images, accessibility values, svg attribute cleanup

* launch prep

* fix blog link

* adding location docs

* hover effect

* fixes to layout

* Update index.tsx

* another show controls method

* use PageLayoutContext in other file

* merge

* desktop release download api

* update publishing api

* hook up desktop releases api to landing page

* screenshot stuff

* Delete .github/scripts/setup-system.sh

* Update october-alpha-release.mdx

* rotating screenshots, fixed blog and apple download chooser

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
Co-authored-by: pr <pineapplerind.info@gmail.com>
Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-11 04:05:40 +00:00
Oscar Beaumont fdc3c30afd
toast (#1463) 2023-10-11 09:54:50 +08:00
Jamie Pine 2287c2e68a
big bad bug fix moment (#1462) 2023-10-11 09:53:45 +08:00
jake 078490cdd5
[ENG-1143] Media View sort by date taken (#1390)
* clippy -_-

* migrations

* alter the migration so it just renames the `dimensions` field (no db re-creation required)

* remove confusing semver addition for `libheif-sys`

* remove warning on the migration as it's just a rename

* add sort opts for resolution and date image was truly taken

* major serde ckeanup & add epoch_time and pixel_count

* rename, cleanup et optimise

* clippy

* ignore this mess

* bindings

* add explanation to schema

* comment out dt test

* better comment and WIP time

* cleanup rust

* failed timezone attempt

* remove image resolution as a sort by option

* update schema (and rename the dimensions table instead of dropping it)

* just show raw date

* add comments and update bindings

* fix migration hopefully

* fix broken migration

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-10-11 00:58:59 +00:00
Vítor Vasconcellos 9ca22733ad
[ENG-1086, ENG-1087] Add error and loading indicator to thumbnail (#1448)
* Add onLoad and onError listeners to FileThumb
 - Show toast when Original file fails loading in QuickPreview
 - Formatting

* Fix close toast not working when QuickPreview was open

* Fix panic when serving unsupported files

* Formatting & lint
2023-10-11 00:52:21 +00:00
Jamie Pine 01dbc2caf7
[ENG-864] Create directory (#1458)
* folder

* wrote function

* Abstracting duplicate on file name

* Spliting between ephemeral and indexed

* Now with more type safety

* Forgot to prep

* location + path based

* bruh

* link frontend + error toast

* strip main separator

* dumb

* bruh

* create directory

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

* make some reactivity happen

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Brendan Allan <Brendonovich@users.noreply.github.com>
2023-10-11 00:47:56 +00:00
Brendan Allan 811faa22a0
useObjectsInfiniteQuery in tag route (#1457) 2023-10-10 19:53:00 +00:00
jake 1adfe85a01
[ENG-428] Embed app version and commit hash for telemetry (#1456)
* embed build info into telemetry

* fix mobile too

* use actual data and not the bridge query 💀
2023-10-10 19:49:46 +00:00
ameer2468 72b3d60e32
[ENG-1217] Fix update delay and debouncing settings (#1453)
Update useExplorer.ts
2023-10-10 13:54:14 +00:00
ameer2468 3efb578340
[ENG-1216] Feedback dialog form bug (#1452)
Update FeedbackDialog.tsx
2023-10-10 12:25:57 +00:00
Brendan Allan 49cc098f32
[ENG-927, ENG-735, ENG-766] Fix Updater & Tauri 1.5 (#1361)
* custom updater with toasts

* new state management + updated router route

* tauri-specific update route

* ref

* update in prod only

* change 'Install' to 'Update'

* fix tsconfig

* desktop tauri

* remove tauri patch

* tauri 1.5

* tauri 1.5

* use tauri script

* native-deps

* Rework preprep and tauri script to better support tauri 1.5

* Update to tauri 1.5.1
 - Update workspace and apps/desktop dependencies
 - Fix mustache import, @types/mustache is not compatible with ES imports
 - Replace arm64 with aarch64 in machineID, they should be treated the same and this simplyfies the code

* Fix tauri updater not building due to missing key
 - Fix dmg background not being found
 - Generate an adhoc key for tauri updater with it is enabled and the user is doing a prod build

* Fix ctrl+c/ctrl+v typo

* Normalie @tanstack/react-query version through workspace
 - Use undici in scripts instead of global fetch
 - Fix typecheck

* Fix linux prod and dev builds
 - Improve error handling in tauri.mjs

* Normalize dev deps in workspace
 - Improve linux shared libs setup

* Fix CI and server docker

* Fix windows
 - Remove superfluous envvar

* Attempt to fix server, mobile, deb and release updater

* Attempt to fix deb and mobile again
 - Fix type on deb dependency
 - Enable release deb for aarch64-unknown-linux-gnu

* Github doesn't have arm runners
 - Fix typo in server Dockerfile

* Publish deb and updater artifacts

* remove version from asset name

* update commands

* log release

* Some logs on updater errors

* show updater errors on frontend

* fix desktop ui caching

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-10-10 07:30:56 +00:00
ameer2468 2796907ba5
[ENG-1195] Hide folder size in Ephemeral locations (#1446)
* Update GridView.tsx

* Update grid and list view for hiding sizes in ephemeral locations

* Clearer function instead of variable

* Update GridView.tsx

* Update GridView.tsx
2023-10-09 15:05:47 +00:00
nikec 0d837d2317
[ENG-1138] Fix list view thumb flicker (#1436)
* rename

* don't forget the table

* Update RenameTextBox.tsx
2023-10-09 13:44:31 +00:00
Jamie Pine ed751a46d0
[ENG-944] Sidebar UX Improvements (#1270)
* - added local section to sidebar
- added spacedrop screen, showing local peers
- added placeholder network screen
-removed unused swift package
- created a watcher for system volumes to invalidate ui when drives are added/removed

* clouds

* fix more imports

* see more

* open location if volume is location

* gen assets

* remove log

* [ENG-939, ENG-1173] PDF Thumbnails (#1242)

* sd-pdf

* Process PDF blocking render inside a spawn_blocking
 - Load a single global Pdfium instance

* Migrate pdf thumb logic to sd-images
 - Replace block_in_place with spawn_blocking
 - Only load LibHeif once
 - Allow thumbnailer (both indexed and non-indexed locations) to process documents
 - Disable loading pdf viewer in Inspection in favour of loading it's thumbnail

* Try to load pdfium lib from absolute path

* Revert removed import due to rebase

* Small nitpick and some warnings

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>

* [ENG-888] Media view should show current folder downward (#1437)

* Done but ugly

* layout

* Now with a select

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>

* add cool folder thing to inspector + stuff

* fix text color

* fix lock

* fix typescript

* fix ts

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-09 10:11:23 +00:00
ameer2468 709d15e6ab
[ENG-1202] Location dialog visual improvements (#1445)
Visual improvements to location dialog
2023-10-09 09:49:47 +00:00
Brendan Allan 161e660cdc
Centralise auth state into context (#1434)
* centralise auth state into context

* remove accounts from feature flags

* move from context to store in @sd/client
2023-10-08 17:04:23 +00:00
jake 968e37afcd
[ENG-1176] Append (x) to the end of files instead of overwriting (#1425)
* append ` (x)` to files when duplicating, renaming or pasting instead of overwriting

* cleanup commented code

* fix renames

* rustfmt

* remove unused item

* Small tech debts and some nitpicks

* Bug with appending number on duplicates

* A bug on my new impl

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-10-07 11:59:58 +00:00
Brendan Allan 3624c8f4e2
Move tooltip provider to app root instead of component root (#1439)
move tooltip provider to app root instead of component root
2023-10-07 03:46:44 +00:00
Ericson "Fogo" Soares 97a86a9fbb
[ENG-888] Media view should show current folder downward (#1437)
* Done but ugly

* layout

* Now with a select

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-10-06 20:46:26 +00:00
Vítor Vasconcellos 556cf1df63
[ENG-939, ENG-1173] PDF Thumbnails (#1242)
* sd-pdf

* Process PDF blocking render inside a spawn_blocking
 - Load a single global Pdfium instance

* Migrate pdf thumb logic to sd-images
 - Replace block_in_place with spawn_blocking
 - Only load LibHeif once
 - Allow thumbnailer (both indexed and non-indexed locations) to process documents
 - Disable loading pdf viewer in Inspection in favour of loading it's thumbnail

* Try to load pdfium lib from absolute path

* Revert removed import due to rebase

* Small nitpick and some warnings

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-10-06 20:41:22 +00:00
ameer2468 6f8eccdd99
Fix accordion (#1438)
fix accordion
2023-10-06 13:04:34 +00:00
ameer2468 8662c96336
[ENG-1189] Overview shortcut + Settings shortcut adjusted (#1435)
Added overview route shortcut + adjusted settings shortcut
2023-10-05 14:16:56 +00:00
Ericson "Fogo" Soares 774e5b7839
[ENG-1124 | ENG-1154] Ephemeral location bug: Opening files | Path should always be in present in Inspector (#1401)
* New functions to open ephemeral files

* Review items for ephemeral files

* Open and OpenWith context menu for ephemeral paths

* Some warnings

* Fixing inspector

* Fixing windows

* Format

* Messy rebase

* Fix macos

* Cargo fmt

* Removing devtools as it can be opened with keybind

* Fix macos

* Separating ext for ephemeral files on inspector

* Fixing bad rebase

* Removing rename button from quickpreview for ephemeral files

* Quick Preview for ephemeral files

* Requested changes
2023-10-05 07:21:37 +00:00
ameer2468 1250f46596
[ENG-989] Switch explorer views bug (#1433)
* Fix explorer switching bug

* tweaks
2023-10-04 20:31:12 +00:00
nikec f4cf2513c6
[ENG-1183] fix quick preview background overlay (#1432)
fix
2023-10-04 10:48:59 +00:00
nikec 1ca2ea1221
[ENG-1182] Switch quick preview animation from react-spring to tailwindcss-animate (#1431)
* animate

* radix-state-open
2023-10-04 09:40:40 +00:00
nikec ddf3995032
[ENG-1178] Add optional auth step to onboarding & update profile section (#1426)
* Add login step to onboarding

* only show auth loader on first fetch

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-04 09:05:50 +00:00
nikec e33a4cd999
[ENG-1179] Add hidden search filter to paths query (#1427)
add hidden filter
2023-10-03 19:56:50 +00:00
nikec ac77d4aff9
[ENG-1180] Change default overscan on grid list (#1428)
Change default overscan on grid list
2023-10-03 19:53:34 +00:00
ameer2468 8af1019850
[ENG-872, ENG-1177] - Windows enter key opens & Open context menu correction (#1424)
* Enter key opens on windows, cmd and o on mac. Open in context menu now opens in SD and not Finder.

* Remove access time func as doubleClick already does it
2023-10-03 16:35:45 +00:00
Oscar Beaumont d6d5f1505c
[ENG-1141] Show running jobs first (#1400)
* Fix Rust panics when opening HEIC in `QuickPreview`

* Sort it

* improve sorting
2023-10-03 16:26:59 +00:00
Oscar Beaumont e720b8099a
[ENG-1075] Light mode for QuickPreview (#1403)
* fix line number background thing

* Prism dark mode + move to one dark/one light

* subtle

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-10-03 16:18:16 +00:00
ameer2468 97e92c3499
[ENG-871] - Rename shortcut update (#1422)
* f2 to rename

* Update RenameTextBox.tsx

* Keybindings some refactoring to accommodate our needs

* Update keybindings.tsx

* correct direction for nav

* Update keybindings.tsx

* ts documentation + key -> keys

* Update keybindings.tsx
2023-10-03 14:08:01 +00:00
ameer2468 15a748d3f9
[ENG-1172] - Update navigation keys (#1419)
Update navigation keys
2023-10-02 14:10:47 +00:00
ameer2468 90c98e975f
[ENG-1171] - Clicking on a tag within inspector navigates to that tag route (#1418)
* Clicking on a tag within inspector navigates to that tag route

* Update index.tsx
2023-10-02 14:05:57 +00:00
ameer2468 ea3f72f0cd
[ENG-1170] - Prevent sidebar scrolling with keyboard (#1417)
* Prevent sidebar scrolling with keyboard

* remove ref import
2023-10-02 14:04:20 +00:00
Brendan Allan 87e9942bd1
Add pnpm tauri root command (#1411)
add pnpm tauri root command
2023-10-02 14:03:45 +00:00
Oscar Beaumont 9b024765aa
[ENG-1147] Fix overview stats (#1416)
* Fix it

* Fix slow accounts panel
2023-10-02 10:32:26 +00:00
nikec ab661e39b7
[ENG-1158] List view range initialization (#1410)
* range initialization

* auto it is
2023-09-30 07:49:54 +00:00
nikec b62ca655a0
[ENG-1164] Fix Explorer Path Render (#1408)
fix render
2023-09-29 15:24:25 +00:00
ameer2468 a16747ab29
[ENG-1149] Tags unassignment UI update and fixes (#1406)
* Multiple minor fixes and tweaks

* close context menu if no items are selected

* fix

* type

* Update keybindings.tsx

* useMatch and rspc to invalidate

* fix selectable

---------

Co-authored-by: nikec <nikec.job@gmail.com>
2023-09-29 14:48:35 +00:00
nikec 95ea93595d
[ENG-1118] Force close context menu when no items are selected (#1407)
* close context menu if no items are selected

* fix

* Update index.tsx

* ups

* one more
2023-09-29 13:56:29 +00:00
Oscar Beaumont ed9eb79222
[ENG-1117] Remove Tauri drag regions on non-macOS platforms (#1402)
That'll do it
2023-09-29 05:57:39 +00:00