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

[FEATURE REQUEST] Auto-refresh when a file is uploaded #4103

Closed
7 tasks done
Aitorbp opened this issue Jul 14, 2023 · 3 comments · Fixed by #4199
Closed
7 tasks done

[FEATURE REQUEST] Auto-refresh when a file is uploaded #4103

Aitorbp opened this issue Jul 14, 2023 · 3 comments · Fixed by #4199

Comments

@Aitorbp
Copy link
Contributor

Aitorbp commented Jul 14, 2023

Is your feature request related to a problem? Please describe.
When I create a file on the home screen after I've created it, this item doesn't appear in the feed. When a user uploads a file to the app, this item doesn't appear in the home screen feed in the first instance. You have to refresh the screen to see the new item. I think this functionality is not intuitive because when I come back from the upload file I don't see anything, so I think something is wrong or the file didn't upload.

Describe the solution you'd like
From my point of view, when the client returns to the main activity, the screen should refresh immediately. This way, users will see your download in the feed without the need to refresh the screen. It will improve the user experience.

Additional context
Next, I show you a video where you can see the current behavior.

Grabacion.2023-07-14.143047.mp4

TASKS

  • Research (if needed)
  • Create branch feature/refresh_after_upload
  • Development tasks
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/refresh_after_upload into master
@JuancaG05
Copy link
Collaborator

Some ideas here:

  • Detect when the upload worker has finished and, if we continue in the same folder, refresh it so that the view is updated with the new file
  • Add a badge in the uploads section of the bottom bar when there is something uploading (also when an upload has finished or failed)

More ideas welcome!

@abelgardep
Copy link
Contributor

Maybe you can trigger a SynchronizeFileUseCase in the final step of the upload, so you save the new file info in the database within the upload and it should appear immediately when u are in the same folder.

Or adding a file to the database when the operation finishes. At that point you know some info of the upload: path, owner, spaceId, I think that u also know the eTag, maybe the remoteId. The file should appear and will be synchronized with all the info the next time the user refreshes the folder.

@michaelstingl michaelstingl added this to the 4.2 - Future milestone Aug 21, 2023
@michaelstingl
Copy link
Contributor

For files being created and edited in web office now also trigger an auto refresh of the parent dir.

@jesmrec jesmrec added the p1-urgent Consider a hotfix release with only that fix (ex: lose trust, money, security issue, ...) label Oct 19, 2023
@JuancaG05 JuancaG05 changed the title [FEATURE REQUEST] show files on main screen after being created [FEATURE REQUEST] Show files on main screen after being created Oct 19, 2023
@JuancaG05 JuancaG05 modified the milestones: 4.2 - Future, 4.1 - Current Oct 19, 2023
@JuancaG05 JuancaG05 self-assigned this Oct 19, 2023
@JuancaG05 JuancaG05 linked a pull request Oct 23, 2023 that will close this issue
3 tasks
@JuancaG05 JuancaG05 changed the title [FEATURE REQUEST] Show files on main screen after being created [FEATURE REQUEST] Auto-refresh when a file is uploaded Oct 24, 2023
@jesmrec jesmrec removed the p1-urgent Consider a hotfix release with only that fix (ex: lose trust, money, security issue, ...) label Nov 6, 2023
@jesmrec jesmrec modified the milestones: 4.1 - Current, 4.2 - Future Nov 10, 2023
@JuancaG05 JuancaG05 removed the Sprint label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants