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

Fixed breadcrumbs calculation and actions flow #7478

Merged
merged 7 commits into from
Dec 22, 2017

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Dec 13, 2017

@MorrisJobke
Copy link
Member

In the files app the gallery button is not pushed to the left anymore once you open the sidebar. In the past the button was moved to the left of the sidebar once it was opened. This may be crucial in the future once the sidebar is open per default for wide screens.

Copy link
Contributor

@pixelipo pixelipo left a comment

Choose a reason for hiding this comment

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

Exactly how it should be solved (few CSS nitpicks aside)

Some work is needed in the gallery app PR.

@@ -21,6 +21,11 @@
.actions.creatable {
position: relative;
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we don't need this anymore.

display: flex;
flex: 1 1;
.button:not(:last-child) {
margin-right: 3px;
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason for this? AFAICS, it's only applies to button.new, which doesn't need it (#uploadprogresswrapper already has a left margin).

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, in case of other apps want to add their buttons, let them do it without needing to define specific margins :)

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, but then you can remove the margin from #uploadprogresswrapper

Copy link
Contributor

Choose a reason for hiding this comment

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

also, it should be #controls .button, not .actions.createable

Copy link
Member Author

Choose a reason for hiding this comment

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

All buttons should be in the .actions div now. Far better thann having buttons everywhere :)

Copy link
Contributor

Choose a reason for hiding this comment

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

perhaps, but definitely not in .createable ;)

@pixelipo
Copy link
Contributor

Should @MorrisJobke 's issue be fixed in this PR as well? I'm made a PR to this branch with a proposed solution to it: #7484

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Together with #7484 this works fine 👍

skjnldsv and others added 6 commits December 20, 2017 13:48
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the breadcrumbs-buttons-fixes-gallery branch from 8941bf3 to 3105a27 Compare December 20, 2017 12:50
@codecov
Copy link

codecov bot commented Dec 20, 2017

Codecov Report

Merging #7478 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7478   +/-   ##
=========================================
  Coverage     51.17%   51.17%           
  Complexity    24886    24886           
=========================================
  Files          1602     1602           
  Lines         94750    94750           
  Branches       1368     1368           
=========================================
  Hits          48486    48486           
  Misses        46264    46264
Impacted Files Coverage Δ Complexity Δ
lib/private/Files/Cache/Propagator.php 94.93% <0%> (-1.27%) 16% <0%> (ø)
apps/files_trashbin/lib/Trashbin.php 72.53% <0%> (+0.24%) 136% <0%> (ø) ⬇️

@skjnldsv
Copy link
Member Author

Okay, fixed zindex, rebased and seems fine! :)

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 21, 2017

Test fixed! There was an issue from #7051.... The test was basically useless ^^

We need to test the tests 😆

EDIT: tests passed! 🎉
PhantomJS 2.1.1 (Linux 0.0.0): Executed 1001 of 1003 (skipped 2) SUCCESS (26.416 secs / 25.362 secs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug design Design, UI, UX, etc. medium regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants