FireAdmin icon indicating copy to clipboard operation
FireAdmin copied to clipboard

automation/workflow for publishing posts

Open rajesh99 opened this issue 5 years ago • 4 comments

Is there any plan to do automation/workflow for publishing the post. A simple use case is getting the approval from 1-2 people and then do the publishing.

rajesh99 avatar Nov 02 '20 13:11 rajesh99

There is no plan yet for that but it seems like a good suggestion, so why not on the next versions.

Edit: it would be great if you could help on implementing this :pray: :wink: (since i'm working on many projects & i don't know when i'm going to be free enough to work on this one)

AXeL-dev avatar Nov 02 '20 14:11 AXeL-dev

ok.

What will be the process?

On Mon, Nov 2, 2020 at 7:52 PM AXeL [email protected] wrote:

There is no plan yet for that but it seems like a good suggestion, so why not on the next versions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FirebaseGoodies/FireAdmin/issues/11#issuecomment-720501291, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMX2DBM53UMK6YD6YGBSWDSN26A3ANCNFSM4THPZEPA .

-- Rajesh www.servicefolder.com Field Service Software on Google Cloud Platform and Mobile

rajesh99 avatar Nov 02 '20 14:11 rajesh99

ok. What will be the process?

As you suggested above: "A simple use case is getting the approval from 1-2 people and then do the publishing.", so maybe:

  • add an approvals field to the post model which will contain approvals?
  • then replace the publish checkbox on posts list with approve, & store user id in approvals field each time a user approves a post.
  • finally, each time we add an approval, we check if we reached the number of required approvals & if so we publish the post.

suggestion: display the number of remaining approvals near each post?

But honestly i don't really see how the approvals could be useful, i think that it should be something more like publish at X time or X day :thinking:

AXeL-dev avatar Nov 02 '20 17:11 AXeL-dev

On Mon, Nov 2, 2020 at 11:17 PM AXeL [email protected] wrote:

ok. What will be the process?

As you suggested above: "A simple use case is getting the approval from 1-2 people and then do the publishing.", so maybe:

  • add an approvals field to the post model which will contain approvals?
  • then replace the publish checkbox on posts list with approve, & store user id in approvals field each time a user approves a post.

But honestly i don't really see how the approvals could be useful, i think that it should be something more like publish at X time or X day 🤔

oh ok.

+1 - for publishing at X time and day.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FirebaseGoodies/FireAdmin/issues/11#issuecomment-720625311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMX2DA7ENDC3FYHBGTAVSTSN3WERANCNFSM4THPZEPA .

-- Rajesh www.servicefolder.com Field Service Software on Google Cloud Platform and Mobile

rajesh99 avatar Nov 03 '20 02:11 rajesh99