Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial workflow dependency tracking #243

Closed

Commits on Mar 11, 2017

  1. Set and persist entry dependencies

    - New actions, `UNPUBLISHED_ENTRY_REGISTER_DEPENDENCY` and
      `UNPUBLISHED_ENTRY_UNREGISTER_DEPENDENCY`, in
      `src/actions/editorialWorkflow.js`, with exported action creators.
    
    - New reducers case in `src/reducers/entryDraft.js`
      for (un)registering dependencies to the current `entryDraft.entry`.
    
    - `persistEntry` in `src/backends/backend.js` pulls dependency data
      out of `entryDraft` and saves it to metadata.
    
    - New widget control props, `onAddDependency` and `onRemoveDependency`
      passed down to widget controls from `EntryPageHOC`. These call
      `(un)registerUnpublishedEntryDependency`.
    
    - `RelationControl` calls `onAddDependency` when selecting a suggestion.
    Benaiah committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    c86ab0e View commit details
    Browse the repository at this point in the history
  2. Dependency resolution

    - New action constants in `src/actions/editorialWorkflow.js` -
      `UNPUBLISHED_ENTRY_DEPENDENCIES_REQUEST`,
      `UNPUBLISHED_ENTRY_DEPENDENCIES_SUCCESS`, and
      `UNPUBLISHED_ENTRY_DEPENDENCIES_FAILURE`, with exported thunk action
      creators.
    
    - `loadUnpublishedEntry` returns its promise so it can be used to load
      dependencies.
    
    - Add new thunk action `getUnpublishedEntryDependencies` to resolve
      the dependencies of a given entry.
    Benaiah committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    cc22e46 View commit details
    Browse the repository at this point in the history
  3. Publish multiple unpublished entries in a single action

    - New action constants in `src/editorialWorkflow.js` -
      `UNPUBLISHED_ENTRIES_PUBLISH_REQUEST`,
      `UNPUBLISHED_ENTRIES_PUBLISH_SUCCESS`, and
      `UNPUBLISHED_ENTRIES_PUBLISH_FAILURE`, with exported thunk action
      creators.
    
    - New backend and GitHub API function `publishUnpublishedEntries`.
    
    - New reducer case in `src/reducers/editorialWorkflow.js` which
      updates editorialWorkflow state when publishing multiple entries.
    Benaiah committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    a732ed9 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Configuration menu
    Copy the full SHA
    f74b719 View commit details
    Browse the repository at this point in the history