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

Operations/Activity view #165

Open
jesmrec opened this issue Nov 22, 2018 · 2 comments
Open

Operations/Activity view #165

jesmrec opened this issue Nov 22, 2018 · 2 comments

Comments

@jesmrec
Copy link
Contributor

jesmrec commented Nov 22, 2018

Operations to define:

Downloads
File operations: delete, rename, duplicate, move
...


Uploads:

As user i want to check the status of my uploads, so that i can perform some actions over them (cancel, clear...)

We can take the view with a shortcut in the footer bar (related: #164)

To define: mockups of the view.

Some requirements already defined in the containing epic. Here we are:

Status of uploads:

  • Pending: files queued, to be uploaded. Information to be shown:

     - Name of the file
     - Target folder, including the account name
     - Option to cancel
    
  • On course: currently being performed. Information to be shown:

     - Name of the file
     - Progress bar (including the % is a n2h)
     - Option to cancel
     - Options to pause/resume, once webDav endpoint supports chunks. Checking before if currently the core supports this.
    
  • Failed: something wrong happened. Depending on the cause, user can select next action to do (check below). Information to be shown:

      - Name of the file
      - Target folder, including the account name
      - Reason of the failure
      - Indicate/enable any way to retry (by tapping, swiping or whatever...)
      - Option to discard
    

-Success: Information to be shown:

     - Name of the file
     - Target folder, including the account name
     - Timestamp of the success

Different ways to show the user all these lists:

     - Consecutive list (current iOS & Android)
     - Tabs
     - Other iOS resources

The uploads view should also include options to clear all and each one of the lists above.

Failed uploads

Failed uploads deserve a separate management, so the cause of the failure will point to a different use case.

List of posible errors and the action to do when the user retries:

  • Lack of connection -> check if connection is available. If not, remains as failed. If it is, move all failed to pending.
  • Credentials error -> point to edit view
  • Target folder removed -> choose a new location
  • Source file removed -> only option to discard
  • Server maintenance mode -> check if server is in maintenance. If it is, remains as failed. If not, move all failed to pending.
  • Firewall rule bans the upload: will depend on the rule... further specification TO DO.
  • Antivirus bans the upload -> only option to discard
  • No quota available -> check if enough qouta. If it is, move all failed to pending. If not, remains as failed.
  • Conflicting: A file already exist with the current name. User has the choice to select if the file is duplicated or not.
@jesmrec
Copy link
Contributor Author

jesmrec commented Dec 4, 2018

As was discussed, this issue is intended to define a new view to check all activity in the app, not only Uploads. All pending actions can be reviewed.

So, the question here is... does the SyncJornal have any mechanism/api to retrieve the queue and status of all operations to be handled in the app? @felix-schwarz

CC @michaelstingl @javiergonzper @pablocarmu

@jesmrec jesmrec changed the title Uploads view Operations/Activity view Dec 4, 2018
@jesmrec jesmrec added sdk-involved Requires SDK development or discussion discussion labels Dec 4, 2018
@michaelstingl michaelstingl modified the milestones: 0.3.0, 0.4.0 Jan 4, 2019
@michaelstingl michaelstingl added the p3-medium Normal priority label Jan 22, 2019
@felix-schwarz
Copy link
Contributor

As of 0874e7b, there's now an activity view showing the current status of the sync engine.

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

No branches or pull requests

3 participants