57 Commits

Author SHA1 Message Date
Brian Macdonald
6b77aee214 Allow setting config URL with <link> (#1146)
* fix: allows for valid config types expansion

* feat: config url can now come through link tag

* fix: lints added coded

* fix: slims down code per review

* fix: expands query to find supported type

* fix: removes typo in test copy

* fix: changes validTypes to object

* fix: groups config functions into one getConfig func

* adds console message for config url

* adds to docs

* update docs

* fix test

* fix merge conflicts

contributor addition moved to #1241

* avoids empty path with link without href. changes link console message

* removes additional console

* fixes link path in console

* fix: remove superfluous .allcontributorsrc change
2018-04-10 13:48:04 -07:00
Shawn Erquhart
e9153a3841 enable editorial workflow for test backend 2018-04-04 14:35:44 -04:00
Pedro Duarte
49894d9fd9 Add label_singular to collection config (#1086) 2018-02-19 09:00:52 -08:00
Marco Biedermann
dfd1111552 optimize images 2017-12-22 17:21:05 -05:00
Edward Betts
24307e3c3c Correct spelling mistakes. (#898) 2017-12-11 17:16:24 -08:00
Shawn Erquhart
cfbf31b130
WIP - Global UI (#785)
* update top bar and collections sidebar UI

* update collection entries UI

* improve global layout

* merge search page into collection page

* enable new entry button

* search fixup

* wip -initial editor update

* update editor scrolling and markdown toolbar position

* wip

* editor toolbar progress

* editor toolbar wip

* finished basic editor toolbar

* add standalone toggle component

* improve markdown toolbar spacing

* add user avatar placeholder

* finish markdown toggle styling

* refactor icon setup, add new icons

* add new icons to markdown editor toolbar

* remove extra app container

* add markdown active mark style

* relation and text widget styling

* widget design updates, basic list/object design update

* widget style updates, image widget improvements

* refactor widget directory, fix file removal

* widget focus styles

* finish editor widget focus styles

* migrate media library modal to react-modal

* wip - migrate editor component form to modal

* wip - move editor component form to modal

* wip - embed plugin forms in the editor

* inline shortcode forms working

* disable react hot loading, its breaking things

* improve shortcode form styles

* make shortcode form collapsible, improve styling

* add close functionality to shortcode blocks

* improve base media library styling

* fix shortcode label

* migrate unstyled workflow to new UI

* wip - reorganizing everything

* more work moving everything

* finish more moving and eliminating stuff

* restructure, remove react-toolbox

* wip - removing old stuff, more restructure

* finish restructure

* wip - css arch

* switch back to test repo

* update react-datetime to ^2.11.0

* remove leftover react-toolbox button

* more restructuring clean-up

* fix UI component directory case

* wip -css editor control style

* wip - consolidate widget styles

* wip - use a single control renderer

* fixed object values breaking

* wip - editor control active styles

* pass control wrapper to widgets

* ensure branch name is trimmed

* wip - improve widget authoring support

* import Map to Widget component

* refactor toolbar buttons

* wip - more widget active styles

* break out editor toggle component

* add local scroll sync back

* update editor toggle icons

* limit editor control pane content width

* fix editor control spacing

* migrate markdown toolbar stickiness to css

* fix markdown toolbar border radius

* temporarily use test backend

* stop markdown toolbar from going to bottom

* restore disabled markdown toolbar buttons for raw

* test markdown widget without focus styles

* more widget updates

* remove card visuals from editor

* disable dragging editor split off screen

* use editorControl component for shortcode fields

* make header site link configurable

* add configurable collection descriptions

* temporarily add example assets

* add basic list view

* remove outdated css mixins

* add and implement search icon

* activate quick add menu

* visualize usable space in editor view

* fix entry close, other improvements

* wip - editorial workflow updates

* some dropshadow and other CSS tweaks

* workflow ui updates

* add worfklow card buttons

* fix workflow card button handlers

* some dropshadow and other CSS tweaks

* make workflow board wider

* center workflow and collection views

* add basic responsiveness

* a bunch of fun UI fixes! a BUNCH! (#875)

* give `.nc-entryEditor-toolbar-mainSection` left and right child divs

* a bunch of fun UI fixes! a BUNCH!

* remove obscure --buttonShadow

* revert to test repo

* fix not found page styling

* allow workflow publishing from any column

* disallow publishing from all columns, with feedback

* fix new entry button

* fix markdown state persisting across entries

* enable simple workflow save and new from editor

* update slug in address bar when saving new entry

* wip - workflow updates, deletion working

* add status change functionality to editor

* wip - improving status change from editor

* editor toolbar back button improvements, loading improvements, cleanup

* progress on the media library UI cleanup

* remove font smothing css

* a quick fix for these buttons

* tweaks

* progress on media library modal— broken FYI

* fix media library functionality, finish migrating footer

* remove media library footer files

* remove leftover css import

* fix media library

* editor publishing functionality complete (unstyled)

* remove leftover loader var from media library

* wip - editor publishing styles

* add status dropdown styling

* editor toolbar style updates

* editor toolbar state improvements

* progress on the media library UI cleanup, style improvements

* finish editorial workflow editor styling

* finish media library styling

* fix config

* add what-input to optimize focus styling

* fix button

* fix navigation blocking for simple workflow

* improve simple workflow publishing

* add avatar dropdown to editor top bar

* style github and test-repo auth pages

* add git gateway auth page styles

* improve editor error styling
2017-12-07 12:37:10 -05:00
Shawn Erquhart
bb83444d5b move example back to test-repo 2017-11-08 16:25:28 -05:00
Shawn Erquhart
6b45a46a39 add media library
* rebase editorial workflow pull requests when behind

* fix async/await transpilation

* add media library pagination

* switch media library to grid layout

* ensure that only cms branches can be force updated
2017-11-08 15:00:28 -05:00
Richard Pullinger
a14f25355e Add delete flag in configuration (#707)
Adds a `delete` flag to collections in `config.yml`; fixes
#593. Defaults to false. This is mostly for use with files to restrict
users from deleting settings files etc that available via the CMS.
2017-10-30 13:07:54 -07:00
Shawn Erquhart
77e5d616d0 remove superfluous "delay" prop from example config 2017-10-26 15:05:12 -04:00
Shawn Erquhart
6af9a3155c add example of custom relation widget with custom preview 2017-07-10 15:05:08 -04:00
Shawn Erquhart
66a683bef1 hide hidden widget in object and list controls 2017-06-28 16:12:35 -04:00
Shawn Erquhart
4a7eabd7f9 fix kitchen sink content, add boolean defaults 2017-06-09 15:25:47 -04:00
Shawn Erquhart
195f822739 add kitchen sink entry to example project 2017-06-07 23:23:09 -04:00
Shawn Erquhart
a6ce057a42 remove filter/language from example 2017-06-01 15:47:56 -04:00
Luis Correia
544cb786ee #407 Add collection filtering by field and value 2017-05-25 15:34:57 -07:00
Jerry Holmes
982d1db25d Removed test line 2017-05-17 08:55:19 -07:00
Jerry Holmes
635d218b01 Shorted up code, removed antipattern test items from local storage. 2017-05-17 08:55:19 -07:00
Jerry Holmes
31a610e22e Tests left over field value for null 2017-05-17 08:55:19 -07:00
Benaiah Mischenko
c9b5fb446e Merge pull request #416 from PageDragonDev/master
#415: Images do not show up in cards where space in filename
2017-05-11 14:01:18 -07:00
Irene Morente
1bef9939c3 Remove deprecated setting from example config.yml
The `card` setting in the example config.yml was used in the first iteration of the card UI.
The code was later changed to infer the fields that appear in the card, instead of having to configure them (see commit 2a2497072dd2c538735a92a1f6e93de6af7c796d).
The old card settings, however, were left in the example configuration file, which leads to confusion.
2017-05-11 08:43:35 -07:00
Jerry Holmes
f7c2dec8e8 normalizePath handles spaces for use in resolvePath 2017-05-10 22:13:03 -04:00
Shawn Erquhart
9ff4e25736 move editor components to dropdown menu 2017-04-24 17:52:06 -04:00
Shawn Erquhart
17b40b58ea fix frontmatter stringification for date fields
Switches back to custom frontmatter stringification
until support lands in preliminaries. This is necessary
because we use custom schemas for certain data types,
such as dates and times.
2017-04-21 10:34:33 -07:00
Joseph Earl
265146e2d1 Fixes #278 filter files by extension 2017-04-18 22:59:30 +01:00
Joseph Earl
881c0b0958 Fixes #113 Add ability to disable editor preview for a collection 2017-04-14 13:26:09 +01:00
Joseph Earl
a2e8602fdd Add multi-format frontmatter parser 2017-04-08 23:32:39 +01:00
Shawn Erquhart
570712c0de #315 fix example optional field 2017-03-29 15:12:28 -04:00
Shawn Erquhart
e48221a04f add shared widget getter for widgetFor and widgetsFor 2017-03-06 15:22:40 -05:00
Shawn Erquhart
9bc80ed5e4 add object support to widgetsFor 2017-03-06 13:30:40 -05:00
Shawn Erquhart
9dca9f912a add widgetsFor helper
This allows individual widgets to be accessed
from preview templates that handle lists
2017-03-06 12:28:40 -05:00
Cássio Souza
a4d7622ade Asset API (#204)
Asset API
2017-01-10 22:23:22 -02:00
Mathias Biilmann Christensen
6af6cceb2a Add an example list to the first post in the example 2016-12-27 23:08:23 -08:00
Mathias Biilmann Christensen
c23b2fb531 Make list widget sortable 2016-10-30 16:01:10 -07:00
Mathias Biilmann Christensen
86e3aed065 Better styling for object controls 2016-10-28 10:21:13 +02:00
Mathias Biilmann Christensen
6b73c39ba8 Support for object widget 2016-10-28 04:51:37 +02:00
Mathias Biilmann Christensen
80a2cefbf0 Add json format support 2016-10-27 15:33:15 +02:00
Mathias Biilmann Christensen
f40b75e2e3 Implement drag and drup upload support for simple markdown editor 2016-10-21 23:16:19 -07:00
Cássio Souza
2496ec09a4 Single file collections (#132)
* Files based collections skeleton

* listing file based cards

* create new entry with collection

* moved lookupEntry to main backend

* Editing single page Collections file

* List widget basic implementation

* Adjustments for test-repo

* check if value exists before trying to iterate over
2016-10-21 20:42:14 -02:00
Mathias Biilmann Christensen
9ced3f16c8 Add a custom template to the example 2016-09-12 15:27:45 +02:00
Cássio Zen
a1c01323e0 branch commiting skeleton 2016-08-29 19:32:56 -03:00
Cássio Zen
6eec0feb72 Small refactor preparing for branch creating/editing. Also closes #58 2016-08-29 17:09:04 -03:00
Cássio Zen
b4f3a38bd5 Preview using MarkupIt 2016-08-18 17:26:01 -03:00
Cássio Zen
95fdba9953 plugin fields have with distinct name and label 2016-08-18 15:30:28 -03:00
Cássio Zen
e52ccc0dbc Editor plugin architecture skeleton 2016-08-18 15:13:22 -03:00
Cássio Zen
6f0f13ad40 refine font import 2016-07-19 17:10:07 -03:00
Cássio Zen
8fdb46f085 extracting css file 2016-07-18 15:07:45 -03:00
Cássio Zen
893533961f refinments on alltype card 2016-07-13 11:37:00 -03:00
Cássio Zen
ec85b95ef9 css refinments 2016-07-12 18:10:26 -03:00
Cássio Zen
ea9923e0c8 content Cards refactor 2016-07-12 17:04:21 -03:00