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

Add preview skip_to_first_child page message #3168

Merged
merged 5 commits into from
May 17, 2016
Merged

Add preview skip_to_first_child page message #3168

merged 5 commits into from
May 17, 2016

Conversation

bricesanchez
Copy link
Member

No description provided.

@@ -40,6 +40,8 @@ en:
view_live_html: View this page live <br/><em>(opens in a new window)</em>
hidden: hidden
draft: draft
preview:
skip_to_first_child: "The page %{what} use the option \"Skip to first child\" and will never be displayed to guest users."
Copy link
Member

Choose a reason for hiding this comment

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

uses not use here
guest users should be visitors

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed and will be push.

@bricesanchez bricesanchez changed the title Add preview skip_to_first_child flash notice Add preview skip_to_first_child page message May 4, 2016
@bricesanchez
Copy link
Member Author

bricesanchez commented May 5, 2016

Ready to be reviewed (with tests)

@parndt
Copy link
Member

parndt commented May 5, 2016

Thanks! I know this might be annoying, but can you add a test (here: https://github.com/refinery/refinerycms/blob/master/pages/spec/features/refinery/pages_spec.rb#L320-L338) for when you visit the page normally (as a visitor) to make sure that we don't see the message (i.e. that the page that's redirected to doesn't somehow display it?)

Mainly to protect against regressions.

@bricesanchez
Copy link
Member Author

No problem, it's done.

@bricesanchez
Copy link
Member Author

I don't understand, none of my tests fails on local, is there a problem with the Travis config ?

@parndt
Copy link
Member

parndt commented May 5, 2016

Very rarely is Travis the problem.. I'll look at it in a few hours

@bricesanchez bricesanchez force-pushed the feature/2707 branch 2 times, most recently from 85f9258 to 885057b Compare May 11, 2016 13:48
@parndt
Copy link
Member

parndt commented May 17, 2016

The problem was Bundler versions 1.12.0 through 1.12.3. Fixed in 1.12.4

@parndt parndt merged commit 2cf6f98 into master May 17, 2016
@parndt parndt deleted the feature/2707 branch May 17, 2016 07:24
@bricesanchez
Copy link
Member Author

bricesanchez commented May 17, 2016

Thanks @parndt for finding the solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants