0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/frontend/helpers
Hannah Wolfe 409dc3b534
Added frontend key to ghost_head for portal (#14782)
refs: https://github.com/TryGhost/Team/issues/1599
refs: f3d5d9cf6b

- this commit adds the concept of a frontend data service, intended for passing data to the frontend from the server in a clean way. This is the start of a new & improved pattern, to hopefully reduce coupling
- the newly added internal frontend key is then exposed through this pattern so that the frontend can make use of it
- the first use case is so that portal can use it to talk to the content API instead of having weird endpoints for portal
- this key will also be used by other internal scripts in future, it's public and therefore safe to expose, but it's meant for internal use only and therefore is not exposed in a generic way e.g. as a helper
2022-05-11 17:34:31 +01:00
..
test_tpl Updated content cta helper to use new tiers helper 2022-03-04 18:22:59 +05:30
asset.test.js 🐛 Fixed broken assets for theme/design preview 2021-11-03 11:20:04 +01:00
authors.test.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
body_class.test.js Cleaned up weird refs to versions in tests 2022-01-21 15:10:03 +00:00
cancel_link.test.js
concat.test.js
content.test.js
date.test.js Added timezone and locale to the options of the date helper (#13892) 2022-01-19 14:43:53 +00:00
encode.test.js
excerpt.test.js
facebook_url.test.js
foreach.test.js
get.test.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
ghost_foot.test.js
ghost_head.test.js Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +01:00
has.test.js
img_url.test.js
is.test.js
lang.test.js
link.test.js
link_class.test.js
match.test.js Added >, <, >=, and <= operators to match helper (#14215) 2022-03-03 15:43:47 +01:00
meta_description.test.js
meta_title.test.js
navigation.test.js
next_post.test.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
page_url.test.js
pagination.test.js
plural.test.js
post_class.test.js
prev_post.test.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
price.test.js
raw.test.js
reading_time.test.js
t.test.js Moved locale testing out of casper fixture (#13850) 2021-12-06 15:11:54 +00:00
tags.test.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
tiers.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
title.test.js
twitter_url.test.js
url.test.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00