Skip to content

Fix download entry shown on public share menu when not in mobile - #15937

Merged
skjnldsv merged 2 commits into
masterfrom
fix-download-entry-shown-on-public-share-menu-when-not-in-mobile
Jun 12, 2019
Merged

Fix download entry shown on public share menu when not in mobile#15937
skjnldsv merged 2 commits into
masterfrom
fix-download-entry-shown-on-public-share-menu-when-not-in-mobile

Conversation

@danxuliu

Copy link
Copy Markdown
Member

This fixes a regression introduced in #15199 due to a typo in the variable name.

I have also added messages to assertFalse/assertTrue in the related acceptance tests (as thanks to them is how I found the issue ;-) ) to make the failures more descriptive.

Otherwise the output would just read "Failed asserting that true is
false." or "Failed asserting that false is true.", which is not very
informative when there are several assertFalse/True in a row.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Due to a typo in the variable name the rule was not properly parsed and
applied.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
// hide the download entry on the menu
// on public share when NOT on mobile
@media only screen and (min-width: $mobile_breakpoint + 1) {
@media only screen and (min-width: $breakpoint-mobile + 1) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙈

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙈

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 12, 2019
@skjnldsv

Copy link
Copy Markdown
Member

@skjnldsv
skjnldsv merged commit 452d769 into masterJun 12, 2019
@skjnldsv
skjnldsv deleted the fix-download-entry-shown-on-public-share-menu-when-not-in-mobile branch June 12, 2019 15:42
@nachoparker

nachoparker commented Jun 13, 2019

Copy link
Copy Markdown
Member

I tested the change but must have forgotten to remove the cached css :|

thanks

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugregression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@danxuliu@skjnldsv@nachoparker