Find file History
allouis 💡Removed Public API checkbox by default (#1096)
refs #10364

When the publicAPI flag is undefined, it means it has never been set in
Ghost Admin before - so we can safely remove the option from labs.
Latest commit c6d2bab Jan 15, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
adapters Added initial custom integrations UI (#1051) Oct 17, 2018
authenticators Use Admin API v2 with session auth (#1046) Oct 5, 2018
components 🎨 Removed auto hide/show navigation toggle (#1094) Jan 10, 2019
controllers Fixed missing invite role name on team screen Jan 14, 2019
helpers Added edit webhook modal (#1056) Oct 19, 2018
initializers Bumped dependencies (Fixed production build) (#1091) Jan 8, 2019
mixins Added initial custom integrations UI (#1051) Oct 17, 2018
models Fixed missing invite role name on team screen Jan 14, 2019
routes 🐛 Fixed infinite scroll on the team screen (#1095) Jan 14, 2019
serializers Fixed missing invite role name on team screen Jan 14, 2019
services 🎨 Removed auto hide/show navigation toggle (#1094) Jan 10, 2019
session-stores Use Admin API v2 with session auth (#1046) Oct 5, 2018
styles Fixed thicker top border of active users list Jan 14, 2019
templates 💡Removed Public API checkbox by default (#1096) Jan 15, 2019
transforms Handle empty array of slack setting objects Jul 2, 2018
transitions Fixed autofocus not working on modal inputs Jun 4, 2018
utils Use Admin API v2 with session auth (#1046) Oct 5, 2018
validators 🐛 Fixed ability to submit invite form with a missing role (#1080) Dec 10, 2018
README.md Convert Sass to Myth May 22, 2015
app.js Remove more `import Ember` via module imports May 3, 2018
index.html 🤡 Serve own admin favicon (#619) Apr 6, 2017
resolver.js deps: ember-cli@2.3.0 Feb 16, 2016
router.js Added edit webhook modal (#1056) Oct 19, 2018
transitions.js Unsplash integration Aug 15, 2017

README.md

Ghost Admin Client

Ember.js application used as a client-side admin for the Ghost blogging platform. This readme is a work in progress guide aimed at explaining the specific nuances of the Ghost Ember app to contributors whose main focus is on this side of things.

CSS

We use pure CSS, which is pre-processed for backwards compatibility by Myth. We do not follow any strict CSS framework, however our general style is pretty similar to BEM.

Styles are primarily broken up into 4 main categories:

  • Patterns - are base level visual styles for HTML elements (eg. Buttons)
  • Components - are groups of patterns used to create a UI component (eg. Modals)
  • Layouts - are groups of components used to create application screens (eg. Settings)

All of these separate files are subsequently imported and compiled in app.css.

Front End Standards

  • 4 spaces for HTML & CSS indentation. Never tabs.
  • Double quotes only, never single quotes.
  • Use tags and elements appropriate for an HTML5 doctype (including self-closing tags)
  • Adhere to the Recess CSS property order.
  • Always a space after a property's colon (.e.g, display: block; and not display:block;).
  • End all lines with a semi-colon.
  • For multiple, comma-separated selectors, place each selector on its own line.
  • Use js- prefixed classes for JavaScript hooks into the DOM, and never use these in CSS as per Slightly Obtrusive JavaSript
  • Avoid over-nesting CSS. Never nest more than 3 levels deep.
  • Use comments to explain "why" not "what" (Good: This requires a z-index in order to appear above mobile navigation. Bad: This is a thing which is always on top!)