Codeinwp / templates-patterns-collection

21 stars 6 forks source link

Improve user flows for Template CRUD features #78

Closed mghenciu closed 1 year ago

mghenciu commented 3 years ago

Description:

A few suggestions regarding the CRUD features for templates in TPC: @HardeepAsrani

Gutenberg:

Elementor & Beaver Builder

For all Builders

P.S. fell free to convert to-do items in separate issues, I added them all here as suggestions, so take it with a grain of salt.

Alternatives:

selul commented 3 years ago

@HardeepAsrani can you look into this?

HardeepAsrani commented 3 years ago

@mghenciu I've fixed the first issue (need to commit but the laptop is being repaired, so will commit in 3 days).

For the publish/bulk publish, the issue comes that we can't get the page-builder-specific data from the dashboard without having the page open, especially with Elementor in which we get the data using JavaScript functions available in its API, so not sure if it only works with certain page builders. What do you think?

mghenciu commented 3 years ago

@mghenciu I've fixed the first issue (need to commit but the laptop is being repaired, so will commit in 3 days).

For the publish/bulk publish, the issue comes that we can't get the page-builder-specific data from the dashboard without having the page open, especially with Elementor in which we get the data using JavaScript functions available in its API, so not sure if it only works with certain page builders. What do you think?

Thanks for the update, @HardeepAsrani . I understand the technical limitations. What do you think if we at least add a Clone/Duplicate page button in the page editor? here for example Screenshot 2021-09-02 at 08 56 40

which will create a Duplicate of the same page, with the same settings, and increment the name.

The pain point I was trying to address with bulk/dashboard publish, is having to repeat the same configuration steps each time. For example we have 10 Home generic pages, and for each of them I had to repeat the same process of Create new page, add page settings, open it in editor, publish to cloud. Which is not very efficient at a large scale. Of course, probably most agencies have a Duplicate Page plugin, but this was the idea behind.

HardeepAsrani commented 3 years ago

What do you think if we at least add a Clone/Duplicate page button in the page editor?

@mghenciu We do have a route to duplicate templates but that is made only if someone wants to duplicate an existing template, which won't duplicate the page itself as that will be a long process that not many will use as not everyone will be storing everything to the cloud.

The easiest way is just to use a Duplicate Page plugin and save it back to the cloud after one has made the changes they want.