Giter Club home page Giter Club logo

content-staging's People

Contributors

andreasonny83 avatar davidnn avatar glajan avatar mattclegg avatar stenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

content-staging's Issues

Select multiple posts using SHIFT

In the Edit Batch view you cannot select a range of posts when selecting a post on the top then selecting a post further down pressing the SHIFT key.

This is because selection is connected to a click event for a checkbox. Make event listen to changes to checked/unchecked instead (with the added benefit of not having a special method for the select all checkbox).

Import batch on Windows

For performance reasons the batch importer is running as a background process on the production environment. This currently only works on unix.

We need to determine what operating system the application is running on (php_uname) and take appropriate action (e.g. popen on Windows). Need to know PHP executable, possibly PHP_BINDIR can be of help. If not, user could be given the possibility to configure the path.

Fallback solution is to use AJAX requests.

Update post meta

Instead of deleting and inserting post meta we should update.

Pre Flight not working, but no information why?

I have attached a screen shot of my preflight check - I have followed the instructions, added the configs to both environments, but it does not seem to be working. Any ideas what could be the issue?

screen-shot-2014-10-12-at-00 25 50

Rename hooks

Better naming of hooks to make it easier for third-party developers.

Remove Batch Updated when navigating between pages

A message Content batch has been updated! is being displayed after you save a batch you've been working on. This message stays when you navigate between lists of pages using the pagination.

This is because the query param &updated is appended to the pagination links.

Would be nice to get rid of the message once user starts to navigate between pages after an update.

Pagination List Posts

When selecting posts to include in batch it would be great if pagination was supported. At the moment you can really just see the last 50 posts that was updated.

Link to page on staging environment in deploy messages

When pre-flighting a post that has a parent post that is not on production and not in the batch you want to return a message from production with links to the missing parent. This is not possible because we don't know the content staging domain when on production.

One option is to include the domain with the batch and have a method for getting a URL using the staging domain.

Re-map _edit_last on production

In wp_postmeta there is a meta_key _edit_last that refers to the last user who was making changes to the post. The ID of that user must be re-mapped to match the production user ID.

Sync parent post if modification date differs

If a post that is being synced has a parent post, then that parent post should be included in the batch as well. We can then compare if the parent post has been modified since last time it was synced. If that is the case a notice should be given to the user informing that the parent post will be synced as well.

Should always include the parent page in batch. Instead of having a post model where parent post is an ID, the actual post should be included.

If not we will just keep adding things to the post object anyway (like GUID, modification date, etc.).

Apply endpoint filter

As a third-party developer
I need to be able to filter the endpoint
So that I can dynamically change it in a multi-site setup depending on the site I'm currently on.

Default Batch Title

Assign a default batch title to batches that has not been given any title.

Sorting List Posts

The list of posts you can include in your batch is sorted in a funny way. Does not look right.

Filter post types in list posts view

Currently all posts of any post type (except for content staging specific post types) is listed in the list posts view when user is creating a batch.

Would be good if you could select post types that should not be included in he post list.

Link to deployed post

I want a link to the published post so I can check that it looks right after deploy.

Stay on current page when saving batch

When you save a batch (on the Edit Batch page) you are moved to the first page in the pagination. It would probably make more sense to stay on the page you are currently on.

Update user meta

Instead of deleting and inserting user meta we should update.

Quick deploy to production not working

It does not work to send a post directly to production after it has been created/updated, getting:

PHP Fatal error:  Call to a member function get_id() on a non-object in /wordpress/wp-content/plugins/content-staging/classes/managers/class-batch-mgr.php on line 74

More info when adding/editing batch

In 'add new' page, I want it to be clear what to do.
More textual descriptions required: ie. "Add Batch title"
"Select Pages to add to Batch"

Select All Posts

When creating editing a batch, it would be good if it was possible to select all posts in the list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.