Skip to content

Move file via uploader - #1542

Closed
tobiasKaminsky wants to merge 3 commits into
masterfrom
moveViaUploader
Closed

tobiasKaminsky wants to merge 3 commits into
masterfrom
moveViaUploader

Conversation

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

When sharing a file with owncloud it is now possible to choose between copy and move, just like in the upload from within our app.
But in despite of this the default is always copy (as e.g. no one wants to move whatsapp images to owncloud as this might break the app).
Of course it can happen that a file is moved during sharing that cannot be moved (e.g. a cached image), then it will just copy it and fails silently.

@AndyScherzinger can you help me with the layout? I tried to do the same as in the upload_files_layout.xml, but it does not really work :/

wronglayout

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @przybylski, @davivel and @andromaex to be potential reviewers

Comment thread res/layout/uploader_layout.xml Outdated
<FrameLayout
android:layout_height="388dp"
android:layout_width="match_parent"
android:id="@+id/frameLayout1">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you are never accessing this layout in code then you should remove this id.

@przybylski

Copy link
Copy Markdown
Contributor

Review done

@przybylski

Copy link
Copy Markdown
Contributor

@tobiasKaminsky about your layout problems. You need to make the weight of file list 1 so it would stretch to the whole screen.
As a design i would remove "choose upload folder:" view and move that to actionbar title.
Since this is triggered via system and chooser user already knows what app is he in, We don't need to take precious space and announce everywhere that he is in ownCloud (he knows that :) but that just my two ¢)

@tobiasKaminsky

Copy link
Copy Markdown
Contributor Author

Thanks for the hint with weight=1.
Regarding the title and remaining layout: I left everything unchanged.
But it is a really good idea to change this.
Is this ok for you, @jancborchardt?

@jancborchardt

Copy link
Copy Markdown
Contributor

Yeah, @przybylski’s suggestion sounds good. :)

@jesmrec

jesmrec commented Jun 26, 2019

Copy link
Copy Markdown
Member

Native uploader available. Closing this,

@jesmrec jesmrec closed this Jun 26, 2019
@hannesa2
hannesa2 deleted the moveViaUploader branch July 12, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants