Commit graph

2897 commits

Author SHA1 Message Date
Brendan Allan f168b5e45d
Better search (#2262)
* Revert "Revert "remove fixed filters" (#2261)"

This reverts commit 5b40cefe37.

* search sources

* only set default filters if no filters

* key saved search page on id and use raw search as searchbar default

* fix crate versions

* put media view filters in a dedicated hook

* remove ts-reset

* add comment about <Inner>

* generics!

* cleanup

* search paths/objects switch (#2278)

* feature flag target switcher

* use useZodParams in saved search route
2024-04-05 15:40:46 +00:00
Vítor Vasconcellos 6bb94e3507
Fix pnpm prep fails to download native-deps on some specific network env (#2275)
* Fix pnpm prep failing to download native-deps on some specific network configurations

* Eslint/Prettier auto-format
2024-04-04 14:19:49 +00:00
Vítor Vasconcellos 595172a33a
Implement test retry for Mobile CI (#2281) 2024-04-04 14:19:35 +00:00
ameer2468 475d8bd88c
Correct width for button (#2284)
correct width for button
2024-04-04 10:41:22 +00:00
Arnab Chakraborty 888ab5639b
[ENG-1483] Right Click -> New File (#2276)
* feat: Right Click -> New File

Creates an empty file called `Untitled` and adds `(1) -> (n)` for n number of files with the same `Untitled` name.

* feat: Seperate into Text File and Empty File

* chore: `cargo fmt`

* fix: Forgot to type convert to String

* feat: Working creation

* fix: i18n changes

* More i18n

* All added tags now translated

* With proper types checking now!

* Fix types

* chore: formatting
2024-04-04 04:20:31 +00:00
Oscar Beaumont 232cbb33c2
Drop Tauri Plugin Window State (#2271)
do the thing
2024-04-03 17:58:43 +00:00
ameer2468 e34f37ddf9
[MOB-80] Drawer design improvement & more (#2274)
* draw design improvement

* lint

* view all buttons

* tweaks

* widths
2024-04-03 16:37:56 +00:00
ameer2468 ad964058e2
[ENG-1705] Locales for sizing units (#2273)
* locales for sizing units

* size_ keys

* keys

* Update common.json
2024-04-03 16:30:04 +00:00
Arnab Chakraborty 50282cd697
[ENG-1701] No More Infinite Text File Scrolling (#2272)
fix: No More Infinite Code Scrolling
2024-04-02 17:50:52 +00:00
ameer2468 c7df18d3b7
Improve location list item layout (#2270)
* Improve location list item layout

* remove unused import
2024-04-01 22:13:27 +00:00
ameer2468 5aa0e30c28
[ENG-1704] Location fixed width sizing (#2268)
Update ListItem.tsx
2024-04-01 18:31:52 +00:00
ameer2468 12f15fc96f
[ENG-1702] Fix space for command palette (#2269)
* Fix space for command palette

* Update index.tsx
2024-04-01 18:30:44 +00:00
nikec 862cd05c27
[ENG-1703] Fix file name overflow (#2267)
fix overflow
2024-04-01 10:52:36 +00:00
Utku f5c258e627
[MOB-77] Mobile Drawer (#2255)
* drawer and navigation

* Remove old job manager code

* make edit location/tags UX better

* hide settings bcs it exist on tabs

* we don't do index on mobile for screens + some organization

* make max w percantage
2024-04-01 10:41:00 +00:00
ameer2468 08825dd22f
[MOB-67] Saved search UI (#2265)
save search ui
2024-03-30 20:56:58 +00:00
ameer2468 21a0ec0869
[ENG-1699] Pin Job manager (#2264)
* wip

* minor cleanup

* Update Popover.tsx

* remove prop
2024-03-29 16:48:05 +00:00
Vítor Vasconcellos 5a7d15d284
Don't fail CI job if dorny/paths-filter step fails (#2263)
Don't fail CI job if `dorny/paths-filter` step fails
2024-03-29 06:28:00 +00:00
Utku 5b40cefe37
Revert "remove fixed filters" (#2261)
* Revert "remove fixed filters (#2257)"

This reverts commit 1959226fb9.

* bump 0.2.10
2024-03-29 01:35:28 +00:00
Utku 44c2854205
Alpha 0.2.9 (#2260)
release 0.2.9
2024-03-28 23:05:04 +00:00
Brendan Allan 1959226fb9
remove fixed filters (#2257)
* remove fixed filters

* fix: remove blank `console.log`

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-28 22:46:55 +00:00
Vítor Vasconcellos 99ed9006cf
Make Cypress tests more resilient (#2249)
* Replace macos-14 with ubuntu runner in cypress
- Replace macos-14 with macos-13 runner in clippy
 - macos14 runner has weaker hardware than other runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

* Remove pre-installed incompatible packages from ubuntu runner

https://github.com/actions/runner-images/issues/9546#issuecomment-2014940361

* Use ubuntu-20.04 for Cypress CI

* Adjust Cypress CI to follow common steps for linux env

* Debug preprep script

* Fix copy/paste typo

* Install playwright native dependencies

* Update release.yml

* Add  Remove 32-bit libs to setup-system

* Change Cypress CI to macos-13
 - Some small test fixes
 - Fix onboarding test must skip testing default location screen if no default locations os available

* Back to ubuntu for Cypress and back to macos-14 to clippy
- Attempt to fix empty default locations on ubuntu CI runner

* Oops

* Install playwright native deps

* Replace path regexs with consts
 - Click on share minimum when doing a fastOnboarding

* Try macos-14 again
2024-03-28 22:45:25 +00:00
nikec a6737e4440
[ENG-1698] Fix invisible thumbnails (#2258)
* fix size condition

* listen for listViewIconSize change

* fix invisible condition
2024-03-28 11:02:48 +00:00
Arnab Chakraborty a4a1f1b40a
Add Warning for SD Docker Container (#2256)
* Update setup.mdx

* Update items.ts

* Update items.ts
2024-03-28 04:52:36 +00:00
nikec 2f5271e453
[ENG-1215] List view size customisation (#2254)
* base

* calculate line height on demand

* fix max update

* fix max update on resize

* read types directly

* sizing

* better size handling

* also handle text box padding on demand
2024-03-27 15:15:07 +00:00
nikec b776e4c55c
[ENG-1696] Fix Asian characters text wrapping (#2253)
no wrap
2024-03-27 10:27:23 +00:00
Brendan Allan 902ed24ffd
[ENG-1674] fix request drop test and add write_ops test (#2252)
fix request drop test and add write_ops test
2024-03-27 06:40:57 +00:00
Arnab Chakraborty b69733ffd9
Update Hover Text on Landing Page (#2251)
Update page.tsx
2024-03-27 05:51:40 +00:00
Arnab Chakraborty f190dd3ff0
Copy button for code blocks (#2248)
* feat: Copy button for code blocks

Just a basic copy button in the code blocks so users can copy commands more easily. Inspired by Github's copy button.

* feat: Add Info for Image Cycler

A small little tooltip type text letting the user know that the image on the main page can be cycled through when hovered on.

* fix: Spelling mistake lol

* fix: Make button bigger so it looks centered

Make it look centered on one line big code blocks.

* fix: Tailwind Linting
2024-03-27 04:39:02 +00:00
Utku 83332dc94e
Alpha 0.2.8 (#2247)
alpha 0.2.8
2024-03-26 21:55:44 +00:00
Utku 9a1cdf1dca
Fix all the weird eslint warnings (#2245)
* actually fix the weird lint errors

* Prettier auto-format

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-03-26 20:46:44 +00:00
Utku 6277c8cb5f
Command Palette (#2228)
* bring it back

* move into folder

* fix shortcuts colliding

* tags

* fix key capture problems

* add 2 more actions + locations to cmd

* fix search navigation issue W @nikec

* fix saerch input

* improve scrollbar look and text on lightheme + fix edge view search showing

* useShortcut

* add cmdp to keybinds page

* killer i18n extension for vscode

* some missing keys and localized cmdk

* in lists that can change - it's better to use the id rather than index to avoid extra re-renders

* Update CMDKLocations.tsx

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-03-26 13:05:46 +00:00
Brendan Allan 94ca18925d
[ENG-1691] Sync status subscription (#2246)
* sync status subscription

* clippy
2024-03-26 07:26:37 +00:00
Vítor Vasconcellos 51acd0fd8e
Make mobile tests more resilient (#2236)
* Attempt at making mobile tests more resilient

* Forgot shell property

* Remove debug flag from run-maestro-tests.sh

* Fix kill command

* Improve device emulator launch code
 - Remove maestro version lock (expo is not using it anymore on their repo)
 - Use some of the same command expo uses to ensure device emulator launched

* ...

* ...

* Make grep timeout less strict

* Increase timeouts

* Downgrade macOS and Xcode

Following Expo changes:
cb7c90dac4
2024-03-25 19:42:37 +00:00
ameer2468 b34359e688
Alpha 0.2.7 (#2244)
* Alpha 0.2.7

* Update Cargo.lock
2024-03-25 19:42:01 +00:00
ameer2468 204c876689
[ENG-1693] Prevent default webview search (#2241)
* prevent default webview search

* Update index.tsx
2024-03-25 15:26:03 +00:00
ameer2468 5c3f15932b
Remove: video intro (#2240)
Update Layout.tsx
2024-03-24 12:57:08 +00:00
Julian Braha ff4d0cc519
Make quic field of P2PManager private (#2234)
Make P2PManager.quic private
2024-03-24 03:45:12 +00:00
Utku d52b720a12
fix language select (#2238) 2024-03-23 23:30:26 +00:00
Arnab Chakraborty 1baa5966d7
Remove the .unwrap() from the mobile core (#2237)
So, `.unwrap()` can cause issues when the core dies by throwing a panic. So, by moving to a `match` instead, we can stop the panic from occurring.
2024-03-23 21:33:57 +00:00
Vítor Vasconcellos e5b57aa0ea
New test: Add location (#2222)
* New test: Add location
 - Add script to download some test files to allows tests to have a stable path for creating locations
 - Improve onboarding test
 - Add custom Cypress commands for fastOnboarding and deleteLibrary
 - Add some documentation related to tests to CONTRIBUTING.md
 - Update some deps

* Download small test-data for Cypress CI

* Replace globstar with find to make it compatible with bash 3.x

* Fix react too many re-renders
 - add-location test should now pass successfully

* Make job model task text match less flaky

* Check if we were redirected to onboarding after Library was deleted
 - Check if sidebar entry was created after adding a location
 - Put route regex's into a separate file
 - Make onboarding test ensure that no Library exists before running

* Enable test retries
 - Log cypress default config during test run

* Run tests under webkit
 - Pass CI envvar to tests to ensure correct cypress config

* Attempt fix CI config again

* Remove single use checkUrlIsLibrary function
2024-03-23 21:24:16 +00:00
Utku 904f210fc1
Alpha 0.2.6 (#2232)
* bump 0.2.6

* Double Cypress timeouts when running on CI

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-03-23 01:27:11 +00:00
ameer2468 e148028e2f
[MOB-75] New screens, design fixes, and more (#2229)
* WIP: categories screen, design updates, and more

* redesigned import modal, android ui fixes, and more

* more ui fixes and improvements

* more ui tweaks and updates

* change color

* pnpm-lock

* Update LocationSettings.tsx

* Update BrowseTags.tsx

* eslint

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Update BrowseTags.tsx
2024-03-22 14:12:30 +00:00
Brendan Allan d99b65f385
upsert sync timestamp rather than overwrite (#2230)
* upsert sync timestamp rather than overwrite

* rename create_instance to upsert_instance

* bruh

* bruh
2024-03-22 06:33:35 +00:00
Brendan Allan 697dc50ea2
fix topbar hmr (#2231) 2024-03-22 06:29:14 +00:00
Oscar Beaumont f2477d47d9
Remove IdentityOrRemoteIdentity (#2220)
* wip

* wip

* fix migrations

* fix

* Fix Prisma migrations + fire new app migration

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-22 01:18:50 +00:00
Oscar Beaumont 91b350bd25
Update npmrc (#2227)
update npmrc
2024-03-21 15:37:43 +00:00
Jamie Pine a9f464345a
Fix window not opening (#2224)
the fix
2024-03-20 07:07:20 +00:00
Vítor Vasconcellos 08c42a36fe
[ENG-1624] E2E Tests (#2192)
* Basic cypress test

* Add e2e test command

* Add full e2e test for creating and deleting a library

* Add cypress to CI

* Fix cypress CI
 - Use arm macos for running cypress
 - Setup rust on cypress job
 - Increase cypress CI timeout

* Remove unused APPLE_SIGNING_IDENTITY envvar

* Update deps again + Try to fix Cypress CI setup

* Update deps again

* Only test default location if it exists

* Use latest v18 NodeJS in CI

* Increase minimum node version due to updated dependency
 - @typescript-eslint/eslint-plugin now requires node >=18.18

* Fix testing failing for optional default locations

* Enable video recording
 - Fix screenshot and video artifact uploading

* Fix location test
 - Use correct location name, instead of trying to derive it from the internal id
2024-03-19 20:22:17 +00:00
Vítor Vasconcellos 16354b0f72
Fix a couple of tests after #2218 (#2219)
- Fix some rust warnings
2024-03-19 02:23:42 +00:00
Lynx 1acf90e8cf
Hide .spacedrive file on Windows (#2216)
* Hide `.spacedrive` file on Windows

* Use hard-coded hidden file attribute

* Remove winapi crate

* fix: use `?` operator instead of `unwrap`

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-18 12:28:54 +00:00