Ghost/ghost/admin/app
Daniël van der Winden f864bde459
Publish flow Close button improvements (#20779)
fixes
https://linear.app/tryghost/issue/DES-682/close-button-improvements

Small updates to the modal in the new Publish flow. Improved margins and
opacity for legibility.
2024-08-19 12:59:10 +00:00
..
adapters Fixed infinite save loop due to missing post_revisions include on saves (#18597) 2023-10-12 19:16:45 +00:00
authenticators
components Revert "Fixed draft posts not autosaving without title (#20774)" (#20776) 2024-08-19 10:19:53 +00:00
controllers Revert "Fixed draft posts not autosaving without title (#20774)" (#20776) 2024-08-19 10:19:53 +00:00
decorators
errors
helpers 🎨 Added 'Changed email address' event to Member Activity (#20493) 2024-07-01 15:33:33 +00:00
initializers
instance-initializers
mixins Added collections CRUD UI 2023-05-23 17:26:47 +07:00
models Revert "Fixed draft posts not autosaving without title (#20774)" (#20776) 2024-08-19 10:19:53 +00:00
modifiers Fixed onboarding checklist video logo autoplay (#19967) 2024-04-02 13:55:22 +01:00
routes Fixed matching ignored errors 2024-08-07 12:39:57 +02:00
serializers Added custom excerpt to post revisions (#20323) 2024-06-05 14:47:33 +01:00
services Improved publishing flow end screen (#20701) 2024-08-15 18:22:32 +08:00
session-stores
styles Publish flow Close button improvements (#20779) 2024-08-19 12:59:10 +00:00
templates Revert "Fixed draft posts not autosaving without title (#20774)" (#20776) 2024-08-19 10:19:53 +00:00
transforms
transitions
utils Improved performance loading posts & pages in admin (#20646) 2024-07-29 16:19:28 +00:00
validators Excerpt form error fix (#20730) 2024-08-12 09:35:21 +00:00
app.js
index.html
README.md Fixed typos (#18648) 2023-10-31 15:21:44 +00:00
router.js Cleaned up websockets experiment (#20547) 2024-07-04 16:08:06 +00:00
transitions.js

Ghost Admin App

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 JavaScript
  • 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!)