Commit Graph

2912 Commits

Author SHA1 Message Date
Lynx
b4193b74ab Fix misspelled "vacuum" (#2595) 2024-07-09 19:28:06 +00:00
Lynx
391e18fa59 Use default props for Top Bar icons (#2593)
* Refactor top bar items to use default props

* oops! revert top bar icon size to 18px
2024-07-09 09:59:34 +00:00
Lynx
90d4f4a572 Disable Vite clearScreen (#2594)
Change Vite config to disable clearScreen
2024-07-09 09:57:48 +00:00
Jamie Pine
931653fd55 Update README.md (#2590)
* Update README.md

* Update README.md
2024-07-08 08:23:02 +00:00
Ericson "Fogo" Soares
7bba5eea63 [ENG-1813] Introduce caching for Kind Statistics (#2585)
* Backend done

* Forgot new migration

* track subscription in file kind stats

* Real time updates on both graphs at overview

---------

Co-authored-by: myung03 <matthewyungisworking@gmail.com>
2024-07-07 05:58:00 +00:00
ameer2468
0da620b88b [ENG-1816] Fix explorer rendering (#2589)
* Fix explorer intial render

update dep

Make sure it runs only once

make sure to include loading value in other explorer routes

rewrite condition to prevent loop

* fix style formatting
2024-07-06 00:29:40 +00:00
Vítor Vasconcellos
92c9afeaf2 [ENG-1815] Fix server auth when assets feature is enabled (#2584)
Fix server auth when assets feature is enabled
2024-07-05 11:12:06 +00:00
Ericson "Fogo" Soares
7d431526a7 [ENG-1814] Assign objects to directories on File Identifier Job (#2580)
* Done

* Bugged edge case when the root location only had directories
Also a bug on the get orphan queries, now a file_path is only unidentified if it doesn't has a object_id.

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-07-05 11:00:45 +00:00
ameer2468
13e167b318 Revert ENG-1812 (#2586)
* revert

* Update recents.tsx
2024-07-05 08:17:57 +00:00
ameer2468
f75019926f [MOB-111] Open file on tap not inspector (#2583)
* Open file instead of inspector on tap

* Update Explorer.tsx

* cleanup

* Open file instead of inspector on tap

Update Explorer.tsx

Fix autoformat CI & format codebase (#2581)

* Update pnpm version

* Fix autoformat

* Improve autoformat msg

* Attempt to fix autoformat 2

* Fix autoformat

* Ignore deleted files in auto-format

* Fix diff filter

* Autoformat whole codebase

* Improve error message for autoformat CI

* Test autoformat CI

* Revert "Test autoformat CI"

This reverts commit 0bf2f46d1a.

cleanup

* formatting

* missed
2024-07-04 19:14:34 +00:00
Vítor Vasconcellos
561462760b Fix autoformat CI & format codebase (#2581)
* Update pnpm version

* Fix autoformat

* Improve autoformat msg

* Attempt to fix autoformat 2

* Fix autoformat

* Ignore deleted files in auto-format

* Fix diff filter

* Autoformat whole codebase

* Improve error message for autoformat CI

* Test autoformat CI

* Revert "Test autoformat CI"

This reverts commit 0bf2f46d1a.
2024-07-04 08:57:43 +00:00
ameer2468
31e710e6a0 [ENG-1812] Fix recents page render (#2579)
Fix recents page render
2024-07-03 16:35:06 +00:00
ameer2468
6db8949172 [ENG-1810] Sync Icons & more (#2578)
* wip - need light mode icons

* wip

* icons for sync and cloud sync
2024-07-02 17:35:18 +00:00
ameer2468
b9ccf3540b Quick sizing handling fix (#2577)
* quick fix and improvement

* edge case

* edge case
2024-07-01 21:41:43 +00:00
ameer2468
28f98fd550 [ENG-1610] Fix overview devices graph render (#2576)
Fix overview devices graph render
2024-07-01 15:41:43 +00:00
Ericson "Fogo" Soares
ef048a866c [ENG-1809] Make core more resilient to crashes (#2574)
* Catching panics

* Re-enable unwind on release profile

* Reverting deps due to bad assertion

* Comment why the deps where reverted

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-06-30 03:59:01 +00:00
ameer2468
3a2c04573a Landing: 0.3 Alpha (#2575)
* alpha 0.3

* optional link/href
2024-06-29 16:08:00 +00:00
ameer2468
e1ec45bf5e [ENG-1808] Fix job manager icons (#2573)
Fix job manager icons
2024-06-27 15:56:07 +00:00
ameer2468
e2253bc5ba [ENG-1789] Plausible ping every 10 minutes (#2572)
Update index.tsx
2024-06-27 12:58:26 +00:00
Matthew Yung
4735adcb66 fixed issue with tag assign mode (#2570) 2024-06-26 20:35:53 +00:00
Arnab Chakraborty
aaf1f237cd [MOB-72] Tracing logs not working on Android (#2569)
* Logging to logcat instead of logfile

Hopefully works now?

* Lock dep for Android builds only

* Don't want only debug logs lol

* Update lib.rs
2024-06-26 20:20:16 +00:00
ameer2468
2e00af3c4b [ENG-1805] Update team page (#2568)
wip
2024-06-26 10:34:08 +00:00
Heavysnowjakarta
1d9013f28c i18n polish for zh-cn on some terms of ui (#2567) 2024-06-26 09:46:13 +00:00
Matthew Yung
a8231aca4f Bug fixes (#2566)
* changed tag assign mode behaviour

* added min/max zoom and filekinds logic

* changed colour of system data bar
2024-06-26 07:49:10 +00:00
Matthew Yung
f7b0e3bd06 [ENG-1794] Overview Rework (#2555)
* StorageBar implementation

* filekindstats reworked into interactive node graph

* ui changes to graph

* light/dark mode changes + ui edits

* missing dependancy in package.json and minor visual improvements

* fixed collision physics

* d3 force package

* fixed nodes going off screen

* removed onNodeDragEnd

* fix central node and add particle effect

* fixed central node and typescript errors

* bar graph/storage bar ui improvements

* changed icons

* totals

* made ui changes

* ui changes

* minor requested ui changes

* fixed spacing for ui

* Remove extraneous newline in core/src/api/libraries.rs

* Fix minor suggestions from code review

* Fix typecheck

* Auto format

* refactor file kind stat card with css grid

* ensure unidentified files never negative

* FIxing some stats

* Counting directories

* fixed error with height of bars

* updated storage bar

* total files update

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: James Pine <ijamespine@me.com>
Co-authored-by: Lynx <141365347+iLynxcat@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Lynx <ephemeral.lynx@protonmail.com>
Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2024-06-24 20:00:51 +00:00
ameer2468
f0bc308653 [ENG-1777] Fix inspector scroll (#2564)
* fix inspector scroll

* fix inspector toggle
2024-06-24 16:04:47 +00:00
ameer2468
a9eb3c7f42 [MOB-108] UI adjustments (#2563)
* wip

* wip

* max width on locations in drawer

* remove fade and console log

* lint fix
2024-06-24 15:50:36 +00:00
Arnab Chakraborty
7743796163 Fix release builder (#2562)
* wip

* update createSlashCommand func

* Add block actions schema

* auto create tags

* Debugging?

* Remove debug logs
2024-06-21 14:16:19 +00:00
ameer2468
44d2d8b439 Fix GH api commit link (#2560)
* Update createRelease.ts

* another
2024-06-20 13:47:38 +00:00
ameer2468
47a4e9a1f7 0.3.2 (#2559) 2024-06-20 12:02:20 +00:00
Vítor Vasconcellos
8e8747a769 Style auto format (#2557)
* Autoformat script

* Executable + package.json

* Fix pnpm format not exiting

* Fix exit handling

* Allow to only run fontend autoformat

* Rename script to autoformat.sh
 - Fix exit handling

* Add style check to CI
 - Replace deprecated actions-rs-plus/clippy-check@v2 with giraffate/clippy-action@v1

* Use HEAD as ancestor when running in CI

* Improve uncommmited erro message

* Increate timeout for Type and style check action

* Run Clippy when ci.yml file changes

* increase cypress timeout
2024-06-20 00:04:43 +00:00
Whisht
f1255f9e23 Improve Chinese translation (#2558)
improve Chinese translation
2024-06-19 14:07:00 +00:00
ameer2468
6e3559b7cf [ENG-1798] Improve cloud sync ui (#2554)
improve cloud sync ui

cleanup

use better values

lint
2024-06-18 16:15:11 +00:00
Lynx
0688406adc [ENG-293] Tag assign mode (#2462)
* Rename top bar icon *style* to *classlist*

* Update pnpm-lock.yaml

* Add user-facing name for tag assign mode: "Assign tags"

* Refactor path bar to allow tag bar display above

* Oops, use original PATH_BAR_HEIGHT

* rename ExplorerPath to more consistent ExplorerPathBar

* remove debug tag assign mode toggle

* fix straggling old reference to ExplorerPathBar

* rename useShortcuts to useExplorerShortcuts

* add `DEV` to turbo.json env deps

* tag assign mode list display + keyboard toggle

* Update pnpm-lock.yaml after merge

* Use new query style in ExplorerTagBar

* WIP debugging list bug

* Fix to the `<slot />` bug

* Remove awaiting tag assign keypress state variable

* Add tag assign mode localization lines

* Add actual tag assign mode functionality

* Use localization for bulk tag assignment

* i18n: Add proper "file" plurals and nest within tag assignment msgs

* implement tag hotkey assignment

* Use i18n for unknown error in tag assignment

* use type for tag bulk assign keycodes

* remove custom ordering todo

* add awaiting-assign visual state to tag bar tags

* Make Escape cancel tag bar hotkey assignment + add a11y + remove focus state on keypress

* Remove tag assign mutation success from tag bar

* Remove tab index `-1` from tag bar tag

* Update tag bar awaiting hotkey assignment colors

* Fix tag bar styling + sort properly

* Fix some missed `TOP_BAR_ICON_CLASSLIST` references

* improve tag ui & fix location redir

* fix pathbar caret and layout adjustment experiment

* Add better tag bar layout for users with lots of tags

* set padding if tags overflow

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-06-18 10:52:19 +00:00
Arnab Chakraborty
18235c6f09 [MOB-106] Cloud Sync for Mobile (#2549)
* wip + working backfill

* Finished BackfillWaiting page + initial auth setup

Also, setting up the cloud sync page.

* mobile auth

* Import Cloud Library

Currently, you can import a cloud library, however it seems that the data, such as locations, is not transferring correctly.

* Working Mobile Cloud Sync

Cloud Sync works for Mobile, and the mobile app can sync files from a cloud library, and other clients can access the data from the phone's cloud library.

* Cloud Sync Done

* Formatting

* Fix new library button

* New device type passing to auth

* Improve design of cloud settings and import modal

* ui adjustments and code cleanup

* Update styling if there's only 1 instance

* code cleanup, design tweaks

* empty state & simple indicator animation

* lint

* loading indicator and cleanup

* Fix to Sync Subscription

* Update Cargo.lock

* Async logout for debug

* tweaks

* Update SettingsStack.tsx

* cleanups and cloud desktop design improvements

* more cleanups and ui improvements

* ts

* i18n

* Cloud Sync Docs

* styling

* Delete library-sync.mdx

Moving docs to a separate branch

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-06-18 08:46:29 +00:00
Julian Braha
e3202b3d35 Streamline conversion from Key to GenericArray (#2553) 2024-06-17 22:08:50 +00:00
Ericson "Fogo" Soares
bdc242a852 [ENG-1775] Scan location using new jobs (#2476)
* First draft on task system usage, still missing job system

* Scan location roughly working, a ton of stuff to fix yet

* Updating some deps due to crashes and bugs

* Exposing non critical errors to frontend

* Getting active job reports from job system

* Using boxed opaque type to avoid a downcast issue with generics

* Task system issues discovered on race conditions

* Enable debug

* Fix job report in the job manager

* Fix race condition on steal tasks

* Fixed race condition on task suspend

* Some fixes on job progress reporting and save

* Fixed many race conditions and a hard deadlock
Also some progress report polishing

* Ignore .ts and .mts video files for now

* Some better logs

* bruh

* Internal deadlocks and excess of communication in the task system
- Also better logs

* Bunch of fixes and optimizations

* WIP at fixing file identifier

* Fixed file identifier job
- still need to work on its progress report frontend

* A bunch of polishing

* Fixed some bugs and did more polishing

* Cleanup

* Bridging old and new job systems

* A ton of fixes

* A bunch of bugs related to shutdown and resume

* Indexer and watcher bugs

* Log normalizing

* Fixing CI

* Change error! to warn! on non critical errors log

* Fix redirect to new location

* Type annotation

* Bogus merge resolution on cargo lock
2024-06-17 21:30:57 +00:00
ameer2468
f8ed254a22 [MOB-94] Onboarding haptics (#2552)
Onboarding haptics
2024-06-14 16:42:19 +00:00
Jamie Pine
b2aab513d2 cleanup (#2551) 2024-06-14 00:35:30 +00:00
Gedeon
a88a9db5f0 Fix xdg-open for Trash (#2547)
* fix Trash not opening

* remove unnecessary unwrap

* fix formatting errors
2024-06-11 16:23:06 +00:00
Utku
0cd993c699 Fix discord link (#2550)
* Update alpha.tsx

* Fix discord link test

* Fix use correct test assertion

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-06-11 15:38:21 +00:00
Vítor Vasconcellos
405fb023d8 Clean up and update rust dependencies (#2544)
* Clean up and update rust dependencies

* Attempt to fix Windows Error
2024-06-10 19:44:00 +00:00
Vítor Vasconcellos
468bc946ea Fix nvidia on linux segfault (#2542)
* Workaround nvidia on linux segfault

* Fixes

* Don't vendor dbus

* Make dbus and opener linux exclusive dependencies

* opener is a generic dependency

* Add dbus as a dependency for deb and setup.sh

* Clippy fixes

* Replace gl and glfw with glutin for querying nvidia card

* Replace glutin with wgpu

* Update icrate to fix 'multiple applicable items in scope'
2024-06-07 19:14:50 +00:00
ameer2468
9ddfee8916 [MOB-105] Rename with extension & add await (#2539)
add await date accessed to run first and rename with extension consideration
2024-06-06 15:02:20 +00:00
Matthew Yung
7e8bfcd2b6 Add devices modal (#2540)
* add device modal changes

* cleanup

* tailwind typescript error fixes

* enabled modal only for dev mode

* no need for "any"

* i18n title

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-06-06 10:17:08 +00:00
Vítor Vasconcellos
b4159d89f8 Package & distribute frontend bundle when doing releases for Linux (#2500)
* Package & distribute frontend bundle when doing releases for Linux

* Only check for tar.xz frontend bundle

* debug

* Fix sd-desktop
2024-06-04 23:19:41 +00:00
Consoli
76bb317201 Display captured backtrace when available (#2504)
* Display captured backtrace when available

* Helpful log message
2024-06-04 14:22:30 +00:00
Julian Braha
ef1be196c1 Cleanup: remove unnecessary #[allow(dead_code)] and #[allow(unused)] attributes (#2535)
Remove unnecessary #[allow(dead_code)] and #[allow(unused)] attributes
2024-06-04 07:11:36 +00:00
Artsiom Voitas
03ede58530 Translated New keys added before June 2 (#2536)
Translated recently added keys
2024-06-02 15:16:16 +00:00
ameer2468
a6cb61584e [ENG-1506] Tags in Explorer (#2532)
* wip

* tags in explorer

* cleanup

* i18n
2024-06-01 19:11:31 +00:00