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

Serve basic pages from content-store #3

Merged
merged 4 commits into from
Nov 18, 2014
Merged

Serve basic pages from content-store #3

merged 4 commits into from
Nov 18, 2014

Conversation

danielroseman
Copy link
Contributor

Get an item from the content store and display it on a page. Views are very basic at this point, and controller just passes the content hash directly to the page.

@@ -1,5 +1,23 @@
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
include Slimmer::Headers
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably best not to include any of the slimmer bits to avoid conflicts as @edds is adding them separately in the work he's doing.

Daniel Roseman added 2 commits November 18, 2014 10:23
Basic functionality to get an item to the content store and display it
on a page. Views are very basic at this point, and controller just
passes the content hash directly to the page.
"public_updated_at": "2012-12-17T15:45:44.000+00:00",
"publishing_app": "whitehall",
"redirects": [],
"rendering_app": "whitehall-frontend",
Copy link
Contributor

Choose a reason for hiding this comment

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

I was expecting this to be government-frontend?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dsingleton Good catch, updated.

Copy link
Contributor

Choose a reason for hiding this comment

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

It should only be government-frontend when the new app is actually rendering the content on GOV.UK. For now, we're pushing case studies into content store with the existing whitehall frontend app as the rendering app. Once we are happy that the frontend app is fully rendering the content, we will switch the rendering app to government-frontend.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted :)

tekin added a commit that referenced this pull request Nov 18, 2014
Serve basic pages from content-store
@tekin tekin merged commit f1e0f0c into master Nov 18, 2014
@tekin tekin deleted the content-store branch November 18, 2014 14:52
@tekin
Copy link
Contributor

tekin commented Nov 18, 2014

👍 👍

karlbaker02 pushed a commit that referenced this pull request Mar 6, 2019
This commit updates the A/B test variant for related links from RelatedLinksABTest2 to RelatedLinksABTest3. This is to support the third iteration of the A/B test which is using a new set of related link data.
karlbaker02 pushed a commit that referenced this pull request Mar 7, 2019
Update related links A/B test variant for test #3
karlbaker02 pushed a commit that referenced this pull request Mar 12, 2019
This commit adds an additional `C` variant for the upcoming related links A/B test iteration #3. In the previous test we saw some users who had the control variant cookie, yet navigated via the related links which are only shown on the `B` variant.

In order to check if there are any problems with our A/B testing framework, in addition to making the data collection easier for later analysis, we are introducing the new `C` variant which will become our test variant. How the variants now work are as follows:

- `A` variant: No users should ever end up in this variant, as our CDN will be configured it to assign 0% of users. If users do end up in this variant, we may have issues with our A/B testing framework which will require further investigation.
- `B` variant: Our control variant, where related links will not be changed in any way.
- `C` variant: Our test variant, where related links will be changed to use our generated links for the sample involved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants