-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Instantupload #181
Instantupload #181
Conversation
changes in progress #138 UI - improvements in InstantUploadActivity
…-adapters pattern - fix crash o orientation change at the InstantUploadActivity - add a more clean Activity design, all buttons are now menu entrys - remove 'failed upload menueentry' from submenu,if not failed upload exists - prevent start the InstantUploadActivity twice - adjust the string.xml for german
…ages at the list will be checked not only the visible
Hello, @davivel, since this merge is done, showing the first screen takes a Now have checked out the develop branch and I can see the slow behavior Is this a know bug, is someone working on? Matthias On 13.06.2013 13:31, masensio wrote:
|
Seems that the problem in performance comes from the recent addition of size of folders in the list. We need to change that implementation to something that does not calculate the size in the momento of showing the views.
Later, we should improve this by adding automatic synchronization of the current folder on browsing, as it is already requested in some other issue. As far as I know, nobody is working right now in these improvements. But before start with it, maybe you want to have a look to the commentaries I am adding right now about this pull request. EDIT: and the most important of the comments, below all the comments-in-code. |
@@ -59,7 +59,8 @@ | |||
</activity> | |||
<activity android:name=".ui.activity.UploadFilesActivity"> | |||
</activity> | |||
<activity android:name=".ui.activity.InstantUploadActivity"> | |||
<activity android:name=".ui.activity.InstantUploadActivity" | |||
android:launchMode="singleTop"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why singleTop ? This can affect the workflow of the app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this is a wrong way, but I had the problem when the activity was
already open an I clicked to a new failure notification, the activity was
opened twice.
Am 1. Juli 2013 10:20:12 schrieb "David A. Velasco" notifications@github.com:
@@ -59,7 +59,8 @@
<activity android:name=".ui.activity.InstantUploadActivity">
<activity android:name=".ui.activity.InstantUploadActivity"
android:launchMode="singleTop">
Why singleTop ? This can affect the workflow of the app.
Reply to this email directly or view it on GitHub:
https://github.com/owncloud/android/pull/181/files#r4957685
I am very sad about this, seems you did a great job improving this activity. But the thing is, this is coming late. At this moment we are actively working in provide a better upload service so that any failed upload (not just instant uploads) is automatically recovered when no input of the user is needed for it. That doesn't mean we don't want an activity where failed uploads are listed and may be manually retried ... indeed, it is in the backlog. We want a view where the user can access, specially, to the failed uploads that need some kind of input to be retried. But we definitely don't want that this activity deals only with instant uploads of pictures, but rather with any kind of upload. It is still work in progress, but the branch offline_uploads_new_file is getting the code for allowing file uploads although there is no network connection. By now, we just added a couple of fields in the general database of files so that we can keep track of what files should be 'uploading' or 'downloading'. Maybe in the near future we create a separate table for adding more information about an upload in progress, but we will probably get rid of the database where instant uploads are now being saved (your code accesses them through DbHandler), because there is no point in that the table is in a separated database. In summary: although you change the things I commented directly about the code, We don't know what to do with this pull request. We don't want to lose your collaboration, but this code only will have sense for being released in the app if we keep on changing it until it covers all kind of uploads (images or not). Let us know if that would be nice for you. |
thanks, but don't worry about your plans with the code, I jave some things but I think it is easy. to use this activity with an other table/database. Am 1. Juli 2013 10:55:12 schrieb "David A. Velasco" notifications@github.com:
|
No description provided.