Commit Graph

350 Commits

Author SHA1 Message Date
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
ameer2468
53828ce4d0 [ENG-1070] Dialog form button submit disabled if form is not valid (#1292)
* Feedback dialog cleanup, disable submit button of dialog if form not valid

* ts

* Update FeedbackDialog.tsx
2023-09-04 11:17:16 +00:00
Utku
18245a05f2 Fix job image (#1291)
fix job image
2023-09-04 10:17:40 +00:00
Ericson "Fogo" Soares
3b8541ef54 [ENG-1028] Media data for ephemeral locations (#1287)
Introducing new getEphemeralMediaData
Fixing some minor stuff
Running pnpm format

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-09-04 08:28:45 +00:00
Ericson "Fogo" Soares
7ace99cf1c [ENG-1063] Actually regenerate thumbnails on Regen Thumbnails button (#1288)
Done

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-09-02 23:15:41 +00:00
nikec
6fa8a124c8 [ENG-1064] replace alert dialogs with toasts (#1290)
* replace alert dialogs with toasts

* revert job error to alertDialog
2023-09-02 21:31:53 +00:00
nikec
e9acb3881c [ENG-1038] toast improvements (#1285)
* toast improvements

* improved toast message

* fix types

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-09-01 17:14:28 +00:00
ameer2468
0d5264a7c9 [ENG-809] Enter key submits dialog (#1279)
* enter key submit dialog

* code test

* input focus fix + dialog closes only if form is valid

* Update CreateDialog.tsx
2023-08-31 13:22:24 +00:00
Oscar Beaumont
f821bb9a0f Stop App Freezing (#1257)
* Drop Tauri custom URI handler
Me no likely but it has to be done.

* fix app startup with location

* fix "Add Location" button on web

* Serve correct content range

* Backport changes from 08ba4f91

* none of my homies like panics

* minor fixes

* fmt with new Rust version
2023-08-31 06:54:40 +00:00
ameer2468
46c4230a7c [ENG-775] Jobs clearing improvement (#1278)
Update index.tsx
2023-08-30 15:44:18 +00:00
nikec
87725d4b71 [ENG-991] copy location path indicator (#1276)
copy location path indicator
2023-08-30 14:36:36 +00:00
ameer2468
8a947c8791 [ENG-1017] Job name tooltip center (#1274)
Update JobContainer.tsx
2023-08-30 10:02:00 +00:00
Oscar Beaumont
e591516aff [ENG-401] Spacedrop betterer (#1273)
* Spacedrop progress on `useP2PEvents`

* Spacedrop Tauri file picker for saving

* Prompt for save location when closing dialog

* quick maths

* Spacedrop progress

* Spacedrop cancellation

* Move accept/cancel dialog to toast

* Toast when rejecting transfer

* yeet

* `useEffect` more like `useBug`
2023-08-30 08:07:23 +00:00
Vítor Vasconcellos
b2299ecee5 [ENG-1029] Fix pnpm assets gen not working with Prettier 3.0 (#1272)
Fix assets generation breaking due to prettier update to 3.0
 - Make assets generation async
 - Update prettier and babel deps
2023-08-30 03:44:02 +00:00