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

Tenant landing pages #1088

Closed
wants to merge 4 commits into from
Closed

Tenant landing pages #1088

wants to merge 4 commits into from

Conversation

simong
Copy link
Contributor

@simong simong commented Nov 19, 2014

Allows the UI to retrieve configurable information to put on the tenant landing pages

Nicolaas Matthijs and others added 2 commits November 19, 2014 11:53
Added a dedicated endpoint for tenant landing pages at
/api/tenant/landing-page. An array of landing page blocks will be returned
@@ -70,6 +70,26 @@ var Context = module.exports.Context = function(tenant, user, authenticationStra
};

/**
* The resolved locale for a user.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remove the dot here per the other blocks?

@nicolaasmatthijs
Copy link
Contributor

Finished review. Back to @simong for follow-up

 * 12 blocks rather than 6
 * Configured 5 default blocks so the default landing page looks prettier
 * `/api/tenant/landingPage` rather than `/api/tenant/landing-page`
 * Alphabetised landing page block rest model
 * Added a test utility to clear a tenant’s landing page
@simong
Copy link
Contributor Author

simong commented Nov 20, 2014

Followed-up with things. Back to @nicolaasmatthijs

@nicolaasmatthijs
Copy link
Contributor

Left some final comments. Back to @simong for follow-up

@simong
Copy link
Contributor Author

simong commented Nov 21, 2014

Pushed more things

* Added a search block
* Cleaned up config section for landing page
* Resolving image/video URLs in hashed paths
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) when pulling b0aaec3 on simong:landing-pages into ab53ef9 on oaeproject:master.

@nicolaasmatthijs
Copy link
Contributor

Looks good. Merged.

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.

None yet

3 participants