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

Improve FileDrop View #8511

Closed
wants to merge 21 commits into from
Closed

Improve FileDrop View #8511

wants to merge 21 commits into from

Conversation

hurradieweltgehtunter
Copy link
Contributor

@hurradieweltgehtunter hurradieweltgehtunter commented Feb 28, 2023

Description

Improve Layout of FileDrop view

Motivation and Context

The FileDrop View is an external endpoint, which gets presented to users possible not knowing what a FileDrop or even ownCloud is. The current layout does not provide any information about it and does not offer clear instructions what to do, where to click.
Also, current status of (german) translations are ... well ... 💩

Screenshots (if appropriate):

Before:
grafik

After:
grafik

Drag `n Drop state:
grafik

After upload showing file infos:
grafik

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Clarify why code changes are not compiled
  • Add translation strings to transifex and back

@hurradieweltgehtunter hurradieweltgehtunter added the Interaction:Needs-help Asking some hints to engineering when the issue can't be reproduced label Feb 28, 2023
@hurradieweltgehtunter hurradieweltgehtunter self-assigned this Feb 28, 2023
@update-docs
Copy link

update-docs bot commented Feb 28, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@hurradieweltgehtunter
Copy link
Contributor Author

hurradieweltgehtunter commented Feb 28, 2023

Not sure what I'm doing wrong, but while changes to other components or views get compiled and shown in browser immediately, the changes in the filedrop view (see changed files) do not have any impact in the browser 🤷 Caching issue maybe? (is there even a cache?)
Docker + Vite is running

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hurradieweltgehtunter hurradieweltgehtunter changed the title temporary changes Improve FileDrop View Feb 28, 2023
@kulmann
Copy link
Contributor

kulmann commented Feb 28, 2023

Not sure what I'm doing wrong, but while changes to other components or views get compiled and shown in browser immediately, the changes in the filedrop view (see changed files) do not have any impact in the browser 🤷 Caching issue maybe? (is there even a cache?)
Docker + Vite is running

Ok so that's a little mean... the backend doesn't know anything about you running the frontend with vite. So the public link that you copy is on port 9200, but vite is running on port 9201. So for public links you need to modify the copied URL to get the pleasure of the vite dev experience.

Example:
copied url: https://host.docker.internal:9200/s/ZbBsOLkHqannLUt
manually modified url: https://host.docker.internal:9201/index.html#/s/ZbBsOLkHqannLUt

@hurradieweltgehtunter
Copy link
Contributor Author

hurradieweltgehtunter commented Feb 28, 2023

Some issues I was not able to solve:

  • How to hide the default snackbar/notification upload status bottom right? Right now it's displayed twice
  • How to get the new strings into transifex and back?

@ChrisEdS
Copy link

image

Can you try to make that line a bit more prominent? Also, I'm not sure what the original string is, but we should remove "Folder" and add "Resource". Technically this is a folder, but user facing there is no "folder" - it's a bit misleading.

@hurradieweltgehtunter
Copy link
Contributor Author

image

Can you try to make that line a bit more prominent? Also, I'm not sure what the original string is, but we should remove "Folder" and add "Resource". Technically this is a folder, but user facing there is no "folder" - it's a bit misleading.

I made it “un”-prominent on purpose because it does not contain any primary relevant information to the receiving user. The only primary information IMO is “Choose a file or drag it here”, that's the primary action and the whole purpose of this page. Everything else is subordinate to this.

folder/resource: Yes, you are right, I'm not happy with the current state. But since we'll work on the textual contents next week, I'd wait for the outcome, then see what fits best.

@hurradieweltgehtunter hurradieweltgehtunter added Category:Enhancement Add new functionality Status:In-Progress and removed Interaction:Needs-help Asking some hints to engineering when the issue can't be reproduced labels Mar 1, 2023
@ChrisEdS
Copy link

ChrisEdS commented Mar 8, 2023

I made it “un”-prominent on purpose because it does not contain any primary relevant information to the receiving user.

The information who invited me to upload files seems important to me, but I'm good with the current look as well!

This enhancement will go into 7.0.0, right? Is there something I can help with to speed up things?

@hurradieweltgehtunter
Copy link
Contributor Author

I made it “un”-prominent on purpose because it does not contain any primary relevant information to the receiving user.

The information who invited me to upload files seems important to me, but I'm good with the current look as well!

This enhancement will go into 7.0.0, right? Is there something I can help with to speed up things?

Some work is in the making. Some more patience required :)

@CLAassistant
Copy link

CLAassistant commented Mar 14, 2023

CLA assistant check
All committers have signed the CLA.

@hurradieweltgehtunter
Copy link
Contributor Author

Final layout after talking to marketing and @tbsbdr looks like this:

grafik

@ChrisEdS
Copy link

Love it!

@hurradieweltgehtunter
Copy link
Contributor Author

hurradieweltgehtunter commented Mar 14, 2023

Done from my side. Left to do:

  • handle translations
  • tests

@hurradieweltgehtunter hurradieweltgehtunter added the Status:Needs-Review Needs review from a maintainer label Mar 14, 2023
@ChrisEdS
Copy link

Done from my side. Left to do:

  • handle translations
  • tests

Good work from your side @hurradieweltgehtunter. Who is taking care about the rest?

@AlexAndBear
Copy link
Contributor

Love it so far but the text "You can drag n drop the file here or choose to upload" is a little unnecessary in my opinion.

Also I don't get the lower banner/branding? Looks a little chaotic to me

@ChrisEdS
Copy link

ChrisEdS commented Apr 4, 2023

Yes, and it is way to big and can be moved more to the bottom?

@hurradieweltgehtunter
Copy link
Contributor Author

Love it so far but the text "You can drag n drop the file here or choose to upload" is a little unnecessary in my opinion.

Do you mean the "What is this" text part? IMO a short explanation of what the user sees and is able to do might be essential. The receiving user might not know, at all, what to do, especially since he or she is for sure not registered on the serving instance.

@AlexAndBear
Copy link
Contributor

AlexAndBear commented Apr 6, 2023

IHMO choose a file or drag it here is self explaining. I don't think we add much value telling the user, that a file picker will open.

I would rather go a little into detail about the upload link

@ChrisEdS
Copy link

ChrisEdS commented Apr 6, 2023

IHMO choose a file or drag it here is self explaining. I don't think we add much value telling the user, that a file picker will open.

I think it makes sense to explain it. Is a good opening to the text that follows.
For us it is obvious what will happen but what about the parents, kids and grandparents out there? I mean ownCloud is used by millions of people, why not help them a bit?

I would rather go a little into detail about the upload link

What do you have in mind?

@tbsbdr
Copy link

tbsbdr commented Apr 10, 2023

I'd love to discuss and improve this at the beginning of may

@ChrisEdS
Copy link

@tbsbdr Can we continue with that PR?

@tbsbdr
Copy link

tbsbdr commented Dec 14, 2023

Initial

  • Info: Albert Einstein is requesting files
  • Instruction: Drop files here to upload, or use the 'Upload' button.
  • CTA button in the center of attention Upload (same as in files app)
  • more decent note "Existing content is not revealed. Only Albert Einstein can see uploads."

image

Success

  • Info: Albert Einstein is requesting files
  • Success confirmation: ✅ Upload finished
  • Scrollbox lists sucessfully uploaded files
  • start over option: Add more files (user stays on site and sees always which files she had already uploaded - list grows)
  • summary Total 1 file, 4.4 MB

image

@kulmann
Copy link
Contributor

kulmann commented Feb 2, 2024

Thanks a ton for driving this @hurradieweltgehtunter ! To get it finally done, this is now superseded by #10438

@kulmann kulmann closed this Feb 2, 2024
@kulmann kulmann deleted the beautify-filedrop branch September 5, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality Status:In-Progress Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants