Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPACES] Use personal as a regular space #3920

Merged
merged 22 commits into from
Feb 28, 2023

Conversation

abelgardep
Copy link
Contributor

@abelgardep abelgardep commented Feb 17, 2023

Implements #3919

Includes potential fix to #3923


QA

Test plan: https://github.com/owncloud/QA/blob/master/Mobile/Android/Release_4.0/Personal%20Space%20Graph%20API.md

@abelgardep abelgardep self-assigned this Feb 17, 2023
Capabilities and spaces are mandatory to know if we need to work as a legacy account (oC10) or as a spaces account. Database and Storage hierarchy involved 👍
@abelgardep abelgardep force-pushed the spaces/account_discovery branch from ab39611 to c290e52 Compare February 20, 2023 07:03
@abelgardep abelgardep linked an issue Feb 21, 2023 that may be closed by this pull request
9 tasks
@abelgardep abelgardep marked this pull request as ready for review February 21, 2023 17:11
@abelgardep abelgardep requested a review from JuancaG05 February 21, 2023 17:11
@jesmrec jesmrec mentioned this pull request Feb 22, 2023
21 tasks
Copy link
Collaborator

@JuancaG05 JuancaG05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job @abelgardep, some comments here 🎶

@abelgardep abelgardep requested a review from JuancaG05 February 22, 2023 16:30
Copy link
Collaborator

@JuancaG05 JuancaG05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 23, 2023

(1) [FIXED]

  1. User1 shares a folder with User2 in oCIS server
  2. User2 accepts the share in web
  3. User2 opens app and clicks on Shares tab on the bottom bar -> folder listed there ✅
  4. User2 clicks on folder

Current: No shares view (intended? or next iteration?)
Expected: either folder is not clickable or clicking folder shows content (other options?)

Samsung A51, Android12
99c600d4c2

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 23, 2023

(2) [WONT FIX HERE]

  1. User1 shares files or folders with User2 in oCIS server (no accepted shares in user2 account)
  2. Install app from scratch
  3. Add oCIS account (User2)
  4. Open "Shares" tab -> empty ✅
  5. In web, user2 accepts all pending stuff
  6. In app, user2 refresh shares view

Current: No way to refresh, pull to refresh seems to be gone after fresh install. By switching tabs, it works
Expected: pull to refresh available the first time

Samsung A51, Android12
99c600d4c2

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 23, 2023

(3) [DONE]

question/discussion, maybe not to fix in this PR:

which operations to be available in shares view over the accepted shares:

  • Download: done and working ✅
  • Delete: it should be posible to remove the local copy, now it is not ❌
  • Copy / Move: Get a copy... i'd say yes. Move... i'd say no
  • Rename: no idea...
  • Av. offline: done and working ✅
  • Share: for resharing (not working -> error retrieved ❌ )

We could move this for next iterations, but please keep it in mind.

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 23, 2023

(4) [FIXED]

  1. User1 shares a PDF (or any file in a non-previewable format) with User2
  2. User2 accepts the share in web
  3. User2 opens app and Shares tab -> file is listed there ✅
  4. User2 clicks on PDF to download it -> download done in Details view

Current: no way to go back to list of shares. no back arrow. No reproducible in list of files
Expected: back arrow there

Samsung A51, Android12
99c600d4c2

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 23, 2023

(5) [FIXED]

in oCIS account

  1. Open personal space
  2. Click on lens icon on top bar
  3. Type some characters to look for

Current: search bar closes after every typed character
Expected: search bar does not close

NOTE: only happens in personal space and oCIS account. Not reproducible in spaces/main

device-2023-02-23-140104.mp4

Samsung A51, Android12
99c600d4c2

@abelgardep
Copy link
Contributor Author

abelgardep commented Feb 23, 2023

(1) Issue is that the folder is not refreshed after opening it. So it's empty locally. If we pull to refresh, the content will be fetched and displayed. Already in spaces/main when opening folders in the Links section. Should be fixed now.
(2) Could be related to #3919 (comment) Reproducible with the latest oCIS builds (fe: ocis.owncloud.works)?
(3) We maintain the same operations that were available in Links section on 3.0.3. We could delete the files from Details/Preview as a workaround. About the resharing error, I need to check it but I would move it to a different issue
(4) and (5) I'll check them 👍

@abelgardep abelgardep force-pushed the spaces/account_discovery branch from d4f64ee to 5ecf394 Compare February 24, 2023 14:02
@jesmrec
Copy link
Collaborator

jesmrec commented Feb 27, 2023

(1) -> fixed
(2) -> will be fixed when sharing feature is complete.
(3) -> moved to #3937. Removing from Details ftm.
(4) -> fixed
(5) -> fixed

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 27, 2023

#3923 fixed too

@jesmrec
Copy link
Collaborator

jesmrec commented Feb 28, 2023

Ready to go!!

@abelgardep abelgardep added this pull request to the merge queue Feb 28, 2023
Merged via the queue into spaces/main with commit 0116c8a Feb 28, 2023
@abelgardep abelgardep deleted the spaces/account_discovery branch February 28, 2023 07:58
@abelgardep abelgardep mentioned this pull request Feb 28, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SPACES] Use personal as a regular space
3 participants