Commit graph

763 commits

Author SHA1 Message Date
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
Oscar Beaumont 02f03f5351
Improve QuickPreview (#1350)
* Handle large text files

* wip

* nit

* Fix syntax highlighting

* Requiring an API call for my dev builds, no shot

* backend for line counting + wip frontend

* 600 lines is too much for this file, ngl

* wip: `LimitedByLinesBody` & some more restructuring

* Virtualised list for QuickPreview

* yeet bad ideas

* general cleanup + hack to fix broken toml

* fix

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-09-29 04:58:29 +00:00
pr 478ebfce64
settings pages: consistent padding on every side (#1399)
* settings pages: consistent padding on every side

* reduce padding to 12
2023-09-28 22:17:54 +00:00
nikec cb320f2d04
[ENG-1131] File path hidden filter (#1398)
hidden filter
2023-09-28 18:52:35 +00:00
Brendan Allan 3109601fda
Desktop + Web auth flow (#1378)
* initial login session route

* auth works!

* auth on web is dummy easy

* load api url from envs

* SpacedriveAccount + oauth

* use verification url

* heif

* better env handling

* error handling

* handle config write error

* add logout config write error
2023-09-28 16:55:46 +00:00
nikec 2828617461
[ENG-1157] fix useKeybind (#1393)
* remove

* fix
2023-09-28 05:37:08 +00:00
ameer2468 a68b33d980
[ENG-1145] Keep more info open if it is (#1392)
* Keep more info open if it is

* toggle off when closing inspector

* Update TopBarOptions.tsx

* tweak code

* Update Accordion.tsx

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-09-27 17:15:57 +00:00
nikec 98a49ba9ed
[ENG-1156] Grid list remove left/right key selection limit (#1391)
remove block
2023-09-27 15:49:44 +00:00
ameer2468 6ac58a312f
[ENG-1142] Path bar shortcut (#1377)
* Path bar shortcut

* Add option to popover and tweak UI

* increase size of folder icon + frame thumbs

* view adjustments

* truncate

---------

Co-authored-by: nikec <nikec.job@gmail.com>
2023-09-27 14:49:01 +00:00
ameer2468 7b8919dd95
[ENG-1148] Fix inputs (#1389)
Fix inputs
2023-09-27 12:43:40 +00:00
ameer2468 1bf946ae09
[ENG-1112] Explorer Path Component (#1375)
* Explorer Path component

Update ExplorerPath.tsx

Update ExplorerPath.tsx

* Tweaks & bug fix

* Selected item no hover

* Update index.tsx

* fix keys

* ts
2023-09-24 23:33:56 +00:00
nikec e3d69fe1b5
[ENG-1114] List view improvements (#1371)
* almost there

* so close

* fix drag scroll

* rerender

* Update index.tsx

* fix y scroll

* scroll

* header border

* remove react-scroll-sync
2023-09-24 12:16:38 +00:00
ameer2468 fa684d52f9
[ENG-1133] Tooltip overflow fix - take up y-axis space (#1374)
Tooltip overflow fix, take up y-axis space
2023-09-23 14:38:16 +00:00
Brendan Allan 3f1ea3df10
[ENG-1132] Disable pagination for ordering by file path size (#1365)
* disable pagination for order by size

* disable 'take' when paginating on size
2023-09-22 10:12:30 +00:00
Ericson "Fogo" Soares f888054441
[ENG-1135] Locations: Total size query and return to Frontend (#1366)
* Done

* Fix size text to take its space

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-09-22 10:11:59 +00:00
ameer2468 7f5d6e8fdf
Adding location: Error message bypass submit button being disabled (#1367)
Form location error message submit fix
2023-09-21 22:22:21 +00:00
Ericson "Fogo" Soares 5005c50e23
[ENG-1116] Distinct job manager for library (#1363)
Done
2023-09-21 11:10:56 +00:00
ameer2468 19efea31b4
[ENG-1125] Mouse navigation support (#1359)
Mouse navigation support
2023-09-19 15:45:52 +00:00
ameer2468 d0dd8d11ec
[ENG-1126] Key matcher hook (#1358)
* key matcher hook

* Update TopBarOptions.tsx
2023-09-19 15:34:35 +00:00
jake 0382a4e48f
[ENG-1097] DMS coordinate display support (#1335)
* offer DD and DMS coordinate displays

* clean up & optimise the conversion functions

* add support for changing between dd/dms (and some other example changeable formats)

* even further cleanup

* auto format

* dedicated clickable component to clean things up

* slim it down by passing platform directly

* make dist/temp settable, use dedicated format store

* use freedom units if locale is `en-US` 🦅

* rename the store and attempt to make it more typesafe

* cleanup mainly

* DD -> "Decimal" in the UI and swap the options as DMS will be the default

* remove useless schema

* only show S decimal on hover for DMS

* show `x` after zoom if it's a valid number
2023-09-19 08:46:14 +00:00
ameer2468 e847f2e0f4
[ENG-815] Shortcuts page (#1357)
shortcuts page
2023-09-18 20:19:03 +00:00
ameer2468 5ffbd3b344
[ENG-1119] - Open folder shortcut + select item with arrow down (#1355)
* Open folder shortcut + select item with arrow down

* tweaks

* symbol tweaks

* Update index.tsx
2023-09-18 14:09:40 +00:00
ameer2468 8645b47838
[ENG-1089] Tooltips visual upgrade and shortcuts (#1351)
* tooltip visual upgrade and shortcuts

This gives tooltips an upgrade, visually + supporting keybinds

* B to V

* Cannot make tooltip do conversion due to dependency cycle

* semantics

* Update style.scss

* useKeyBind to consider upper and lowercase

* Change from strings to array + small visual tweaks

* oops
2023-09-15 13:39:58 +00:00
nikec 42c6c358c6
[ENG-1113] Toggleable list columns (#1352)
* Toggleable list columns

* type
2023-09-15 11:03:28 +00:00
nikec 91f3bad92e
[ENG-1106] Rename text box improvements (#1348)
rename text box improvements

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-09-14 14:31:25 +00:00
Brendan Allan e5cab646c4
[ENG-1022] Keep track of hidden files (#1328)
* allow indexing + viewing hidden files

* generate db migration

* add 'Show hidden files' control to OptionsPanel

* clippy

* handle file renames

* use macos file attributes along with unix heuristic

* handle hidden ephemeral paths

* use un-deprecated st_flags getter

* tweak for uniformity

* formatting?

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-09-14 07:05:45 +00:00
nikec 102710dc7f
[ENG-1109] Fix explorer double click (#1346)
fix double click
2023-09-13 13:51:02 +00:00
nikec 8cfd57c95b
[ENG-1090] Handle explorer selection while quick preview is open (#1344)
* handle selection

* update timeout

* one more

* prevent explorer reset when open

* remove timeout

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-09-13 09:34:14 +00:00
nikec 8e0a7f9661
[ENG-1103] Fix list view freeze (#1341)
fix list view freeze
2023-09-12 15:17:10 +00:00
nikec fe2951185b
[ENG-1093] Quick preview TextViewer selectable text (#1340)
text viewer select text
2023-09-12 15:17:00 +00:00
nikec a5ea244b6f
[ENG-1092] Fix key item selection after layout switch (#1342)
fix active item after layout switch
2023-09-12 15:16:18 +00:00
ameer2468 be07746f77
[ENG-814] Explorer shortcuts: Escape de-selects all selected items (#1339)
* Escape de-selects all selected items

* Cleanup + add to list view

* put return next line

* Update GridList.tsx

* Update ListView.tsx
2023-09-12 14:33:38 +00:00
ameer2468 2807c97d74
[ENG-1085] Text view rounded scrollbar (#1338)
Update style.scss
2023-09-12 11:40:34 +00:00
ameer2468 0dd179c9dd
Fix dropdown styling (#1337)
* Update JobGroup.tsx

* Update JobGroup.tsx
2023-09-12 11:40:17 +00:00
ameer2468 f153c08e70
[ENG-970] Job dropdown with actions (#1329)
* Job dropdown with actions

* Update JobGroup.tsx

* fix hover colors for theme support

* Update Dropdown.tsx

* Update JobGroup.tsx

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-09-11 15:41:51 +00:00
ameer2468 0730cae58d
[ENG-1021] Explorer Scrollbar color (#1331)
* Now visible :D

* Update colors.scss
2023-09-11 15:34:18 +00:00
Utku fd8c0f87b3
[ENG-1067] Update phosphor to new package & update sort imports (#1330)
* ianvs > trivago

* @phosphor-icons/react > phosphor-react
2023-09-11 15:26:44 +00:00
jake e2a0878e7a
[ENG-1068] Plus codes / Open Location Code support (#1324)
* bring in rand deps

* SUPER crude pluscode attempt

* working pluscodes!

* some cleanup

* `encodeURIComponent` for URL escaping

---------

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2023-09-11 04:34:24 +00:00
ameer2468 2111d350ba
[ENG-1020] Explorer loading indicator (#1318)
* loading indicator

* cleanup tw
2023-09-08 16:16:58 +00:00
jake d435141496
[ENG-1084] Correctly format Orientation EXIF data in the UI (#1313)
* impl `Display` and a custom serde serializer

* remove the + as rust already shortens coords to 8SF

* remove manual serde impl and string conversion

* add `formatOrientation` to the `MediaData` part of the inspector

* make requested changes

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-09-08 12:21:32 +00:00
Brendan Allan 4b60ff2e08
[ENG-1023] Change location path from settings page (#1301)
* update location path in db

* remove + add location watcher if path is changed

---------

Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
2023-09-08 11:46:16 +00:00
nikec 99ccb8f8c7
[ENG-972] quick view improvements (#1233)
* quick preview improvements

* fix ts

* improvements

* fix merge

* non-indexed support

* Update index.tsx

* Update pnpm-lock.yaml

* update quick preview

* sidebar icon weight

* fix thumb

* ts

* fix focus

* remove usePortal

* quick preview store

* Update index.tsx

* Update index.tsx

* cleanup

* add tooltip to name

* hide nav buttons and match explorer nav buttons

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-09-08 11:45:37 +00:00
Brendan Allan 353d8d9a5a
Fix Sentry sourcemaps (#1316)
update @sentry/cli
2023-09-08 08:14:22 +00:00
Oscar Beaumont 3d0ca4ff1a
Improve Location Formatting in UI (#1315)
make it betterer
2023-09-08 05:36:40 +00:00
ameer2468 fb9126ecee
[ENG-1082] Accordion variants (#1310)
* updated with variants

* className

* naming

* requested updates

* Update Accordion.tsx

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-09-07 14:43:07 +00:00
Utku 02ce1a0337
Fix mobile by using memo (#1308)
* fix

* fix double library display
2023-09-07 10:03:25 +00:00
Ericson "Fogo" Soares f8033d1842
[ENG-941] Jobs running in another library do not appear in the job manager (#1306)
* Fetching job reports from all libraries
Some clippy warnings
pnpm format

* Reverting expects to unwraps
2023-09-07 04:15:31 +00:00
ameer2468 5860016789
[ENG-934] EXIF UI (#1305)
* Media data UI

* Make `MediaTime` adjacently tagged

* cleanup ts

* don't destructure accordion props

* Large bruh

* round location coords

---------

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-09-06 13:51:15 +00:00
nikec def0cfea45
[ENG-1080] fix explorer fetching (#1302)
fix fetching
2023-09-06 10:42:02 +00:00
Oscar Beaumont 251703104c
[ENG-1036] Fix library rename (#1300)
* Fix Library Rename + `RwLock` on `LibraryConfig`

* Input width fix

* cleanup

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-09-06 01:01:18 +00:00
nikec 5f7e7089d8
[ENG-1006] overview inspector (#1275)
overview inspector

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-09-05 09:15:22 +00:00
Brendan Allan 2d1ce9af03
[ENG-1078] Fix pagination (#1299)
* fix 'load more' breaking

* paginate all paginated queries by model id

* arrays start at 0 stupid
2023-09-05 08:11:04 +00:00
Brendan Allan e7fbdb479c
[ENG-999] Order aware pagination (#1283)
* correct types

* remove optional override

* handle group_directories properly

* throw errors if is_dir is null

* disable size ordering

* usePathsInfiniteQuery

* implement for objects too

* cleanup
2023-09-04 12:38:09 +00:00