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

Combine new+upload and move to sidebar #18589

Closed
wants to merge 1 commit into from
Closed

Conversation

PVince81
Copy link
Contributor

This has several advantages:

  • simplify means of creating and uploading files into one
  • adjust »New« menu« to ownCloud bubble style
  • have the button at the same place always
  • more space for breadcrumbs on mobile

The proposed flow:
new file menu

As discussed @PVince81 @karlitschek cc @owncloud/designers
(In the uploading entry, there needs to be a progress bar and an x icon to cancel it. That’s details we can adjust.)

@PVince81 we need to take care that the button is hidden in the other views like favorites, shared. And also that it’s still placed in the breadcrumbs bar for shared files.

(Similar to #7031)

@enoch85
Copy link
Member

enoch85 commented Aug 26, 2015

Very neat! 👍 Could the progress bar count %, or MB maybe?

@jancborchardt
Copy link
Member Author

@enoch85 maybe as a tooltip, yes.

@MorrisJobke
Copy link
Contributor

Very neat! 👍 Could the progress bar count %, or MB maybe?

See #10326

@enoch85
Copy link
Member

enoch85 commented Aug 26, 2015

@MorrisJobke Thanks for linking. Problem is, that WIP seems to be dead unfortunately.

@MorrisJobke
Copy link
Contributor

@MorrisJobke Thanks for linking. Problem is, that WIP seems to be dead unfortunately.

Sure, but could be a good starting point ;)

@scrutinizer-notifier
Copy link

A new inspection was created.

@PVince81
Copy link
Contributor

Argh... just when I tried the new shiny "hub pull-request" command, it decided to convert this issue to a pull request... I thought it would just reference it.

Well, anyway, try it out 😄

What is done so far:

  • moved upload button to the sidebar as "+" button with the menu
  • "+" button hides when switching section
  • "+" button is disabled when inside a read-only folder
  • public page still works as before

TODOs:

  • TODO: progress bar

@jancborchardt I have concerns regarding the progress bar: if we implement like in the mock up, we still need a different solution for the public link page. @nickvergessen suggested a different approach where we add a thin row under the controls bar (with witdth:100%) and show the progress bar there. The cancel button could be at the right of the controls bar. And this for all views, regular file list and public link page.
I'd like to avoid having two different implementations/behavior for the progress bar.

  • TODO: implement unit tests
  • TODO: tooltip for max upload size ?
  • BUG: tooltip doesn't work
  • TEST: in IE8 and IE9 ...

@jancborchardt @nickvergessen @schiesbn @Xenopathic @karlitschek @DeepDiver1975

@PVince81
Copy link
Contributor

  • TODO: fix alignments/jumpy behavior inside the menu when switching states

@MorrisJobke
Copy link
Contributor

Argh... just when I tried the new shiny "hub pull-request" command, it decided to convert this issue to a pull request... I thought it would just reference it.

Neat :)

@PVince81
Copy link
Contributor

Due to the various design complications we (with @jancborchardt) to do a smaller step and first combine the upload action into the menu.

This is done in this PR: #18630
We can discuss and solve the progress bar and public page issues later.

@PVince81 PVince81 modified the milestones: 9.0-next, 8.2-current Aug 28, 2015
@karlitschek
Copy link
Contributor

ping :-)

@jancborchardt
Copy link
Member Author

@karlitschek so now that we’re using the new solution since some time: Is it cool like that, or should we move it to the sidebar too? Drawbacks I see with that:

  • will look a bit strange with the button next to »All files«, but even worse with it as an own button (as described above) because of the sidebar jumping around when the function is not available (like in Favorites and the other views)
  • very little space for the loading bar, or we need to insert it strangely below (which will also result in the other entries jumping)
  • it’s really tedious to reach on mobile

What do you think? Also cc @owncloud/designers

@PVince81
Copy link
Contributor

PVince81 commented Nov 2, 2015

I'd vote for leaving the button where it is now in 8.2. Also note that in the public link page the button will still have to be in the top bar, so from the code perspective it will be two different code paths to support.

@MorrisJobke
Copy link
Contributor

I would also leave it in the controls bar.

@nickvergessen
Copy link
Contributor

Same here, we have more important stuff to design and implement...
Close?

@MorrisJobke
Copy link
Contributor

Close because the current approach is quite good.

@MorrisJobke MorrisJobke closed this Nov 3, 2015
@MorrisJobke MorrisJobke deleted the files-moveuploadbutton branch November 3, 2015 12:22
@karlitschek
Copy link
Contributor

guys. We have to talk about this before just closing this pull request for a feature that was discussed.

@karlitschek
Copy link
Contributor

@jancborchardt Can we talk about this at our next opportunity and reopen this in the meantime please? Thanks

@nickvergessen nickvergessen restored the files-moveuploadbutton branch November 3, 2015 13:27
@nickvergessen nickvergessen reopened this Nov 3, 2015
@jancborchardt
Copy link
Member Author

Yeah folks, I specifically asked for @karlitschek so please don’t go rogue-closing discussions, thanks. ;)

@karlitschek
Copy link
Contributor

Let's leave this open for now and discuss at the next opportunity. Thanks

@PVince81
Copy link
Contributor

Did you get a chance to talk about this ?

@PVince81 PVince81 modified the milestones: 9.1-next, 9.0-current Feb 11, 2016
@PVince81
Copy link
Contributor

Moving to 9.1.

I guess you guys still want to discuss this ?

@karlitschek
Copy link
Contributor

@jancborchardt Do you still think we should do this? or drop it?

@jancborchardt
Copy link
Member Author

@karlitschek after some more thinking about it I would say the cons slightly outweigh the pros:

  • difficult to reach on mobile since it’s in the sidebar only
  • we don’t have a sidebar on the public sharing page so we need to put it in the controls bar here anyway

I’d say we close it for now and revisit it again at a later date when we feel the need for it. The mockup up top is still a valid solution, but maybe with time & using the current version we come up with something better.

@jancborchardt jancborchardt deleted the files-moveuploadbutton branch February 26, 2016 12:20
@MorrisJobke MorrisJobke removed this from the 9.1-next milestone Feb 26, 2016
@karlitschek
Copy link
Contributor

agreed. makes sense

@lock
Copy link

lock bot commented Aug 7, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants