Ghost/ghost/admin/public/assets/icons/post.svg
Kevin Ansfield 2a77c0fe51 Added default and custom post views (filters) to the admin sidebar (#1474)
no issue

- list custom post views in collapsable sidebar navigation
  - default views: Draft, Scheduled, Published (except for contributors)
  - record expanded/collapsed state of the navigation menus in user settings via new `navigation` service
- adds `customViews` service that manages custom views
  - provides list of default views
  - gives access to "active" custom view based on current route and query params
  - manages loading/saving of custom views to user settings
- show "Add view" button in the content filter when the posts list has been filtered
- show "Edit view" button in the content filter when the posts list filter matches a saved view

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2020-01-30 15:35:36 +00:00

1 line
1.0 KiB
XML

<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>post</title><g fill="#000" fill-rule="nonzero"><path d="M14.5-.002h-12C1.086-.002.25.834.25 2.248v19.5c0 1.414.836 2.25 2.25 2.25h15c1.414 0 2.25-.836 2.25-2.25V5.131c0-.624-.233-1.175-.68-1.611L16.068.634c-.427-.417-.964-.636-1.567-.636zm-12 1.5h12c.21 0 .372.066.523.213l3.004 2.887c.154.15.223.314.223.533v16.617c0 .586-.164.75-.75.75h-15c-.586 0-.75-.164-.75-.75v-19.5c0-.586.164-.75.75-.75z"/><path d="M15 17.55c.414 0 .75.336.75.75 0 .38-.282.693-.648.743L15 19.05H4.75c-.414 0-.75-.336-.75-.75 0-.38.282-.693.648-.743l.102-.007H15zM15 13.55c.414 0 .75.336.75.75 0 .38-.282.693-.648.743L15 15.05H4.75c-.414 0-.75-.336-.75-.75 0-.38.282-.693.648-.743l.102-.007H15zM15 9.55c.414 0 .75.336.75.75 0 .38-.282.693-.648.743L15 11.05H4.75c-.414 0-.75-.336-.75-.75 0-.38.282-.693.648-.743l.102-.007H15zM15 5.55c.414 0 .75.336.75.75 0 .38-.282.693-.648.743L15 7.05H4.75c-.414 0-.75-.336-.75-.75 0-.38.282-.693.648-.743l.102-.007H15z"/></g></svg>