Commit Graph

2525 Commits

Author SHA1 Message Date
ameer2468
f53e6c98ad [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
e5a0d49732 [ENG-1703] Fix file name overflow (#2267)
fix overflow
2024-04-01 10:52:36 +00:00
Utku
636eb07bfb [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
e3cc198be8 [MOB-67] Saved search UI (#2265)
save search ui
2024-03-30 20:56:58 +00:00
ameer2468
a943fddfea [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
d1bc7e076a 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
06ae5afb57 Revert "remove fixed filters" (#2261)
* Revert "remove fixed filters (#2257)"

This reverts commit 580fa851da.

* bump 0.2.10
2024-03-29 01:35:28 +00:00
Utku
040dbca655 Alpha 0.2.9 (#2260)
release 0.2.9
2024-03-28 23:05:04 +00:00
Brendan Allan
580fa851da 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
1ceda29224 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
ac5301b014 [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
7d350b2f54 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
5b225abf05 [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
7e149bc088 [ENG-1696] Fix Asian characters text wrapping (#2253)
no wrap
2024-03-27 10:27:23 +00:00
Brendan Allan
1609310d6d [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
Utku
12f46787a0 Alpha 0.2.8 (#2247)
alpha 0.2.8
2024-03-26 21:55:44 +00:00
Utku
57156a729b 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
421252878f 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
7f8dfbc793 [ENG-1691] Sync status subscription (#2246)
* sync status subscription

* clippy
2024-03-26 07:26:37 +00:00
Vítor Vasconcellos
2d345850b8 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
08208c5b25 Alpha 0.2.7 (#2244)
* Alpha 0.2.7

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

* Update index.tsx
2024-03-25 15:26:03 +00:00
ameer2468
128b6b9e07 Remove: video intro (#2240)
Update Layout.tsx
2024-03-24 12:57:08 +00:00
Julian Braha
83dc5577ec Make quic field of P2PManager private (#2234)
Make P2PManager.quic private
2024-03-24 03:45:12 +00:00
Utku
8d8ae922fb fix language select (#2238) 2024-03-23 23:30:26 +00:00
Arnab Chakraborty
25a403807e 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
dcb4ace969 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
ff6a2f0d60 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
a5c25b94ab [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
8dfcaf5e5b 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
e8227b1534 fix topbar hmr (#2231) 2024-03-22 06:29:14 +00:00
Oscar Beaumont
f14f24aeb1 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
4893d041cf Update npmrc (#2227)
update npmrc
2024-03-21 15:37:43 +00:00
Jamie Pine
eddb8a5a6f Fix window not opening (#2224)
the fix
2024-03-20 07:07:20 +00:00
Vítor Vasconcellos
d04dbcbbfc [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
d6f899a93d Fix a couple of tests after #2218 (#2219)
- Fix some rust warnings
2024-03-19 02:23:42 +00:00
Lynx
98a4ba8d94 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
Brendan Allan
a82dc72a77 fix cloud sync and operations (#2218)
* fix cloud sync and operations

* remove some logs

* cleanup
2024-03-18 08:51:16 +00:00
Oscar Beaumont
2d42b395d6 Fix node rename with P2P (#2217)
ezy clap
2024-03-18 08:27:39 +00:00
Jamie Pine
bb5c135471 Roadmap updates (#2209)
* roadmap updates

* moved target

* Update setup.mdx

* Update setup.mdx

Add Notice about possible Docker Warning that Spacedrive Server runs the best on Linux/amd64.

Also added a warning that mobile is not ready for public beta testing yet.

* fix setup

* docs: add note about appimage log viewing

* docs: add URL to github issues regarding bug reporting

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-16 01:34:11 +00:00
ameer2468
24d23b9b02 [MOB-66] Black theme & more (#2213)
* wip, black theme and updates

* wip

* More tweaks and adjustments

* eslint

* Move some components into their own file

* lint interface onboarding

* remove mobile obj and move into app

* remove navback prop since native stack does it
2024-03-16 00:56:34 +00:00
Utku
958fbd58bb Use native navigator on mobile (#2214)
* native

* types
2024-03-15 23:33:14 +00:00
Oscar Beaumont
8539548f4b Serve remote files over p2p (#2211)
should work?
2024-03-15 06:48:57 +00:00
Arnab Chakraborty
3a95da1cd6 Working Location-Watcher system for Android app (#2212)
* Update android.rs

* Clean up

* import `debug`

* `cargo fmt`
2024-03-15 05:38:32 +00:00
nikec
4e9540e819 [ENG-1685] Fix 'ExplorerContext.Provider not found!' (#2210)
fix context
2024-03-14 12:07:58 +00:00
Oscar Beaumont
4db59b41ad P2P Metadata Cache + Sidebar (#2208)
* wip

* wip

* Render peers in sidebar

* clippy

* stringify on server

* don't stringify

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-03-14 09:12:29 +00:00
Jamie Pine
495108c797 .spacedrive fail silent fix (#2206)
fix
2024-03-14 04:38:41 +00:00
Oscar Beaumont
fbe1fa2383 Rename P2P crate (#2207)
`sd_p2p2` to `sd_p2p`
2024-03-14 04:38:31 +00:00
Jamie Pine
e3f7d74c9d Landing updates (#2205)
* team page mods

* remove bloom, always hated it on this screen

* fix matthew url

* add arnab
2024-03-14 00:39:46 +00:00
Brendan Allan
d93367316c add message request drop test (#2201)
* Fix sync tests

* fix build

* add message request drop test

* fix: clippy

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-13 22:16:51 +00:00