Commit graph

1598 commits

Author SHA1 Message Date
Oscar Beaumont 3c440783b3
Spacedrop (#761)
* A hint of file drop

* backport from #671

* accept/reject Spacedrop working

* final cleanup

* Rename spacedrop.tsx to Spacedrop.tsx

* Update index.tsx
2023-04-27 04:41:33 +00:00
nikec 7115a2d346
[ENG-553] Fix popover open state (#766)
fix popover open state
2023-04-26 16:07:16 +00:00
nikec 4b7b6b04e8
[ENG-549] Fix top bar key manager overflow (#764)
Change top bar popover width to min width

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-04-26 14:29:12 +00:00
nikec 41f5a7c315
[ENG-550] Fix checkIcon error (#763)
Fix checkIcon
2023-04-26 14:22:22 +00:00
nikec 0a252eb34b
[ENG-548] Fix top bar menu padding (#765)
Fix top bar menu padding
2023-04-26 14:22:19 +00:00
Utku 607b1af52c
[ENG-527] - Bundle gstreamer (#759)
* bundle gstreamer stuff

* added a note to release workflow
2023-04-26 02:50:52 +00:00
Brendan Allan 58e0542d8e
Give file paths pub_id and use it primarily (#754)
* give file paths pub_id and use it primarily

* fix object indexing

* file path location + sync

* remove future plan

* use id instead of pub_id for more indexer queries

* use chain_optional_iter

---------

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2023-04-25 16:53:36 +00:00
Oscar Beaumont 9c62df9947 fix type exporting 2023-04-25 23:51:48 +08:00
Oscar Beaumont a4b84d31cc fix desktop 2023-04-25 22:47:41 +08:00
Jamie Pine 4f29fcf0a8
[ENG-524] Dismissible notices (#753)
* designed notice component

* Persist notices, fix scroll, add list and grid notice

* Add collection icon

* update descriptions

* fix format

* change to layout mode

---------

Co-authored-by: nikec <nikec.job@gmail.com>
Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-04-25 12:48:14 +00:00
nikec b224e2383c
[ENG-499] Search improvements (#757)
* Add bg color to layout

* Add tool options, search state

* support double click nav from search

* useTopBarOptions

* search store

* disable nav button

* search

* Update View.tsx

* rename hook

---------

Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-04-25 09:23:09 +00:00
Oscar Beaumont fed3f2211f
Rspc v3 syntax (#758)
just fixed a couple of lines
2023-04-25 17:12:42 +08:00
Oscar Beaumont 85d0ddf6d3
rspc 0.1.3 prep (#756)
* Upgrade rspc + Specta + PCR

* fix jsonrpc executor

* fix invalidate excessive logging

* fix `Protected` type

* fix mobile

* clippy

* lol
2023-04-25 15:14:52 +08:00
Jamie Pine 86f387ad30
[FIX] transparency on file thumb 2023-04-24 21:32:40 -07:00
jake 37b8d64642
[ENG-490] Add support for late key manager setup (#740)
* support for late key manager setup and remove password from onboarding

* mobile

* delete master-password.tsx

* remove secure temp keystore

* remove more km_config artifacts

* fix builds

* Fix most of the UI, there still some minor bugs

* Workaround portalled closing Popovers

* Restore search in core/src/api/mod.rs

* Fix Password eye icon closing Popover on click

* Fix keymanager setup submit button spinner not centered
 - Fix keymanager setup missing logic for disabling form
 - Adjust keymanager tab roundness to match app style

* Restore .gitignore

* Restore .prettierignore

* fixerino tests

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-04-22 09:10:21 +00:00
Brendan Allan d54c212df5 cleanup release workflow 2023-04-22 15:57:31 +08:00
Brendan Allan 7565b211d1
Releases with signatures (#752)
* package releases with signatures

* only include necessary stuff in generated artifacts

* Publish updater binaries

* proper glob for updater binaries

* use separate paths for unix and windows updaters

* make .app executable

* brendan dumb
2023-04-22 00:56:59 -07:00
Vítor Vasconcellos b49d215145
[ENG-489] FileThumb has incorrect dimensions for some thumbnails (#731)
* WIP Fix thumb incorrect size

* Fix sidebar thumb incorrect size
 - Fix ext pill incorrect positioning on first load

* Improve `Thumb` overall style behavior
- Fix incorrect position of the video extension pill
- Simplify `MediaView`'s `Thumb` usage by internalizing the `mediaAspectSquare` style
- Change `QuickPreview` to use `cover` and size 0 for `Thumb`

* Remove unused import

* Allow modifing the internal img className

* lint

* Apply PR feedback
- Remove superfluous true value in component property
- Rename ObjectKinds to ObjectKindKey

* Fix video ext pill not being properly positioned in MediaView(non square thumbnail) in prod build

* Fix video ext pill incorrect position (now for sure)
 - Replace img size logic with ResizeObserver
 - Add error handling when thumbnails fails to load

* Shorten variable names

* Fix IndexerRuleEditor isKeyOf

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-04-22 06:43:08 +00:00
Ericson "Fogo" Soares fa5671f614
[Eng 495] Better job report fields (#726)
* Changing action column on job table

* Introducing action and is_background info

* Requested changes
2023-04-22 06:17:50 +00:00
ameer2468 705f39aa2d
Job manager: remove filters (#751)
Update JobManager.tsx
2023-04-22 06:10:09 +00:00
Vítor Vasconcellos 24a3aedd7b
[ENG-384] Indexer rules editor (#723)
* WIP Create Indexer Rule UI + Backend api fix

* Complete IndexerEditor UI for creating new rules
- WIP testing to ensure all rules are parsed correctly
- Add utilities to satisfy the TypeScript typechecker
- Introduce a utility function to facilitate extracting information from an RSPCError
- Modify AddLocationDialog to utilize the aforementioned utility function

* Validation and submit logic is now functional
- Reorganize UI for improved user flow
- Implement validation and error messaging, replace some bare inputs with form inputs, and fix styling issues
- Resolve issues with post-processing of rules during submission
- Wrap editable portion of component in a `FormProvider` due to the `Form` being in a `Portal`
- Add specialized `ErrorMessage` component to `@sd/ui` library
- Update `AddLocationDialog` and `FormField` to utilize the new `ErrorMessage` component

* Fix submit not waiting for confirmation from backend
 - Reset form after submit
 - Disable form while submiting
 - Update form related dependencies

* Implement deleting an indexer rule
 - Modify indexer rule api route to disallow deleting default rules

* Fix form reset on error
 - Minor style adjustments
2023-04-22 04:30:11 +00:00
nikec 91f9b1bb9c
[ENG-521] Add quick preview with space (#749)
Add inspect with space
2023-04-22 04:21:57 +00:00
jake 4315cee147
[ENG-516] Prevent copies/cuts to the same source/dest (#748)
* add basic UI protection to stop cut/copies to the same path

* add rust src/dest protections

* fix pasting logic

* fix path canonicalization

* skip paths instead of overwriting them

* Using non-blocking ops and fixing some warnings

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2023-04-22 02:11:59 +00:00
nikec fc99fed00d
[ENG-519] Add additional selected index reset (#747)
Selected index reset
2023-04-21 17:50:49 -07:00
ameer2468 ee531a81fb
[ENG-473] - Job Manager UI Improvements (#745)
* add support for deleting a specific job

* wip

* Update JobManager.tsx

* Job manager design tweaks + popover open state ignore prop

* tweaks

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-04-21 17:08:32 -07:00
Brendan Allan 3b03ca6123 brendan is silly 2023-04-22 02:57:35 +08:00
Brendan Allan 46db121a09
Fix cache workflow (#746)
* use proper comparison

* Revert "use proper comparison"

This reverts commit 0271ea3d5c.

* bruh
2023-04-21 11:57:17 -07:00
Brendan Allan 27b1509ee6 use release for... releases 2023-04-22 02:46:23 +08:00
Brendan Allan 7d183a85c9 maybe? 2023-04-22 02:42:10 +08:00
Brendan Allan b5a3e05c9a
Update server (#744)
* release workflow

* tauriScript

* pnpm deps

* unify rust cache keys

* bruh

* basic manual updater stuff

* move updater override

* use existing publishing action

* use debug builds for desktop

* cache release builds too

* use release builds instead

* add workflow dispatch trigger

* remove branch from release workflow trigger
2023-04-21 10:02:31 -07:00
Utku 637efd4701
[ENG-477] - New team members (#743)
new team members
2023-04-21 15:49:41 +00:00
nikec 761724696d
[ENG-513] Disable & comment out non-ready settings (#742)
* Comment and disable things that aren't ready

* disable node inputs

* hide debug mode in prod
2023-04-21 15:34:52 +00:00
nikec df0e24a56c
[ENG-508] Filter locations (#737)
Filter locations
2023-04-21 14:51:48 +00:00
Brendan Allan 469a3831dc
Explorer search (#738)
* basic file path search

* cleanup

* render explorer in search page

* update materialized path docs
2023-04-21 14:49:46 +00:00
nikec 4aef16b849
[ENG-509] Update libraries settings (#739)
Update libs settings
2023-04-21 14:42:06 +00:00
nikec d8aa70cca4
[ENG-512] Fix empty explorer view (#741)
Fix initial render
2023-04-21 14:31:05 +00:00
nikec d519af6448
[ENG-506] Disable links (#735)
* disable link

* Update Link.tsx
2023-04-21 14:22:10 +00:00
Vítor Vasconcellos 7b6dbe4fe3
[ENG-492] Onboarding "set password" feels kinda clunky (#734)
* Minor improvements to some onboarding screens
 - Add transitions to the password form
 - Fix tab order in the Password form
 - Remove unimplemented `import Library` button
 - Some minor style changes to button focus and form validation error messages

* password eye tabindex
2023-04-21 14:18:16 +00:00
Vítor Vasconcellos baf11cfa49
Misc UI fixes (#725)
* Misc UI fixes
 - Solve React dev warning due to not using ref in a fowardRef
 - Show title in alertDialog

* Partial revert "Misc UI fixes"

* Remove console.log from 'OptionsPanel.tsx'
- Replace invalidateQuery with refresh for `locations.list` in `AddLocationDialog`

* Format `Select.tsx`
 - Update turbo to fix https://github.com/vercel/turbo/issues/3598
2023-04-21 13:13:03 +00:00
nikec df8cd4b4fa
[ENG-507] Set active inspector button (#736)
Set active inspector button
2023-04-21 12:01:46 +00:00
Brendan Allan aeb2d2de1f
Cleanup TopBar (#733)
cleanup
2023-04-21 03:06:34 -07:00
ameer2468 a9c970ef81
Quick fix (#732)
put back in media onclick view - also removed a hook we dont need anymore
2023-04-21 01:32:30 -07:00
Jamie Pine e0b813e054
UI tweaks*
- Switched default Media View to squares
- Removed Media View item rounded
- Removed debug sidebar item
- Grey'd out non-functional empty
screens (I'd like to add)
- Removed junk on Overview
- Removed ring effect on buttons
2023-04-21 00:58:50 -07:00
ameer2468 732f9e4a30
[ENG]-487: Toolbar now uses Context API & Portal (#724)
* Toolbar now uses context api and tools can now be defined within their own route index instead of all in one place

* update

* Update index.tsx

* inline

* Updated to use portals

* lint & format

* format

* Update index.tsx

* fix requested changes

* cleanup

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-04-21 00:02:06 -07:00
nikec a97145348e
[ENG-295] Explorer media view (#730)
* remove unused onScroll

* Add open media file with double click

* Hide file thumb in inspector

* Enable media layout

* Add media layout options

* Add media view

* Fix vertical images

* Fix vertical square aspect

* query

* Update Location.tsx

* Some optimizations on explorer data query

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2023-04-21 02:15:22 +00:00
Oscar Beaumont ce6d2d2fda
Eng 494 adding a location does not update the UI (#728)
* `sd_init.json` support

* bruh

* Add `sd_init.json` to developer docs

* Ran cargo clippy --fix to fix warnings

* Dafuq, cargo clippy --fix messed up cargo fmt

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2023-04-20 22:05:57 +00:00
nikec efa28f3ee5
[ENG-497] Fix dialog overflow (#727)
Fix overflow
2023-04-20 14:34:36 +00:00
ameer2468 2fe523d9e9
[ENG-468]: Toggle Popover off on window resize (#713)
* Updated Popover so it toggles off on window resize

* un-necessary dependancy
2023-04-19 14:20:18 +00:00
nikec a7db52478c
[ENG 485] Improve create library dialog (#712)
* Move dialogs into router

* Prevent tab focus on show password button

* Add className props to radio group

* Add password strength meter to password input

* Add steps to dialog

* Update create library dialog

* Update select component

* Add select form field

* Add advanced options to create lib dialog

* Remove spacing

* Update checkbox styles

* Revert to single page, add checkbox & accordion, remove privacy

* Revert "Add className props to radio group"

This reverts commit e53e53cbdf.

* Move schema, switch to camel case

* Revert "Add steps to dialog"

This reverts commit e672e1c472.

* Revert "Prevent tab focus on show password button"

This reverts commit d42e4dc988.

* Add margin

* add debounce to password strength

* Update select
2023-04-19 07:54:55 +00:00
Ericson "Fogo" Soares f684660a90
Checking if new location is nested or already exists (#716)
* Checking if new location is nested or already exists

* Also checking for children locations on check nested

* Rust fmt
2023-04-19 05:03:28 +00:00