Commit Graph

440 Commits

Author SHA1 Message Date
Brendan Allan
151c26dfd3 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
ba9948d457 [ENG-1288] Copy, cut, and paste shortcuts (#1591)
* copy paste shortcut

* add cut shortcut
2023-10-15 10:47:03 +00:00
pr
a55ff48f4b some light mode fixes (#1581) 2023-10-14 07:42:31 +00:00
Vítor Vasconcellos
1366df3159 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
1e9a470104 [ENG-1277] Windows open context menu key correction (#1576)
Update SharedItems.tsx
2023-10-13 17:01:30 +00:00
nikec
23486c7900 [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
8d653c778f [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
c3e90bf179 [ENG-1274] Update explorer path bar shortcut + keybindings (#1574)
Update explorer path bar shortcut + keybindings
2023-10-13 14:41:18 +00:00
ameer2468
043c4d9850 [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
d0619fecdd 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
4ede374a60 [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
7338d7f97f Cancel login (#1562)
* Cancel login

* Fix light mode styling

* use `text-ink` + `button`

* better
2023-10-13 07:39:26 +00:00
nikec
d4111842aa [ENG-1264] Improve file name truncating (#1557)
truncate
2023-10-13 05:02:40 +00:00
nikec
9cdb4efe5b [ENG-1266] Fix rename keybind (#1553)
Fix rename keybind
2023-10-13 02:10:06 +00:00
nikec
448876266f [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
ebd53e8173 [ENG-1262] Icon component for sd icons (#1550)
icon component for sd icons
2023-10-12 23:05:43 +00:00
nikec
18de4bca15 [ENG-1261] Fix AddLocationButton on ephemeral locations (#1549)
fix AddLocationButton cut
2023-10-12 19:05:42 +00:00
ameer2468
6c93c88b34 [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
163464994a [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
8da71da279 [ENG-1250] Fix windows mouse navigation (#1538)
Fix windows mouse navigation
2023-10-12 16:29:18 +00:00
ameer2468
55f0884d19 [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
ff4a43f85e 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
246e0ac712 [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
9ec96faaae Remove login from onboarding (#1524)
remove login from onboarding
2023-10-12 04:25:50 +00:00
ameer2468
c2b6b4499d [ENG-1249] Library description update fix (#1508)
Update general.tsx
2023-10-11 16:19:47 +00:00
nikec
da9666440a [ENG-1247] Fix overview categories (#1505)
fix categories
2023-10-11 15:57:06 +00:00
nikec
4f9800bc54 [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
79d5611991 [ENG-1244] Fix highlighted RenameTextBox text colour on light theme (#1499)
fix text color
2023-10-11 14:29:07 +00:00
ameer2468
51f99ea5ea [ENG-1245] Fix stats tooltip color (#1501)
Update Statistics.tsx
2023-10-11 14:28:56 +00:00
nikec
798317a103 [ENG-1237] Fix "Add device" tooltip (#1494)
fix tooltip
2023-10-11 10:10:41 +00:00
Percy Ma
7d0b09c5f9 fix: setting item in menu bar (#1485) 2023-10-11 08:32:23 +00:00
Oscar Beaumont
c120e9c23e Fix copyright text (#1476)
i'm a commit monkey
2023-10-11 05:57:13 +00:00
Jamie Pine
54d88e8871 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
ef6040504c toast (#1463) 2023-10-11 09:54:50 +08:00
Jamie Pine
09a919c00b big bad bug fix moment (#1462) 2023-10-11 09:53:45 +08:00
jake
2a94298cf1 [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
8d8e0b17f7 [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
b796c017f6 [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
526bb9d129 useObjectsInfiniteQuery in tag route (#1457) 2023-10-10 19:53:00 +00:00
jake
79a92d86d6 [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
881ebae1ca [ENG-1217] Fix update delay and debouncing settings (#1453)
Update useExplorer.ts
2023-10-10 13:54:14 +00:00
ameer2468
ae3d35cc38 [ENG-1216] Feedback dialog form bug (#1452)
Update FeedbackDialog.tsx
2023-10-10 12:25:57 +00:00
Brendan Allan
af85ca95e9 [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
56f0d9b749 [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
3142164cc5 [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
10a10c56ad [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
bd7e2c1796 [ENG-1202] Location dialog visual improvements (#1445)
Visual improvements to location dialog
2023-10-09 09:49:47 +00:00
Brendan Allan
0ecd34db3d 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
f1112b737e [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
a3da0460ce 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