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

[New arch] OCFileListFragment isolation #2869

Closed
44 of 52 tasks
abelgardep opened this issue Apr 29, 2020 · 4 comments · Fixed by #3517
Closed
44 of 52 tasks

[New arch] OCFileListFragment isolation #2869

abelgardep opened this issue Apr 29, 2020 · 4 comments · Fixed by #3517

Comments

@abelgardep
Copy link
Contributor

abelgardep commented Apr 29, 2020

Currently, there are several fragments to list files, it would be great to unify them and get rid of activities dependencies.

(Good to have) Adapter refactors, use a recycler view to show the list of files, use diff util to increase performance, use already created FilesViewModel, get files from DB as Flow and Pagination for better performance.

Tasks

Check if it would be feasible to use this fragment to show the file list in ReceiveExternalFilesActivity

  • Retrieve files in a flow or live data to get auto-updates (new usecase, add it to repository, dao, local datasource)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

Bugs to fix:

@fesave
Copy link
Contributor

fesave commented Dec 14, 2021

device-2021-12-14-092239.mp4

We want to propose a change of functionality taking advantage of the task of re-architecting the application. As you can see in the video, currently the type of view (List or Grid) is configured by folder and not globally. We believe that if it were configured globally it would be easier to use for the user, because right now he must go folder by folder configuring his desired view type. We have seen that other apps work this way and we think it is simpler and would help us to simplify the code. What do you think?

cc @michaelstingl @tbsbdr @hosy @jesmrec @abelgardep @JuancaG05

@tbsbdr
Copy link

tbsbdr commented Dec 14, 2021

afaik ux-wise there is no "standard" expected behaviour if the view-setting should be set "per single folder" or "globally" (looking at windows explorer, mac os finder; mobile apps: dropbox, box, onedrive, google drive - no consistent behaviour if the view settings are set "per single folder" or "globally"). both approaches are legit.
I would be fine with setting it globally and would then also implement it this way for the web ui.

@abelgardep
Copy link
Contributor Author

Known issues (8b38cb3)

@abelgardep
Copy link
Contributor Author

Let's close the issue, known issues will be fixed in upcoming PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment