Commit Graph

569 Commits

Author SHA1 Message Date
Brendan Allan
b76bad0b1f Better file thumb handling (#1883)
* handle file thumb error and types better

* Update Thumb.tsx
2023-12-11 12:32:38 +00:00
ameer2468
0a41e7f24c [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
191ca503aa 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
5a57f40ab2 [ENG-1496] Add location checkbox (#1873)
Update AddLocationDialog.tsx
2023-12-07 09:57:14 +00:00
Brendan Allan
d82717f52e [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
a198a5281a [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
0aa13159aa 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
554456748e 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
ad3493c10d List view effect adjustment (#1863)
Update index.tsx
2023-12-06 09:18:28 +00:00
Brendan Allan
0eaeb98a02 fix pagination (#1860)
use cache nodes for pagination
2023-12-06 03:10:00 +00:00
ameer2468
9f240c14c9 [ENG-1490] List view: Quick preview image slider performance (#1859)
Remove un-necessary code
2023-12-05 21:58:30 +00:00
Oscar Beaumont
c32e60927b [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
1fdb0d680b [ENG-1486] Fix location explorer settings (#1853)
fix update
2023-12-04 16:12:03 +00:00
Brendan Allan
bc29daa60f 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
a337e6ae62 fix quick preview image slider icon size (#1841)
Update index.tsx
2023-11-28 19:15:55 +00:00
ameer2468
d65b58d929 [ENG-1469] Show slider button (#1840)
* hide slider button in quick preview

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

* remove memo
2023-11-28 16:14:43 +00:00
nikec
99cb607eea [ENG-1468] Center "delete saved search" button (#1838)
fix position
2023-11-27 09:27:16 +00:00
Brendan Allan
66099f3840 move filter options to AddFilterButton (#1837) 2023-11-27 09:11:01 +00:00
ameer2468
0796071f35 [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
f0e9ae7f44 [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
6bcbdce6ec [ENG-1430] Improve keymatcher hook (#1835)
* improve keymatcher hook

* fix delete context menu icon
2023-11-26 08:51:43 +00:00
Utku
a78324eb6e remove fda setting (#1833)
remove setting
2023-11-25 22:47:22 +00:00
ameer2468
69f363ef01 [ENG-1461] Fda layout update (#1832)
fda layout update
2023-11-25 22:38:09 +00:00
ameer2468
416e370f66 [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
8a7fab0c54 [ENG-1465] Search filters: padding fix and submit (#1830)
Update Filters.tsx
2023-11-25 22:02:28 +00:00
Utku
abda5ffb59 0.1.4 (#1825)
prettier and tag
2023-11-25 01:49:52 +00:00
Brendan Allan
d4190aab98 [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
0233a51bf1 [ENG-1456] General UI Tweaks (#1819)
* General UI Tweaks

* Update general.tsx

* Update general.tsx
2023-11-24 14:46:57 +00:00
ameer2468
fd3eb9fde2 [ENG-1459] Tabs visual tweak (#1818)
Update index.tsx
2023-11-24 10:57:28 +00:00
jake
2b9a383410 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
7cbbaefee8 [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
499d6c585c [ENG-1395] Use data from shortcuts hook (#1805)
use data from shortcuts hook
2023-11-23 11:39:36 +00:00
Ericson "Fogo" Soares
7a40ae856c [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
07b45fe824 [ENG-433] removeTab on middle click (#1802)
removeTab on middle click
2023-11-21 05:31:47 +00:00
Brendan Allan
355b7c829b [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
70a6b65aa5 Use raw search params for search data in url (#1797)
use raw search params
2023-11-18 11:53:24 +00:00
Brendan Allan
a4522d65a7 [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
8005436a8c [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
c2dd3661f9 [ENG-1444] Fix list view observer (#1793)
Fix observer
2023-11-17 18:17:18 +00:00
nikec
66e0d8c30e [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
047192a49d [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
02a658c0ea [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
d28db4356a [ENG-1439] Align search option internals (#1788)
align internals
2023-11-17 15:52:20 +00:00
Brendan Allan
8281d6f57f 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
82ea083cf2 fix dialogs (#1786) 2023-11-17 10:26:44 +00:00
Jamie Pine
ce984d44ee [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
e92669e25a [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
d4ce90628b [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
0c17613bd8 [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